#[repr(transparent)]pub struct Swcout2(pub u16);Expand description
Software Controlled Output Register.
Tuple Fields§
§0: u16Implementations§
Source§impl Swcout2
impl Swcout2
Sourcepub const fn sm0out45(&self) -> bool
pub const fn sm0out45(&self) -> bool
Submodule 0 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 0 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 0 instead of PWM45.
Sourcepub const fn set_sm0out45(&mut self, val: bool)
pub const fn set_sm0out45(&mut self, val: bool)
Submodule 0 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 0 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 0 instead of PWM45.
Sourcepub const fn sm0out23(&self) -> bool
pub const fn sm0out23(&self) -> bool
Submodule 0 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 0 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 0 instead of PWM23.
Sourcepub const fn set_sm0out23(&mut self, val: bool)
pub const fn set_sm0out23(&mut self, val: bool)
Submodule 0 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 0 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 0 instead of PWM23.
Sourcepub const fn sm1out45(&self) -> bool
pub const fn sm1out45(&self) -> bool
Submodule 1 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 1 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 1 instead of PWM45.
Sourcepub const fn set_sm1out45(&mut self, val: bool)
pub const fn set_sm1out45(&mut self, val: bool)
Submodule 1 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 1 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 1 instead of PWM45.
Sourcepub const fn sm1out23(&self) -> bool
pub const fn sm1out23(&self) -> bool
Submodule 1 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 1 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 1 instead of PWM23.
Sourcepub const fn set_sm1out23(&mut self, val: bool)
pub const fn set_sm1out23(&mut self, val: bool)
Submodule 1 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 1 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 1 instead of PWM23.
Sourcepub const fn sm2out45(&self) -> bool
pub const fn sm2out45(&self) -> bool
Submodule 2 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 2 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 2 instead of PWM45.
Sourcepub const fn set_sm2out45(&mut self, val: bool)
pub const fn set_sm2out45(&mut self, val: bool)
Submodule 2 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 2 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 2 instead of PWM45.
Sourcepub const fn sm2out23(&self) -> bool
pub const fn sm2out23(&self) -> bool
Submodule 2 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 2 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 2 instead of PWM23.
Sourcepub const fn set_sm2out23(&mut self, val: bool)
pub const fn set_sm2out23(&mut self, val: bool)
Submodule 2 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 2 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 2 instead of PWM23.
Sourcepub const fn sm3out45(&self) -> bool
pub const fn sm3out45(&self) -> bool
Submodule 3 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 3 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 3 instead of PWM45.
Sourcepub const fn set_sm3out45(&mut self, val: bool)
pub const fn set_sm3out45(&mut self, val: bool)
Submodule 3 Software Controlled Output 45. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 3 instead of PWM45.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 3 instead of PWM45.
Sourcepub const fn sm3out23(&self) -> bool
pub const fn sm3out23(&self) -> bool
Submodule 3 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 3 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 3 instead of PWM23.
Sourcepub const fn set_sm3out23(&mut self, val: bool)
pub const fn set_sm3out23(&mut self, val: bool)
Submodule 3 Software Controlled Output 23. Raw bit values: false (0) = Logic0: A logic 0 is supplied to the deadtime generator of submodule 3 instead of PWM23.; true (1) = Logic1: A logic 1 is supplied to the deadtime generator of submodule 3 instead of PWM23.