Configuration settings for the main application.
These will need to be adjusted to suit the particular processor / board used.
Go to the source code of this file.
Macros | |
Board Specific Hooks | |
These hooks can be used for board specific configuration at various stages during the initialization sequence. | |
#define | PRE_APP_INIT_HOOK Number8_PreAppHook |
This hook is called prior to the initialization of the application modules (APP_Initialize). More... | |
Coarse Timer | |
Settings for the Coarse Timer. These are used to initialize CoarseTimer_Settings. | |
#define | COARSE_TIMER_ID 2 |
The timer to use for the coarse timer. | |
Transceiver | |
Settings for the Transceiver. These are used to initialize TransceiverHardwareSettings. | |
#define | TRANSCEIVER_UART 5 |
The USART to use for the DMX/RDM transceiver. | |
#define | TRANSCEIVER_TIMER 3 |
The Timer module id to use for the DMX/RDM transceiver. | |
#define | TRANSCEIVER_IC 5 |
The input capture module id to use for the DMX/RDM transceiver. | |
#define | TRANSCEIVER_PORT PORT_CHANNEL_B |
The port to use for the direction & break pins. | |
#define | TRANSCEIVER_PORT_BIT PORTS_BIT_POS_14 |
The bit position of the I/O pin used to create the break. | |
#define | TRANSCEIVER_TX_ENABLE_PORT_BIT PORTS_BIT_POS_9 |
The bit position of the TX enable pin. | |
#define | TRANSCEIVER_RX_ENABLE_PORT_BIT PORTS_BIT_POS_10 |
The bit position of the RX enable pin. | |
RDM Responder | |
Settings for the RDM Responder. These are used to initialize RDMResponderSettings. | |
#define | RDM_RESPONDER_IDENTIFY_PORT PORT_CHANNEL_D |
The port containing the RDM identify LED. | |
#define | RDM_RESPONDER_IDENTIFY_PORT_BIT PORTS_BIT_POS_11 |
The bit position of the RDM identify LED. | |
#define | RDM_RESPONDER_MUTE_PORT PORT_CHANNEL_D |
The port containing the RDM mute status LED. | |
#define | RDM_RESPONDER_MUTE_PORT_BIT PORTS_BIT_POS_0 |
The bit position of the RDM mute status LED. | |
#define | RDM_RESPONDER_TEMPERATURE_SENSOR ADC_INPUT_POSITIVE_AN2 |
The pin to use for the RDM temperature sensor. More... | |
SPI DMX | |
Settings for the SPI Pixel Controller. These are used to initialize SPIRGBConfiguration. | |
#define | SPI_MODULE_ID SPI_ID_2 |
The SPI module to use for output. | |
#define | SPI_BAUD_RATE 1000000u |
The baud rate of the SPI output. | |
#define | SPI_USE_ENHANCED_BUFFERING true |
Use enhanced buffering. | |