Board specific configuration for Pro Micro nRF52840-compatible development boards.
More...
Board specific configuration for Pro Micro nRF52840-compatible development boards.
- Author
- Bas Stottelaar basst.nosp@m.otte.nosp@m.laar@.nosp@m.gmai.nosp@m.l.com
Definition in file board.h.
#include "cpu.h"
#include "board_common.h"
#include "periph/gpio.h"
Go to the source code of this file.
|
| #define | LED0_PIN GPIO_PIN(0, 15) |
| | Pin Definition for the LED.
|
| |
| #define | LED_PORT (NRF_P0) |
| | GPIO Port of the LED GPIOs.
|
| |
| #define | LED0_MASK (1 << 15) |
| | Bit position of the LED GPIO output bit.
|
| |
| #define | LED0_ON (LED_PORT->OUTSET = LED0_MASK) |
| | Turn the LED on.
|
| |
| #define | LED0_OFF (LED_PORT->OUTCLR = LED0_MASK) |
| | Turn the LED off.
|
| |
| #define | LED0_TOGGLE (LED_PORT->OUT ^= LED0_MASK) |
| | Toggle the LED.
|
| |
◆ CONFIG_ZTIMER_USEC_ADJUST_SET
| #define CONFIG_ZTIMER_USEC_ADJUST_SET 7 |
Overhead for the ztimer_set function in us.
Definition at line 31 of file board.h.
◆ CONFIG_ZTIMER_USEC_ADJUST_SLEEP
| #define CONFIG_ZTIMER_USEC_ADJUST_SLEEP 21 |
Overhead for the ztimer_sleep function in us.
Definition at line 32 of file board.h.
◆ LED0_MASK
| #define LED0_MASK (1 << 15) |
Bit position of the LED GPIO output bit.
Definition at line 42 of file board.h.
◆ LED0_OFF
| #define LED0_OFF (LED_PORT->OUTCLR = LED0_MASK) |
Turn the LED off.
Definition at line 45 of file board.h.
◆ LED0_ON
| #define LED0_ON (LED_PORT->OUTSET = LED0_MASK) |
Turn the LED on.
Definition at line 44 of file board.h.
◆ LED0_PIN
Pin Definition for the LED.
Definition at line 39 of file board.h.
◆ LED0_TOGGLE
| #define LED0_TOGGLE (LED_PORT->OUT ^= LED0_MASK) |
Toggle the LED.
Definition at line 46 of file board.h.
◆ LED_PORT
| #define LED_PORT (NRF_P0) |
GPIO Port of the LED GPIOs.
Definition at line 41 of file board.h.