|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include <stdint.h>#include "td_type.h"#include "platform_core.h"#include "std_def.h"#include "debug_print.h"#include "errcode.h"

宏定义 | |
| #define | UART_CLOCK_FRQ 24000000 |
| #define | UART_L_BAUDRATE 115200UL |
| #define | UART_BUS_MAX_NUM UART_BUS_MAX_NUMBER |
| #define | UART_SHADOW YES |
| #define | UART_DLF_SIZE 6 |
| #define | UART_FIFO_ENABLED YES |
函数 | |
| void | uart_port_register_hal_funcs (uart_bus_t bus) |
| Register hal funcs objects into hal_uart module. | |
| uintptr_t | uart_porting_base_addr_get (uart_bus_t bus) |
| uint32_t | uart_port_get_clock_value (uart_bus_t bus) |
| Get the bus clock of specified uart. | |
| void | uart_port_set_clock_value (uart_bus_t bus, uint32_t clock) |
| set the bus clock of specified uart. | |
| void | uart_port_config_pinmux (uart_bus_t bus) |
| Config the pinmux of the uarts above. | |
| void | uart_port_register_irq (uart_bus_t bus) |
| Register the interrupt of uarts. | |
| void | uart_port_unregister_irq (uart_bus_t bus) |
| unRegister the interrupt of uarts. | |
| void | irq_uart0_handler (void) |
| Handler of UART0 IRQ. | |
| void | irq_uart1_handler (void) |
| Handler of UART1 IRQ. | |
| void | irq_uart2_handler (void) |
| Handler of UART2 IRQ. | |
| void | irq_uart3_handler (void) |
| Handler of UART3 IRQ. | |
| uint8_t | uart_port_get_dma_trans_dest_handshaking (uart_bus_t bus) |
| Get the DMA destination handshaking select of uart transfer. | |
| uint8_t | uart_port_get_dma_trans_src_handshaking (uart_bus_t bus) |
| Get the DMA source handshaking select of uart transfer. | |
| void | hal_uart_clear_pending (uart_bus_t uart) |
| void | uart_port_set_pending_irq (uart_bus_t uart) |
| Force trigger uart interrupt. | |
| uint32_t | uart_porting_lock (uart_bus_t bus) |
| uart lock. | |
| void | uart_porting_unlock (uart_bus_t bus, uint32_t irq_sts) |
| uart unlock. | |
| void | log_uart_port_init (void) |
| hso uart init | |
| void | at_uart_init (void) |
| uint32_t | at_uart_get_rcv_cnt (void) |
| void | log_uart_port_write (const uint8_t *buffer, uint32_t length) |
| errcode_t | uart_port_save_bus_id (int32_t dbg_uart_bus, int32_t at_uart_bus, int32_t hso_uart_bus) |
| void | sw_debug_uart_reinit (uint32_t baud_rate) |
变量 | |
| const uintptr_t | g_uart_base_addrs [UART_BUS_MAX_NUMBER] |
| Base address list for all of the IPs. | |