Struct d1_pac::audio_codec::ac_dac_cnt::R
source · pub struct R(/* private fields */);
Expand description
Register ac_dac_cnt
reader
Implementations§
source§impl R
impl R
sourcepub fn tx_cnt(&self) -> TX_CNT_R
pub fn tx_cnt(&self) -> TX_CNT_R
Bits 0:31 - TX Sample Counter
The audio sample number of sending into TXFIFO.
When one sample is put into TXFIFO by DMA or by host IO, the TX sample counter register increases by one. The TX sample counter register can be set to any initial valve at any time. After being updated by the initial value, the counter register should count from this initial value.
Methods from Deref<Target = R<AC_DAC_CNT_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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