pub struct Config {
pub avg: AVG,
pub vbusct: VBUSCT,
pub vshct: VSHCT,
pub mode: MODE,
}Expand description
The state of the configuration register.
Fields§
§avg: AVGAveraging Mode
vbusct: VBUSCTBus Voltage Conversion Time
vshct: VSHCTShunt Voltage Conversion Time
mode: MODEOperating Mode
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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