Example configuration.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
Example configuration | |
#define | EXAMPLE_TC (&AVR32_TC) |
Base address of TC module to use. More... | |
#define | EXAMPLE_TC_CHANNEL 0 |
Channel to use with TC module. More... | |
#define | EXAMPLE_TC_IRQ AVR32_TC_IRQ0 |
IRQ Line number for TC module. More... | |
#define | EXAMPLE_TC_IRQ_PRIORITY AVR32_INTC_INT0 |
IRQ Group number for TC module. More... | |
#define | EXAMPLE_TOGGLE_PIN AVR32_PIN_PA03 |
GPIO Line to toggle on compare match. More... | |
#define EXAMPLE_TC (&AVR32_TC) |
#define EXAMPLE_TC_CHANNEL 0 |
#define EXAMPLE_TC_IRQ AVR32_TC_IRQ0 |
#define EXAMPLE_TC_IRQ_PRIORITY AVR32_INTC_INT0 |
IRQ Group number for TC module.
Referenced by main().
#define EXAMPLE_TOGGLE_PIN AVR32_PIN_PA03 |
GPIO Line to toggle on compare match.
Referenced by tc_irq().