Microchip® Advanced Software Framework

conf_test.h File Reference

Unit test configuration.

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

Macros

#define BOARD_RC1M_HZ
 1MHz RC Oscillator More...
 
#define BOARD_RC80M_HZ
 80MHz RC Oscillator More...
 
#define BOARD_RCFAST_HZ
 RCFAST Oscillator. More...
 
#define DFLL_MAX_LOCK_CYCLES   10000
 Dfll max lock sycles. More...
 
Unit test configuration
#define CONF_TEST_USART   USART1
 USART to redirect STDIO to. More...
 
#define CONF_TEST_BAUDRATE   115200
 Baudrate of USART. More...
 
#define CONF_TEST_CHARLENGTH   US_MR_CHRL_8_BIT
 Character length (bits) of USART. More...
 
#define CONF_TEST_PARITY   US_MR_PAR_NO
 Parity mode of USART. More...
 
#define CONF_TEST_STOPBITS   US_MR_NBSTOP_1_BIT
 Stopbit configuration of USART. More...
 

#define BOARD_RC1M_HZ

1MHz RC Oscillator

#define BOARD_RC80M_HZ

80MHz RC Oscillator

#define BOARD_RCFAST_HZ

RCFAST Oscillator.

#define CONF_TEST_BAUDRATE   115200

Baudrate of USART.

Baudrate setting : 115200.

Referenced by main().

#define CONF_TEST_CHARLENGTH   US_MR_CHRL_8_BIT

Character length (bits) of USART.

Char setting : 8-bit character length (don't care for UART)

Referenced by main().

#define CONF_TEST_PARITY   US_MR_PAR_NO

Parity mode of USART.

Parity setting : No parity check.

Referenced by main().

#define CONF_TEST_STOPBITS   US_MR_NBSTOP_1_BIT

Stopbit configuration of USART.

Stopbit setting : No extra stopbit, i.e., use 1 (don't care for UART)

Referenced by main().

#define CONF_TEST_USART   USART1

USART to redirect STDIO to.

USART Interface : Console UART.

Referenced by main().

#define DFLL_MAX_LOCK_CYCLES   10000

Dfll max lock sycles.

Referenced by run_pll_dfll_test().