Enum stm32f407g_disc::dac::cr::WAVE1R
pub enum WAVE1R {
DISABLED,
NOISE,
TRIANGLE,
_Reserved(u8),
}
Expand description
Possible values of the field WAVE1
Variants§
DISABLED
Wave generation disabled
NOISE
Noise wave generation enabled
TRIANGLE
Triangle wave generation enabled
_Reserved(u8)
Reserved
Implementations§
§impl WAVE1R
impl WAVE1R
pub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
pub fn is_triangle(&self) -> bool
pub fn is_triangle(&self) -> bool
Checks if the value of the field is TRIANGLE