serial_port_uart.h
Go to the documentation of this file.
1 /*
2  * Copyright 2018 NXP
3  * All rights reserved.
4  *
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef __SERIAL_PORT_UART_H__
10 #define __SERIAL_PORT_UART_H__
11 
12 #include "uart.h"
13 
19 /*******************************************************************************
20  * Definitions
21  ******************************************************************************/
23 #if (defined(SERIAL_MANAGER_NON_BLOCKING_MODE) && (SERIAL_MANAGER_NON_BLOCKING_MODE > 0U))
24 #define SERIAL_PORT_UART_HANDLE_SIZE (76U + HAL_UART_HANDLE_SIZE)
25 #else
26 #define SERIAL_PORT_UART_HANDLE_SIZE (HAL_UART_HANDLE_SIZE)
27 #endif
28 
31 {
36 
39 {
43 
46 {
47  uint32_t clockRate;
48  uint32_t baudRate;
51  uint8_t instance;
53  uint8_t enableRx;
54  uint8_t enableTx;
57 #endif /* __SERIAL_PORT_UART_H__ */
serial_port_uart_config_t
struct _serial_port_uart_config serial_port_uart_config_t
serial port uart config struct
kSerialManager_UartParityOdd
@ kSerialManager_UartParityOdd
Definition: serial_port_uart.h:34
_serial_port_uart_config::stopBitCount
serial_port_uart_stop_bit_count_t stopBitCount
Definition: serial_port_uart.h:50
kSerialManager_UartOneStopBit
@ kSerialManager_UartOneStopBit
Definition: serial_port_uart.h:40
_serial_port_uart_config::baudRate
uint32_t baudRate
Definition: serial_port_uart.h:48
_serial_port_uart_config::enableRx
uint8_t enableRx
Definition: serial_port_uart.h:53
_serial_port_uart_parity_mode
_serial_port_uart_parity_mode
serial port uart parity mode
Definition: serial_port_uart.h:30
_serial_port_uart_config::enableTx
uint8_t enableTx
Definition: serial_port_uart.h:54
kSerialManager_UartParityDisabled
@ kSerialManager_UartParityDisabled
Definition: serial_port_uart.h:32
uart.h
serial_port_uart_parity_mode_t
enum _serial_port_uart_parity_mode serial_port_uart_parity_mode_t
serial port uart parity mode
_serial_port_uart_config
serial port uart config struct
Definition: serial_port_uart.h:45
_serial_port_uart_config::parityMode
serial_port_uart_parity_mode_t parityMode
Definition: serial_port_uart.h:49
_serial_port_uart_stop_bit_count
_serial_port_uart_stop_bit_count
serial port uart stop bit count
Definition: serial_port_uart.h:38
kSerialManager_UartTwoStopBit
@ kSerialManager_UartTwoStopBit
Definition: serial_port_uart.h:41
_serial_port_uart_config::instance
uint8_t instance
Definition: serial_port_uart.h:51
_serial_port_uart_config::clockRate
uint32_t clockRate
Definition: serial_port_uart.h:47
kSerialManager_UartParityEven
@ kSerialManager_UartParityEven
Definition: serial_port_uart.h:33
serial_port_uart_stop_bit_count_t
enum _serial_port_uart_stop_bit_count serial_port_uart_stop_bit_count_t
serial port uart stop bit count


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:50