Contiki-NG
|
Files | |
file | nrf52dk-def.h |
Platform features configuration. | |
Leds configurations | |
#define | PLATFORM_HAS_LEDS 1 |
#define | LEDS_CONF_LEGACY_API 1 |
#define | LEDS_1 (1 << (LED_1 - LED_START)) |
#define | LEDS_2 (1 << (LED_2 - LED_START)) |
#define | LEDS_3 (1 << (LED_3 - LED_START)) |
#define | LEDS_4 (1 << (LED_4 - LED_START)) |
#define | LEDS_CONF_GREEN LEDS_1 |
#define | LEDS_CONF_YELLOW LEDS_2 |
#define | LEDS_CONF_RED LEDS_3 |
#define | LEDS_CONF_BLUE LEDS_4 |
#define | LEDS_CONF_ALL (LEDS_1 | LEDS_2 | LEDS_3 | LEDS_4) |
#define | PLATFORM_INDICATE_BLE_STATE 1 |
If set to 1 then LED1 and LED2 are used by the platform to indicate BLE connection state. | |
Button configurations | |
#define | PLATFORM_HAS_BUTTON 1 |
#define | button_sensor button_1 |
#define | button_sensor2 button_2 |
#define | PLATFORM_RTC_INSTANCE_ID 1 |
nRF52 RTC instance to be used for Contiki clock driver. More... | |
#define | PLATFORM_TIMER_INSTANCE_ID 1 |
nRF52 timer instance to be used for Contiki rtimer driver. More... | |
#define PLATFORM_RTC_INSTANCE_ID 1 |
nRF52 RTC instance to be used for Contiki clock driver.
Definition at line 103 of file nrf52dk-def.h.
#define PLATFORM_TIMER_INSTANCE_ID 1 |
nRF52 timer instance to be used for Contiki rtimer driver.
Definition at line 109 of file nrf52dk-def.h.