esp32: fix typos in rom/uart.h
This commit is contained in:
parent
c9a873c034
commit
5fb3d59a92
1 changed files with 3 additions and 3 deletions
|
@ -36,7 +36,7 @@ extern "C" {
|
||||||
#define RX_BUFF_SIZE 0x100
|
#define RX_BUFF_SIZE 0x100
|
||||||
#define TX_BUFF_SIZE 100
|
#define TX_BUFF_SIZE 100
|
||||||
|
|
||||||
//uart int enalbe register ctrl bits
|
//uart int enable register ctrl bits
|
||||||
#define UART_RCV_INTEN BIT0
|
#define UART_RCV_INTEN BIT0
|
||||||
#define UART_TRX_INTEN BIT1
|
#define UART_TRX_INTEN BIT1
|
||||||
#define UART_LINE_STATUS_INTEN BIT2
|
#define UART_LINE_STATUS_INTEN BIT2
|
||||||
|
@ -301,14 +301,14 @@ char uart_rx_one_char_block(void);
|
||||||
*
|
*
|
||||||
* @param uint8_t *pString : the pointer to store the string.
|
* @param uint8_t *pString : the pointer to store the string.
|
||||||
*
|
*
|
||||||
* @param uint8_t MaxStrlen : the max string length, incude '\0'.
|
* @param uint8_t MaxStrlen : the max string length, include '\0'.
|
||||||
*
|
*
|
||||||
* @return OK.
|
* @return OK.
|
||||||
*/
|
*/
|
||||||
STATUS UartRxString(uint8_t *pString, uint8_t MaxStrlen);
|
STATUS UartRxString(uint8_t *pString, uint8_t MaxStrlen);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Process uart recevied information in the interrupt handler.
|
* @brief Process uart received information in the interrupt handler.
|
||||||
* Please do not call this function in SDK.
|
* Please do not call this function in SDK.
|
||||||
*
|
*
|
||||||
* @param void *para : the message receive buffer.
|
* @param void *para : the message receive buffer.
|
||||||
|
|
Loading…
Reference in a new issue