USART Serial configuration.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "serial.h"
Macros | |
#define | NCP_RESET_GPIO PIN_PC00 |
#define | USART_NCP USART0 |
USART Interface. More... | |
#define | USART_NCP_BAUDRATE 9600 |
Baudrate setting. More... | |
#define | USART_NCP_CHAR_LENGTH US_MR_CHRL_8_BIT |
Character length setting. More... | |
#define | USART_NCP_IRQn USART0_IRQn |
#define | USART_NCP_ISR_VECT() ISR(USART0_Handler) |
#define | USART_NCP_PARITY US_MR_PAR_NO |
Parity setting. More... | |
#define | USART_NCP_RX_ISR_ENABLE() |
#define | USART_NCP_STOP_BITS US_MR_NBSTOP_1_BIT |
Stop bits setting. More... | |
#define NCP_RESET_GPIO PIN_PC00 |
Referenced by sio2ncp_init().
#define USART_NCP USART0 |
USART Interface.
Referenced by sio2ncp_init(), sio2ncp_tx(), and USART_NCP_ISR_VECT().
#define USART_NCP_BAUDRATE 9600 |
Baudrate setting.
Referenced by sio2ncp_init().
#define USART_NCP_CHAR_LENGTH US_MR_CHRL_8_BIT |
Character length setting.
#define USART_NCP_IRQn USART0_IRQn |
#define USART_NCP_ISR_VECT | ( | ) | ISR(USART0_Handler) |
#define USART_NCP_PARITY US_MR_PAR_NO |
Parity setting.
#define USART_NCP_RX_ISR_ENABLE | ( | ) |
Referenced by sio2ncp_init().
#define USART_NCP_STOP_BITS US_MR_NBSTOP_1_BIT |
Stop bits setting.