#include "board.h"
#include "retarget.h"
Go to the source code of this file.
|
static const uint8_t | ledPin [] = {1, 2, 4} |
|
const uint32_t | OscRateIn = 12000000 |
| System oscillator rate This value is defined externally to the chip layer and contains the value in Hz for the external oscillator for the board. If using the internal oscillator, this rate can be 0. More...
|
|
const uint32_t | ExtRateIn = 0 |
| Clock rate on the CLKIN pin This value is defined externally to the chip layer and contains the value in Hz for the CLKIN pin for the board. If this pin isn't used, this rate can be 0. More...
|
|
#define BUTTONS_BUTTON1_GPIO_BIT_NUM 4 |
#define BUTTONS_BUTTON1_GPIO_PORT_NUM 1 /* WAKE button */ |
#define BUTTONS_BUTTON2_GPIO_BIT_NUM 1 |
#define BUTTONS_BUTTON2_GPIO_PORT_NUM 0 /* ISP button */ |
void Board_Buttons_Init |
( |
void |
| ) |
|
Initialize buttons on the board.
- Returns
- Nothing
Definition at line 164 of file board.c.
static void Board_LED_Init |
( |
void |
| ) |
|
|
static |
uint32_t Buttons_GetStatus |
( |
void |
| ) |
|
Get button status.
- Returns
- status of button
Definition at line 170 of file board.c.
const uint32_t ExtRateIn = 0 |
Clock rate on the CLKIN pin This value is defined externally to the chip layer and contains the value in Hz for the CLKIN pin for the board. If this pin isn't used, this rate can be 0.
Definition at line 55 of file board.c.
const uint8_t ledPin[] = {1, 2, 4} |
|
static |
const uint32_t OscRateIn = 12000000 |
System oscillator rate This value is defined externally to the chip layer and contains the value in Hz for the external oscillator for the board. If using the internal oscillator, this rate can be 0.
Definition at line 54 of file board.c.