xous-api-susres

Crates.ioxous-api-susres
lib.rsxous-api-susres
version
sourcesrc
created_at2022-10-02 18:08:07.049394
updated_at2024-12-02 11:16:36.848063
descriptionManager of suspend/resume operations
homepagehttps://betrusted.io/xous-book/
repositoryhttps://github.com/betrusted-io/xous-core/
max_upload_size
id678500
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
bunnie (bunnie)

documentation

README

Xous Api: susres

This crate defines the Xous suspend/resume API.

The suspend/resume API is responsible for sequencing events before a system powers down, such that all of the SoC hardware blocks will lose state, but the RAM will retain its contents.

Every service that contains hardware state which can be lost when the SoC is powered down must register with the sequencer, and it must atomically back up its hardware state to battery-backed RAM and then call suspend_until_resume, which will block until power is restored. Once power is restored, the service should copy the hardware state out of battery-backed RAM and resume operations.

The API also contains hooks for initiating the suspend process, and for rebooting the device.

Commit count: 7966

cargo fmt