Re-exports§
Modules§
Macros§
Structs§
- Backup
Flags - Flags register in the backup register bank. Used to track system state between soft resets.
- Hardened
Bool - Hardened boolean type - values chosen for high Hamming distance and resistance to stuck-at-zero/one faults.
- IrqNotification
- Structure for recording message formats to be passed from interrupt handlers back to userspace. A specific handler may or may not use any or all of the arguments: this simply provides storage for all the possible arguments.
- Partial
Backup Flags - Partial builder struct
- Statics
InRom - In-ROM representation of static initialization data
Placed by the image creation tool, and used for bootstrapping the Rust environment
usizeis not allowed because this structure is packed on a 64-bit host.
Constants§
- BAOCHIP_
1X_ UF2_ FAMILY - UF2 Family ID. Randomly generated, no collisions with the known list, still to be merged into the “official” list
- JUMP_
INSTRUCTION - This encodes to jal x0, 256 - jumps 256 bytes ahead from the current PC location.
- PERCLK
- Constants used by both emulation and hardware implementations
- RAM_IDS
- SERVER_
NAME_ BAO1X_ HAL - Do not change this constant, it is hard-coded into libraries in order to break circular dependencies on the IFRAM block.
- SERVER_
NAME_ KBD - SPI_
FLASH_ IDS - STATICS_
IN_ ROM_ VERSION - Version number of the below structure
- SYSTEM_
TICK_ INTERVAL_ MS - system preemption interval
- UART_
BAUD - standard baud rate