Knight Rider PIO sample for teckBASIC, konashi.js
Dependencies: BLE_API_Native_IRC mbed
Fork of BLE_konashi_PIO_test by
app_uart.h File Reference
Go to the source code of this file.
Data Structures | |
struct | app_uart_comm_params_t |
UART communication structure holding configuration settings for the peripheral. More... | |
struct | app_uart_buffers_t |
UART buffer for transmitting/receiving data. More... | |
struct | app_uart_evt_t |
Struct containing events from the UART module. More... | |
Typedefs | |
typedef void(* | app_uart_event_handler_t )(app_uart_evt_t *p_app_uart_event) |
Function for handling app_uart event callback. | |
Enumerations | |
enum | app_uart_flow_control_t { APP_UART_FLOW_CONTROL_DISABLED, APP_UART_FLOW_CONTROL_ENABLED, APP_UART_FLOW_CONTROL_LOW_POWER } |
UART Flow Control modes for the peripheral. More... | |
enum | app_uart_connection_state_t { APP_UART_DISCONNECTED, APP_UART_CONNECTED } |
Enumeration describing current state of the UART. More... | |
enum | app_uart_evt_type_t { APP_UART_DATA_READY, APP_UART_FIFO_ERROR, APP_UART_COMMUNICATION_ERROR, APP_UART_TX_EMPTY, APP_UART_DATA } |
Enumeration which defines events used by the UART module upon data reception or error. More... | |
Functions | |
uint32_t | app_uart_init (const app_uart_comm_params_t *p_comm_params, app_uart_buffers_t *p_buffers, app_uart_event_handler_t error_handler, app_irq_priority_t irq_priority, uint16_t *p_uart_uid) |
Function for initializing the UART module. | |
uint32_t | app_uart_get (uint8_t *p_byte) |
Function for getting a byte from the UART. | |
uint32_t | app_uart_put (uint8_t byte) |
Function for putting a byte on the UART. | |
uint32_t | app_uart_get_connection_state (app_uart_connection_state_t *p_connection_state) |
Function for getting the current state of the UART. | |
uint32_t | app_uart_flush (void) |
Function for flushing the RX and TX buffers (Only valid if FIFO is used). | |
uint32_t | app_uart_close (uint16_t app_uart_id) |
Function for closing the UART module. |
Detailed Description
Definition in file app_uart.h.
Generated on Tue Jul 12 2022 16:55:07 by 1.7.2