Enum stm32wlxx_hal::dac::ModePin
source · #[repr(u8)]pub enum ModePin {
NormBuf = 0,
NormChipBuf = 1,
NormNoBuf = 2,
SampleHoldBuf = 4,
SampleHoldChipBuf = 5,
SampleHoldNoBuf = 6,
}
Expand description
ADC modes that use the A10 output pin
The DAC is connected to the A10 output pin in all these modes. Some modes may also connect to the chip peripherals in addition to the A10 output pin.
The output buffer can be enabled to allow a high drive capability.
Variants§
NormBuf = 0
Normal mode with the buffer enabled
NormChipBuf = 1
Normal mode with the buffer enabled and output to chip peripherals
NormNoBuf = 2
Normal mode with the buffer disabled
SampleHoldBuf = 4
Sample and hold with the buffer enabled
SampleHoldChipBuf = 5
Sample and hold with the buffer enabled and output to chip peripherals
SampleHoldNoBuf = 6
Sample and hold with the buffer disabled
Trait Implementations§
source§impl PartialEq for ModePin
impl PartialEq for ModePin
impl Copy for ModePin
impl Eq for ModePin
impl StructuralEq for ModePin
impl StructuralPartialEq for ModePin
Auto Trait Implementations§
impl RefUnwindSafe for ModePin
impl Send for ModePin
impl Sync for ModePin
impl Unpin for ModePin
impl UnwindSafe for ModePin
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