Enum stm32wlxx_hal::pac::dac::mcr::MODE1_A
#[repr(u8)]pub enum MODE1_A {
NormalPinBuffer = 0,
NormalPinChipBuffer = 1,
NormalPinNoBuffer = 2,
NormalChipNoBuffer = 3,
ShpinBuffer = 4,
ShpinChipBuffer = 5,
ShpinNoBuffer = 6,
ShchipNoBuffer = 7,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
DAC Channel 1 mode
Value on reset: 0
Variants§
NormalPinBuffer = 0
0: Normal mode - DAC channelx is connected to external pin with Buffer enabled
NormalPinChipBuffer = 1
1: Normal mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
NormalPinNoBuffer = 2
2: Normal mode - DAC channelx is connected to external pin with Buffer disabled
NormalChipNoBuffer = 3
3: Normal mode - DAC channelx is connected to on chip peripherals with Buffer disabled
ShpinBuffer = 4
4: S&H mode - DAC channelx is connected to external pin with Buffer enabled
ShpinChipBuffer = 5
5: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer enabled
ShpinNoBuffer = 6
6: S&H mode - DAC channelx is connected to external pin and to on chip peripherals with Buffer disabled
ShchipNoBuffer = 7
7: S&H mode - DAC channelx is connected to on chip peripherals with Buffer disabled
Trait Implementations§
impl Copy for MODE1_A
impl StructuralPartialEq for MODE1_A
Auto Trait Implementations§
impl RefUnwindSafe for MODE1_A
impl Send for MODE1_A
impl Sync for MODE1_A
impl Unpin for MODE1_A
impl UnwindSafe for MODE1_A
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