Crate sma_q3

Source
Expand description

Tock kernel for the SMA Q3 smartwatch.

It is based on nRF52840 SoC (Cortex M4 core with a BLE transceiver) with SWD as I/O and many peripherals.

Reverse-engineered documentation available at: https://hackaday.io/project/175577-hackable-nrf52840-smart-watch

Modules§

io
UART Writer

Structs§

Platform
Supported drivers by the platform

Constants§

BUTTON_PIN 🔒
DEFAULT_EXT_SRC_MAC 🔒
FAULT_RESPONSE 🔒
I2C_TEMP_SCL_PIN 🔒
I2C_TEMP_SDA_PIN 🔒
I2C pins for the temp/pressure sensor
LED1_PIN 🔒
NUM_PROCS 🔒
PAN_ID 🔒
SRC_MAC 🔒
VIBRA1_PIN 🔒

Statics§

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

Functions§

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§

Bmp280Sensor 🔒
Ieee802154Driver 🔒
RngDriver 🔒
TemperatureDriver 🔒