Microchip® Advanced Software Framework

conf_sio2ncp.h File Reference

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 ( )
Value:
US_IER_RXRDY); \
NVIC_EnableIRQ(USART_NCP_IRQn);
void usart_enable_interrupt(Usart *p_usart, uint32_t ul_sources)
Enable USART interrupts.
Definition: usart.c:1469
#define USART_NCP_IRQn
Definition: conf_sio2ncp.h:52
#define USART_NCP
USART Interface.
Definition: conf_sio2ncp.h:40

Referenced by sio2ncp_init().

#define USART_NCP_STOP_BITS   US_MR_NBSTOP_1_BIT

Stop bits setting.