#[repr(C)]
pub struct RegisterBlock {
pub pdor: PDOR,
pub psor: PSOR,
pub pcor: PCOR,
pub ptor: PTOR,
pub pdir: PDIR,
pub pddr: PDDR,
pub pidr: PIDR,
}
0x00 - Port Data Output Register
0x04 - Port Set Output Register
0x08 - Port Clear Output Register
0x0c - Port Toggle Output Register
0x10 - Port Data Input Register
0x14 - Port Data Direction Register
0x18 - Port Input Disable Register
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static