Microchip® Advanced Software Framework

conf_test.h File Reference

Unit test configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

Unit test configuration
#define CONF_TEST_USART   &USARTD0
 USART to redirect STDIO to. More...
 
#define CONF_TEST_BAUDRATE   38400
 Baudrate of USART. More...
 
#define CONF_TEST_CHARLENGTH   USART_CHSIZE_8BIT_gc
 Character length (bits) of USART. More...
 
#define CONF_TEST_PARITY   USART_PMODE_DISABLED_gc
 Parity mode of USART. More...
 
#define CONF_TEST_STOPBITS   false
 Stopbit configuration of USART. More...
 

#define CONF_TEST_BAUDRATE   38400

Baudrate of USART.

Note
14.4 kbaud

Referenced by main().

#define CONF_TEST_CHARLENGTH   USART_CHSIZE_8BIT_gc

Character length (bits) of USART.

Note
8-bit character length

Referenced by main().

#define CONF_TEST_PARITY   USART_PMODE_DISABLED_gc

Parity mode of USART.

Note
No parity check

Referenced by main().

#define CONF_TEST_STOPBITS   false

Stopbit configuration of USART.

Note
No extra stopbit, i.e., use 1

Referenced by main().

#define CONF_TEST_USART   &USARTD0

USART to redirect STDIO to.

Note
USART0 on PORTD (RX on PD2, TX on PD3)

Referenced by main().