Board configuration for the nrf9160dk board.
More...
Board configuration for the nrf9160dk board.
- Author
- Dylan Laduranty dylan.nosp@m..lad.nosp@m.urant.nosp@m.y@me.nosp@m.sotic.nosp@m..com
Definition in file board.h.
#include "cpu.h"
Go to the source code of this file.
|
- Note
- The LTE modem will only work with the high accuracy RC oscillator
|
#define | CLOCK_HFCLK (32U) |
| set to 0: internal RC oscillator 32: 32MHz crystal
|
|
#define | CLOCK_LFCLK (CLOCK_LFCLKSRC_SRC_LFXO) |
| LFCLK Source.
|
|
◆ BTN0_MODE
#define BTN0_MODE GPIO_IN_PU |
BTN0 default mode.
Definition at line 81 of file board.h.
◆ BTN0_PIN
BTN0 pin definition.
Definition at line 80 of file board.h.
◆ BTN1_MODE
#define BTN1_MODE GPIO_IN_PU |
BTN1 default mode.
Definition at line 83 of file board.h.
◆ BTN1_PIN
BTN1 pin definition.
Definition at line 82 of file board.h.
◆ BTN2_MODE
#define BTN2_MODE GPIO_IN_PU |
BTN2 default mode.
Definition at line 85 of file board.h.
◆ BTN2_PIN
BTN2 pin definition.
Definition at line 84 of file board.h.
◆ BTN3_MODE
#define BTN3_MODE GPIO_IN_PU |
BTN3 default mode.
Definition at line 87 of file board.h.
◆ BTN3_PIN
BTN3 pin definition.
Definition at line 86 of file board.h.
◆ CLOCK_HFCLK
#define CLOCK_HFCLK (32U) |
set to 0: internal RC oscillator 32: 32MHz crystal
Definition at line 36 of file board.h.
◆ CLOCK_LFCLK
#define CLOCK_LFCLK (CLOCK_LFCLKSRC_SRC_LFXO) |
LFCLK Source.
Definition at line 40 of file board.h.
◆ LED0_MASK
#define LED0_MASK (1 << 2) |
LED0 PORT bitmask.
Definition at line 52 of file board.h.
◆ LED0_OFF
#define LED0_OFF (LED_PORT->OUTCLR = LED0_MASK) |
LED0 OFF macro.
Definition at line 60 of file board.h.
◆ LED0_ON
#define LED0_ON (LED_PORT->OUTSET = LED0_MASK) |
LED0 ON macro.
Definition at line 59 of file board.h.
◆ LED0_PIN
LED0 pin definition.
Definition at line 47 of file board.h.
◆ LED0_TOGGLE
#define LED0_TOGGLE (LED_PORT->OUT ^= LED0_MASK) |
LED0 toggle macro.
Definition at line 61 of file board.h.
◆ LED1_MASK
#define LED1_MASK (1 << 3) |
LED1 PORT bitmask.
Definition at line 53 of file board.h.
◆ LED1_OFF
#define LED1_OFF (LED_PORT->OUTCLR = LED1_MASK) |
LED1 OFF macro.
Definition at line 64 of file board.h.
◆ LED1_ON
#define LED1_ON (LED_PORT->OUTSET = LED1_MASK) |
LED1 ON macro.
Definition at line 63 of file board.h.
◆ LED1_PIN
LED1 pin definition.
Definition at line 48 of file board.h.
◆ LED1_TOGGLE
#define LED1_TOGGLE (LED_PORT->OUT ^= LED1_MASK) |
LED1 toggle macro.
Definition at line 65 of file board.h.
◆ LED2_MASK
#define LED2_MASK (1 << 4) |
LED2 PORT bitmask.
Definition at line 54 of file board.h.
◆ LED2_OFF
#define LED2_OFF (LED_PORT->OUTCLR = LED2_MASK) |
LED2 OFF macro.
Definition at line 68 of file board.h.
◆ LED2_ON
#define LED2_ON (LED_PORT->OUTSET = LED2_MASK) |
LED2 ON macro.
Definition at line 67 of file board.h.
◆ LED2_PIN
LED2 pin definition.
Definition at line 49 of file board.h.
◆ LED2_TOGGLE
#define LED2_TOGGLE (LED_PORT->OUT ^= LED2_MASK) |
LED2 toggle macro.
Definition at line 69 of file board.h.
◆ LED3_MASK
#define LED3_MASK (1 << 5) |
LED3 PORT bitmask.
Definition at line 55 of file board.h.
◆ LED3_OFF
#define LED3_OFF (LED_PORT->OUTCLR = LED3_MASK) |
LED3 OFF macro.
Definition at line 72 of file board.h.
◆ LED3_ON
#define LED3_ON (LED_PORT->OUTSET = LED3_MASK) |
LED3 ON macro.
Definition at line 71 of file board.h.
◆ LED3_PIN
LED3 pin definition.
Definition at line 50 of file board.h.
◆ LED3_TOGGLE
#define LED3_TOGGLE (LED_PORT->OUT ^= LED3_MASK) |
LED3 toggle macro.
Definition at line 73 of file board.h.
◆ LED_PORT
#define LED_PORT (NRF_P0_S) |
Default LED PORT.
Definition at line 57 of file board.h.
◆ WS281X_TIMER_DEV
◆ WS281X_TIMER_MAX_VALUE