Struct d1_pac::gpadc::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 17 fields
pub gp_sr_con: GP_SR_CON,
pub gp_ctrl: GP_CTRL,
pub gp_cs_en: GP_CS_EN,
pub gp_fifo_intc: GP_FIFO_INTC,
pub gp_fifo_ints: GP_FIFO_INTS,
pub gp_fifo_data: GP_FIFO_DATA,
pub gp_cdata: GP_CDATA,
pub gp_datal_intc: GP_DATAL_INTC,
pub gp_datah_intc: GP_DATAH_INTC,
pub gp_data_intc: GP_DATA_INTC,
pub gp_datal_ints: GP_DATAL_INTS,
pub gp_datah_ints: GP_DATAH_INTS,
pub gp_data_ints: GP_DATA_INTS,
pub gp_ch0_cmp_data: GP_CH0_CMP_DATA,
pub gp_ch1_cmp_data: GP_CH1_CMP_DATA,
pub gp_ch0_data: GP_CH0_DATA,
pub gp_ch1_data: GP_CH1_DATA,
/* private fields */
}Expand description
Register block
Fields§
§gp_sr_con: GP_SR_CON0x00 - GPADC Sample Rate Configure Register
gp_ctrl: GP_CTRL0x04 - GPADC Control Register
gp_cs_en: GP_CS_EN0x08 - GPADC Compare and Select Enable Register
gp_fifo_intc: GP_FIFO_INTC0x0c - GPADC FIFO Interrupt Control Register
gp_fifo_ints: GP_FIFO_INTS0x10 - GPADC FIFO Interrupt Status Register
gp_fifo_data: GP_FIFO_DATA0x14 - GPADC FIFO Data Register
gp_cdata: GP_CDATA0x18 - GPADC Calibration Data Register
gp_datal_intc: GP_DATAL_INTC0x20 - GPADC Data Low Interrupt Configure Register
gp_datah_intc: GP_DATAH_INTC0x24 - GPADC Data High Interrupt Configure Register
gp_data_intc: GP_DATA_INTC0x28 - GPADC Data Interrupt Configure Register
gp_datal_ints: GP_DATAL_INTS0x30 - GPADC Data Low Interrupt Status Register
gp_datah_ints: GP_DATAH_INTS0x34 - GPADC Data High Interrupt Status Register
gp_data_ints: GP_DATA_INTS0x38 - GPADC Data Interrupt Status Register
gp_ch0_cmp_data: GP_CH0_CMP_DATA0x40 - GPADC CH0 Compare Data Register
gp_ch1_cmp_data: GP_CH1_CMP_DATA0x44 - GPADC CH1 Compare Data Register
gp_ch0_data: GP_CH0_DATA0x80 - GPADC CH0 Data Register
gp_ch1_data: GP_CH1_DATA0x84 - GPADC CH1 Data Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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