pub struct ChipConfig {
pub dcdc_reg0: Option<bool>,
pub dcdc_reg1: Option<bool>,
pub dcdc_reg0_voltage: Option<String>,
}Expand description
Config for chip-specific settings
Fields§
§dcdc_reg0: Option<bool>DCDC regulator 0 enabled (for nrf52840)
dcdc_reg1: Option<bool>DCDC regulator 1 enabled (for nrf52840, nrf52833)
dcdc_reg0_voltage: Option<String>DCDC regulator 0 voltage (for nrf52840) Values: “3V3” or “1V8”
Trait Implementations§
Source§impl Clone for ChipConfig
impl Clone for ChipConfig
Source§fn clone(&self) -> ChipConfig
fn clone(&self) -> ChipConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChipConfig
impl Debug for ChipConfig
Source§impl Default for ChipConfig
impl Default for ChipConfig
Source§fn default() -> ChipConfig
fn default() -> ChipConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChipConfig
impl<'de> Deserialize<'de> for ChipConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChipConfig
impl RefUnwindSafe for ChipConfig
impl Send for ChipConfig
impl Sync for ChipConfig
impl Unpin for ChipConfig
impl UnwindSafe for ChipConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)