Board configuration.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | CONF_BOARD_COM_PORT |
#define | CONF_BOARD_GLOC_LUT0_PORT |
#define | FOSC0 (12000000) |
Osc frequency (Hz.) and startup time (RCOsc periods). More... | |
#define | FOSC32 (32768) |
Osc32 frequency (Hz.) and startup time (RCOsc periods). More... | |
Board-specific configuration parameters | |
The following definitions must be provided by the board code for all working oscillators on the board. | |
#define | BOARD_OSC32_IS_XTAL true |
OSC32 uses a crystal, not an external clock. More... | |
#define | BOARD_OSC32_HZ FOSC32 |
Clock frequency of OSC32 in Hz. More... | |
#define | BOARD_OSC32_STARTUP_US (1100000) |
Startup time of OSC32 in microseconds. More... | |
#define | BOARD_OSC32_SELCURR BSCIF_OSCCTRL32_SELCURR(10) |
Crystal current selection for OSC32. More... | |
#define | BOARD_OSC0_IS_XTAL true |
OSC0 uses a crystal, not an external clock. More... | |
#define | BOARD_OSC0_HZ FOSC0 |
Clock frequency of OSC0 in Hz. More... | |
#define | BOARD_OSC0_STARTUP_US (1100) |
Startup time of OSC0 in microseconds. More... | |
USART connections to GPIO | |
#define | COM_PORT_USART USART2 |
#define | COM_PORT_USART_ID ID_USART2 |
#define | COM_PORT_RX_PIN PIN_PC11B_USART2_RXD |
#define | COM_PORT_RX_GPIO GPIO_PC11B_USART2_RXD |
#define | COM_PORT_RX_MUX MUX_PC11B_USART2_RXD |
#define | COM_PORT_TX_PIN PIN_PC12B_USART2_TXD |
#define | COM_PORT_TX_GPIO GPIO_PC12B_USART2_TXD |
#define | COM_PORT_TX_MUX MUX_PC12B_USART2_TXD |
#define COM_PORT_RX_GPIO GPIO_PC11B_USART2_RXD |
#define COM_PORT_RX_MUX MUX_PC11B_USART2_RXD |
Referenced by board_init().
#define COM_PORT_RX_PIN PIN_PC11B_USART2_RXD |
Referenced by board_init().
#define COM_PORT_TX_GPIO GPIO_PC12B_USART2_TXD |
#define COM_PORT_TX_MUX MUX_PC12B_USART2_TXD |
Referenced by board_init().
#define COM_PORT_TX_PIN PIN_PC12B_USART2_TXD |
Referenced by board_init().
#define COM_PORT_USART USART2 |
#define COM_PORT_USART_ID ID_USART2 |
#define CONF_BOARD_COM_PORT |
#define CONF_BOARD_GLOC_LUT0_PORT |
#define FOSC0 (12000000) |
Osc frequency (Hz.) and startup time (RCOsc periods).
#define FOSC32 (32768) |
Osc32 frequency (Hz.) and startup time (RCOsc periods).