Unit test configuration.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
Unit test configuration | |
#define | CONF_TEST_USART &USARTC0 |
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 |
Stop bit configuration of USART. More... | |
#define | MEMORY_BLOCK_SIZE 512 |
Size of memory blocks used in copy tests. More... | |
#define | DEST_BLOCK_TC_SIZE 16 |
Size of destination block used in trigger/callback test. More... | |
#define | DOUBLE_BUFFER_REPEATS 16 |
Number of times to repeat copy in double buffer test. More... | |
#define | TIMER TCC0 |
Timer used in DMA fixed read/trigger/callback test. More... | |
#define | TIMER_PERIOD 4096 |
Period of timer. More... | |
#define | TIMER_RESOLUTION 8192 |
Resolution of timer. More... | |
Enumerations | |
enum | dma_channels { DMA_CHANNEL_0, DMA_CHANNEL_1, DMA_CHANNEL_2, DMA_CHANNEL_3 } |
#define CONF_TEST_BAUDRATE 38400 |
#define CONF_TEST_CHARLENGTH USART_CHSIZE_8BIT_gc |
#define CONF_TEST_PARITY USART_PMODE_DISABLED_gc |
#define CONF_TEST_STOPBITS false |
#define CONF_TEST_USART &USARTC0 |
USART to redirect STDIO to.
Referenced by main().
#define DEST_BLOCK_TC_SIZE 16 |
Size of destination block used in trigger/callback test.
Referenced by run_dma_triggered_with_callback().
#define DOUBLE_BUFFER_REPEATS 16 |
Number of times to repeat copy in double buffer test.
Referenced by run_dma_double_buffering_test().
#define MEMORY_BLOCK_SIZE 512 |
Size of memory blocks used in copy tests.
Referenced by run_dma_direction_test(), run_dma_double_buffering_test(), run_dma_error_handling_test(), and run_dma_memory_copy_burst_length_test().
#define TIMER TCC0 |
Timer used in DMA fixed read/trigger/callback test.
Referenced by dma_transfer_is_complete(), and run_dma_triggered_with_callback().
#define TIMER_PERIOD 4096 |
Period of timer.
Referenced by run_dma_triggered_with_callback().
#define TIMER_RESOLUTION 8192 |
enum dma_channels |