#[repr(u8)]pub enum Register {
IODIR = 0,
IPOL = 1,
GPINTEN = 2,
DEFVAL = 3,
INTCON = 4,
IOCON = 5,
GPPU = 6,
INTF = 7,
INTCAP = 8,
GPIO = 9,
OLAT = 10,
}
Expand description
Base MCP230xx register map. This is the “semantic” map of the functionality
of the cip family. The ultimate register addresses may be mapped differently
depending on Map::map()
.
Variants§
IODIR = 0
IPOL = 1
GPINTEN = 2
DEFVAL = 3
INTCON = 4
IOCON = 5
GPPU = 6
INTF = 7
INTCAP = 8
GPIO = 9
OLAT = 10
Trait Implementations§
source§impl PartialEq for Register
impl PartialEq for Register
impl Copy for Register
impl Eq for Register
impl StructuralPartialEq for Register
Auto Trait Implementations§
impl Freeze for Register
impl RefUnwindSafe for Register
impl Send for Register
impl Sync for Register
impl Unpin for Register
impl UnwindSafe for Register
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more