pub struct R(_);
Expand description
Register PAD_DAC1
reader
Implementations§
§impl R
impl R
pub fn pdac1_dac_xpd_force(&self) -> BitReaderRaw<bool>
pub fn pdac1_dac_xpd_force(&self) -> BitReaderRaw<bool>
Bit 10 - Power on DAC1. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0
pub fn pdac1_fun_ie(&self) -> BitReaderRaw<bool>
pub fn pdac1_fun_ie(&self) -> BitReaderRaw<bool>
Bit 11 - the input enable of the pad
pub fn pdac1_slp_oe(&self) -> BitReaderRaw<bool>
pub fn pdac1_slp_oe(&self) -> BitReaderRaw<bool>
Bit 12 - the output enable of the pad in sleep status
pub fn pdac1_slp_ie(&self) -> BitReaderRaw<bool>
pub fn pdac1_slp_ie(&self) -> BitReaderRaw<bool>
Bit 13 - the input enable of the pad in sleep status
pub fn pdac1_slp_sel(&self) -> BitReaderRaw<bool>
pub fn pdac1_slp_sel(&self) -> BitReaderRaw<bool>
Bit 14 - the sleep status selection signal of the pad
pub fn pdac1_fun_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn pdac1_fun_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 15:16 - the functional selection signal of the pad
pub fn pdac1_mux_sel(&self) -> BitReaderRaw<bool>
pub fn pdac1_mux_sel(&self) -> BitReaderRaw<bool>
Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function
pub fn pdac1_xpd_dac(&self) -> BitReaderRaw<bool>
pub fn pdac1_xpd_dac(&self) -> BitReaderRaw<bool>
Bit 18 - Power on DAC1. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0
pub fn pdac1_hold(&self) -> BitReaderRaw<bool>
pub fn pdac1_hold(&self) -> BitReaderRaw<bool>
Bit 29 - hold the current value of the output when setting the hold to Ò1Ó
Methods from Deref<Target = R<PAD_DAC1_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<PAD_DAC1_SPEC>> for R
impl From<R<PAD_DAC1_SPEC>> for R
§fn from(reader: R<PAD_DAC1_SPEC>) -> R
fn from(reader: R<PAD_DAC1_SPEC>) -> R
Converts to this type from the input type.