board configuration for the MikroE 6LoWPAN Clicker More...
board configuration for the MikroE 6LoWPAN Clicker
see: https://www.mikroe.com/clicker-6lowpan For more information on the board.
Definition in file board.h.
Include dependency graph for board.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | board_init (void) |
| Board level initialization. | |
| #define | TICKS_PER_US (48) |
| Set how many increments of the count register per uS needed by the timer code. | |
LED pin configuration | |
| #define | LED1_PIN GPIO_PIN(PORT_B, 1) |
| #define | LED2_PIN GPIO_PIN(PORT_B, 2) |
| #define | LED1_MASK (1 << 1) |
| #define | LED2_MASK (1 << 2) |
| #define | LED1_ON (LATBSET = LED1_MASK) |
| #define | LED1_OFF (LATBCLR = LED1_MASK) |
| #define | LED1_TOGGLE (LATBINV = LED1_MASK) |
| #define | LED2_ON (LATBSET = LED2_MASK) |
| #define | LED2_OFF (LATBCLR = LED2_MASK) |
| #define | LED2_TOGGLE (LATBINV = LED2_MASK) |
Button pin configuration | |
| #define | BTN0_PIN GPIO_PIN(PORT_E, 7) |
| #define | BTN0_MODE GPIO_IN |
| #define | BTN1_PIN GPIO_PIN(PORT_B, 0) |
| #define | BTN1_MODE GPIO_IN |