Crate clue_nrf52840

Source
Expand description

Tock kernel for the Adafruit CLUE nRF52480 Express.

It is based on nRF52840 Express SoC (Cortex M4 core with a BLE + IEEE 802.15.4 transceiver).

Modules§

io
UART Writer for panic!()s.

Structs§

Platform
Supported drivers by the platform

Constants§

APDS9960_PIN 🔒
Interrupt pin for the APDS9960 sensor.
BUTTON_LEFT 🔒
BUTTON_RIGHT 🔒
FAULT_RESPONSE 🔒
GPIO_D0 🔒
GPIO_D1 🔒
GPIO_D2 🔒
GPIO_D3 🔒
GPIO_D4 🔒
GPIO_D6 🔒
GPIO_D7 🔒
GPIO_D8 🔒
GPIO_D9 🔒
GPIO_D10 🔒
GPIO_D12 🔒
GPIO_D13 🔒
GPIO_D14 🔒
GPIO_D15 🔒
GPIO_D16 🔒
I2C_SCL_PIN 🔒
I2C_SDA_PIN 🔒
I2C pins for all of the sensors.
LED_KERNEL_PIN 🔒
LED_RED_PIN 🔒
LED_WHITE_PIN 🔒
NUM_PROCS 🔒
PAN_ID 🔒
Personal Area Network ID for the IEEE 802.15.4 radio
SPEAKER_PIN 🔒
ST7789H2_CS 🔒
ST7789H2_DC 🔒
ST7789H2_MISO 🔒
ST7789H2_MOSI 🔒
ST7789H2_RESET 🔒
ST7789H2_SCK 🔒
TFT ST7789H2
_ST7789H2_LITE 🔒
TFT backlight
_UART_RX_PIN 🔒
_UART_TX_PIN 🔒

Statics§

CDC_REF_FOR_PANIC 🔒
CHIP 🔒
NRF52_POWER 🔒
PROCESSES 🔒
PROCESS_PRINTER 🔒
STACK_MEMORY
Dummy buffer that causes the linker to reserve enough space for the stack.

Functions§

baud_rate_reset_bootloader_enter 🔒
main
Main function called after RAM initialized.
start 🔒
This is in a separate, inline(never) function so that its stack frame is removed when this function returns. Otherwise, the stack space used for these static_inits is wasted.

Type Aliases§

HumidityDriver 🔒
Ieee802154Driver 🔒
RngDriver 🔒
SHT3xSensor 🔒
TemperatureDriver 🔒