bl702_hal/system.rs
1/// Global Timer section
2pub mod glb;
3/// Hibernate section
4pub mod hbn;
5/// Power-down section
6pub mod pds;
7/// Interface for accessing functions from ROM
8pub mod romfunc;
9
10/// Error type definition - used by C SDK functions (and ROM functions by extension)
11#[repr(C)]
12pub enum BL_Err_Type {
13 SUCCESS = 0,
14 ERROR = 1,
15 TIMEOUT = 2,
16 INVALID = 3, /* invalid arguments */
17 NORESC = 4, /* no resource or resource temperary unavailable */
18}