Crate nano33ble_rev2

Source
Expand description

Tock kernel for the Arduino Nano 33 BLE Sense Rev2.

It is based on nRF52840 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.
DEFAULT_CTX_PREFIX ๐Ÿ”’
DEFAULT_CTX_PREFIX_LEN ๐Ÿ”’
DST_MAC_ADDR ๐Ÿ”’
Gateway (or next hop) MAC Address
FAULT_RESPONSE ๐Ÿ”’
GPIO_D2 ๐Ÿ”’
GPIO_D3 ๐Ÿ”’
GPIO_D4 ๐Ÿ”’
GPIO_D5 ๐Ÿ”’
GPIO_D6 ๐Ÿ”’
GPIO_D7 ๐Ÿ”’
GPIO_D8 ๐Ÿ”’
GPIO_D9 ๐Ÿ”’
GPIO_D10 ๐Ÿ”’
I2C_PULLUP_PIN ๐Ÿ”’
GPIO tied to the VCC of the I2C pullup resistors.
I2C_SCL_PIN ๐Ÿ”’
I2C_SDA_PIN ๐Ÿ”’
I2C pins for all of the sensors.
LED_BLUE_PIN ๐Ÿ”’
LED_GREEN_PIN ๐Ÿ”’
LED_KERNEL_PIN ๐Ÿ”’
LED_RED_PIN ๐Ÿ”’
NUM_PROCS ๐Ÿ”’
PAN_ID ๐Ÿ”’
Personal Area Network ID for the IEEE 802.15.4 radio
_BUTTON_RST_PIN ๐Ÿ”’
_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ยง

HS3003Sensor ๐Ÿ”’
HumidityDriver ๐Ÿ”’
Ieee802154Driver ๐Ÿ”’
Ieee802154MacDevice ๐Ÿ”’
RngDriver ๐Ÿ”’
TemperatureDriver ๐Ÿ”’