pub struct BackupBatteryChargeControl { /* private fields */ }Expand description
Controls the charging parameters for the backup battery (RTC battery).
Implementations§
Source§impl BackupBatteryChargeControl
impl BackupBatteryChargeControl
Sourcepub fn backup_charge_enable(&self) -> bool
pub fn backup_charge_enable(&self) -> bool
Read the backup_charge_enable field of the register.
Backup battery charging function (true: enabled, false: disabled).
Sourcepub fn backup_target_voltage(&self) -> BackupTargetVoltageValue
pub fn backup_target_voltage(&self) -> BackupTargetVoltageValue
Read the backup_target_voltage field of the register.
Target voltage for backup battery charging.
Sourcepub fn backup_charge_current(&self) -> BackupChargeCurrentValue
pub fn backup_charge_current(&self) -> BackupChargeCurrentValue
Read the backup_charge_current field of the register.
Charging current for backup battery.
Sourcepub fn set_backup_charge_enable(&mut self, value: bool)
pub fn set_backup_charge_enable(&mut self, value: bool)
Write the backup_charge_enable field of the register.
Backup battery charging function (true: enabled, false: disabled).
Sourcepub fn set_backup_target_voltage(&mut self, value: BackupTargetVoltageValue)
pub fn set_backup_target_voltage(&mut self, value: BackupTargetVoltageValue)
Write the backup_target_voltage field of the register.
Target voltage for backup battery charging.
Sourcepub fn set_backup_charge_current(&mut self, value: BackupChargeCurrentValue)
pub fn set_backup_charge_current(&mut self, value: BackupChargeCurrentValue)
Write the backup_charge_current field of the register.
Charging current for backup battery.
Trait Implementations§
Source§impl BitAnd for BackupBatteryChargeControl
impl BitAnd for BackupBatteryChargeControl
Source§impl BitAndAssign for BackupBatteryChargeControl
impl BitAndAssign for BackupBatteryChargeControl
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for BackupBatteryChargeControl
impl BitOr for BackupBatteryChargeControl
Source§impl BitOrAssign for BackupBatteryChargeControl
impl BitOrAssign for BackupBatteryChargeControl
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for BackupBatteryChargeControl
impl BitXor for BackupBatteryChargeControl
Source§impl BitXorAssign for BackupBatteryChargeControl
impl BitXorAssign for BackupBatteryChargeControl
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for BackupBatteryChargeControl
impl Clone for BackupBatteryChargeControl
Source§fn clone(&self) -> BackupBatteryChargeControl
fn clone(&self) -> BackupBatteryChargeControl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackupBatteryChargeControl
impl Debug for BackupBatteryChargeControl
Source§impl From<BackupBatteryChargeControl> for [u8; 1]
impl From<BackupBatteryChargeControl> for [u8; 1]
Source§fn from(val: BackupBatteryChargeControl) -> Self
fn from(val: BackupBatteryChargeControl) -> Self
Converts to this type from the input type.
Source§impl From<BackupBatteryChargeControl> for FieldSetValue
impl From<BackupBatteryChargeControl> for FieldSetValue
Source§fn from(val: BackupBatteryChargeControl) -> Self
fn from(val: BackupBatteryChargeControl) -> Self
Converts to this type from the input type.
Source§impl Not for BackupBatteryChargeControl
impl Not for BackupBatteryChargeControl
impl Copy for BackupBatteryChargeControl
impl Eq for BackupBatteryChargeControl
impl StructuralPartialEq for BackupBatteryChargeControl
Auto Trait Implementations§
impl Freeze for BackupBatteryChargeControl
impl RefUnwindSafe for BackupBatteryChargeControl
impl Send for BackupBatteryChargeControl
impl Sync for BackupBatteryChargeControl
impl Unpin for BackupBatteryChargeControl
impl UnwindSafe for BackupBatteryChargeControl
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