Library guide · API index and notation
This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.
import "std/embedded/chip/esp_lp_shared"
Names used in signatures
Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.
| Alias | Package | Source file |
|---|---|---|
mmio |
core/mmio |
esp_lp_shared.dodo |
BASE
Constant · Source
pub const BASE: usize = 0x5000_3000
WORDS
Constant · Source
pub const WORDS: u32 = 256
RUNS
Constant · Source
pub const RUNS: u32 = 0
PERIOD_LOW
Constant · Source
pub const PERIOD_LOW: u32 = 1
PERIOD_HIGH
Constant · Source
pub const PERIOD_HIGH: u32 = 2
TICKS_PER_10MS
Constant · Source
pub const TICKS_PER_10MS: u32 = 3
PANIC
Constant · Source
pub const PANIC: u32 = 4
PANIC_CHECK
Constant · Source
pub const PANIC_CHECK: u32 = 5
PANIC_FILE
Constant · Source
pub const PANIC_FILE: u32 = 6
PANIC_LINE
Constant · Source
pub const PANIC_LINE: u32 = 7
PANIC_COLUMN
Constant · Source
pub const PANIC_COLUMN: u32 = 8
PANIC_MAGIC
Constant · Source
pub const PANIC_MAGIC: u32 = 0x5041_4E43
USER
Constant · Source
pub const USER: u32 = 16
USER_WORDS
Constant · Source
pub const USER_WORDS: u32 = WORDS - USER
read
Function · Source
Word
wordof the area. Traps past its end.
pub fn read(word: u32) -> u32
write
Function · Source
pub fn write(word: u32, value: u32)
clear
Function · Source
Clear every word, for a newly loaded LP program.
pub fn clear()