Struct xmc4100::port2::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub out: OUT,
pub omr: OMR,
pub iocr0: IOCR0,
pub iocr4: IOCR4,
pub iocr8: IOCR8,
pub iocr12: IOCR12,
pub in_: IN,
pub pdr0: PDR0,
pub pdr1: PDR1,
pub pdisc: PDISC,
pub pps: PPS,
pub hwsel: HWSEL,
/* private fields */
}
Expand description
Register block
Fields
out: OUT
0x00 - Port 2 Output Register
omr: OMR
0x04 - Port 2 Output Modification Register
iocr0: IOCR0
0x10 - Port 2 Input/Output Control Register 0
iocr4: IOCR4
0x14 - Port 2 Input/Output Control Register 4
iocr8: IOCR8
0x18 - Port 2 Input/Output Control Register 8
iocr12: IOCR12
0x1c - Port 2 Input/Output Control Register 12
in_: IN
0x24 - Port 2 Input Register
pdr0: PDR0
0x40 - Port 2 Pad Driver Mode 0 Register
pdr1: PDR1
0x44 - Port 2 Pad Driver Mode 1 Register
pdisc: PDISC
0x60 - Port 2 Pin Function Decision Control Register
pps: PPS
0x70 - Port 2 Pin Power Save Register
hwsel: HWSEL
0x74 - Port 2 Pin Hardware Select Register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more