Microchip® Advanced Software Framework

conf_test.h File Reference

Unit test configuration.

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

Macros

#define AT25DFX_UNIT_TEST_BLOCK_ADDR   (0)
 Unit test block start address. More...
 
#define AT25DFX_UNIT_TEST_BLOCK_SIZE   (64*1024)
 Block size of the SerialFlash used in the unit test. More...
 
#define AT25DFX_UNIT_TEST_PAGE_SIZE   (256)
 Page size of the SerialFlash used in the unit test. More...
 
#define AT25DFX_UNIT_TEST_TOTAL_SIZE   (4*1024*1024)
 Total size of the SerialFlash used in the unit test. More...
 
#define CONF_TEST_BAUDRATE   115200
 Baudrate setting. More...
 
#define CONF_TEST_CHARLENGTH   US_MR_CHRL_8_BIT
 Char setting : 8-bit character length (don't care for UART) More...
 
#define CONF_TEST_PARITY   US_MR_PAR_NONE
 Parity setting. More...
 
#define CONF_TEST_STOPBITS   US_MR_NBSTOP_1_BIT
 Stopbit setting : No extra stopbit, i.e., use 1 (don't care for UART) More...
 
#define CONF_TEST_USART   USART2
 USART Interface. More...
 

#define AT25DFX_UNIT_TEST_BLOCK_ADDR   (0)

Unit test block start address.

Referenced by run_test_at25dfx_data_access().

#define AT25DFX_UNIT_TEST_BLOCK_SIZE   (64*1024)

Block size of the SerialFlash used in the unit test.

Referenced by run_test_at25dfx_data_access().

#define AT25DFX_UNIT_TEST_PAGE_SIZE   (256)

Page size of the SerialFlash used in the unit test.

Referenced by run_test_at25dfx_data_access().

#define AT25DFX_UNIT_TEST_TOTAL_SIZE   (4*1024*1024)

Total size of the SerialFlash used in the unit test.

#define CONF_TEST_BAUDRATE   115200

Baudrate setting.

Referenced by main().

#define CONF_TEST_CHARLENGTH   US_MR_CHRL_8_BIT

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

Referenced by main().

#define CONF_TEST_PARITY   US_MR_PAR_NONE

Parity setting.

Referenced by main().

#define CONF_TEST_STOPBITS   US_MR_NBSTOP_1_BIT

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

Referenced by main().

#define CONF_TEST_USART   USART2

USART Interface.

Referenced by main().