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.