Crate microbit_v2

Source
Expand description

Tock kernel for the Micro:bit v2.

It is based on nRF52833 SoC (Cortex M4 core with a BLE).

Modulesยง

io
UART Writer for panic!()s.

Structsยง

MicroBit
Supported drivers by the platform

Constantsยง

BUTTON_A ๐Ÿ”’
BUTTON_B ๐Ÿ”’
FAULT_RESPONSE ๐Ÿ”’
GPIO_P8 ๐Ÿ”’
GPIO_P9 ๐Ÿ”’
GPIO_P16 ๐Ÿ”’
I2C_SCL_PIN ๐Ÿ”’
I2C_SDA_PIN ๐Ÿ”’
I2C pins for all of the sensors.
LED_KERNEL_PIN ๐Ÿ”’
LED_MATRIX_COLS ๐Ÿ”’
LED matrix
LED_MATRIX_ROWS ๐Ÿ”’
LED_MICROPHONE_PIN ๐Ÿ”’
NUM_PROCS ๐Ÿ”’
SPEAKER_PIN ๐Ÿ”’
TOUCH_LOGO ๐Ÿ”’
UART_RX_PIN ๐Ÿ”’
UART_TX_PIN ๐Ÿ”’
_GPIO_P0 ๐Ÿ”’
_GPIO_P1 ๐Ÿ”’
_GPIO_P2 ๐Ÿ”’

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ยง

Ieee802154RawDriver ๐Ÿ”’
RngDriver ๐Ÿ”’
TemperatureDriver ๐Ÿ”’