Struct Switch
#[repr(transparent)]pub struct Switch(pub u32);Expand description
SWITCH register.
Tuple Fields§
§0: u32Implementations§
§impl Switch
impl Switch
pub const fn se_vin_0(&self) -> u8
pub const fn se_vin_0(&self) -> u8
SE_VIN_0[1:0]: input voltage for VINM[0] / VINP[0]-VINM[0] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_0(&mut self, val: u8)
pub fn set_se_vin_0(&mut self, val: u8)
SE_VIN_0[1:0]: input voltage for VINM[0] / VINP[0]-VINM[0] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_1(&self) -> u8
pub const fn se_vin_1(&self) -> u8
SE_VIN_1[1:0]: input voltage for VINM[1] / VINP[1]-VINM[1] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_1(&mut self, val: u8)
pub fn set_se_vin_1(&mut self, val: u8)
SE_VIN_1[1:0]: input voltage for VINM[1] / VINP[1]-VINM[1] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_2(&self) -> u8
pub const fn se_vin_2(&self) -> u8
SE_VIN_2[1:0]: input voltage for VINM[2] / VINP[2]-VINM[2] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_2(&mut self, val: u8)
pub fn set_se_vin_2(&mut self, val: u8)
SE_VIN_2[1:0]: input voltage for VINM[2] / VINP[2]-VINM[2] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_3(&self) -> u8
pub const fn se_vin_3(&self) -> u8
SE_VIN_3[1:0]: input voltage for VINM[3] / VINP[3]-VINM[3] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_3(&mut self, val: u8)
pub fn set_se_vin_3(&mut self, val: u8)
SE_VIN_3[1:0]: input voltage for VINM[3] / VINP[3]-VINM[3] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_4(&self) -> u8
pub const fn se_vin_4(&self) -> u8
SE_VIN_4[1:0]: input voltage for VINP[0] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_4(&mut self, val: u8)
pub fn set_se_vin_4(&mut self, val: u8)
SE_VIN_4[1:0]: input voltage for VINP[0] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_5(&self) -> u8
pub const fn se_vin_5(&self) -> u8
SE_VIN_5[1:0]: input voltage for VINP[1] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_5(&mut self, val: u8)
pub fn set_se_vin_5(&mut self, val: u8)
SE_VIN_5[1:0]: input voltage for VINP[1] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_6(&self) -> u8
pub const fn se_vin_6(&self) -> u8
SE_VIN_6[1:0]: input voltage for VINP[2] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_6(&mut self, val: u8)
pub fn set_se_vin_6(&mut self, val: u8)
SE_VIN_6[1:0]: input voltage for VINP[2] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub const fn se_vin_7(&self) -> u8
pub const fn se_vin_7(&self) -> u8
SE_VIN_7[1:0]: input voltage for VINP[3] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.
pub fn set_se_vin_7(&mut self, val: u8)
pub fn set_se_vin_7(&mut self, val: u8)
SE_VIN_7[1:0]: input voltage for VINP[3] 00: Vinput = 1.2V 01: reserved (not used for this cut) 10: Vinput = 2.4V 11: Vinput = 3.6V.