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_CON
0x00 - GPADC Sample Rate Configure Register
gp_ctrl: GP_CTRL
0x04 - GPADC Control Register
gp_cs_en: GP_CS_EN
0x08 - GPADC Compare and Select Enable Register
gp_fifo_intc: GP_FIFO_INTC
0x0c - GPADC FIFO Interrupt Control Register
gp_fifo_ints: GP_FIFO_INTS
0x10 - GPADC FIFO Interrupt Status Register
gp_fifo_data: GP_FIFO_DATA
0x14 - GPADC FIFO Data Register
gp_cdata: GP_CDATA
0x18 - GPADC Calibration Data Register
gp_datal_intc: GP_DATAL_INTC
0x20 - GPADC Data Low Interrupt Configure Register
gp_datah_intc: GP_DATAH_INTC
0x24 - GPADC Data High Interrupt Configure Register
gp_data_intc: GP_DATA_INTC
0x28 - GPADC Data Interrupt Configure Register
gp_datal_ints: GP_DATAL_INTS
0x30 - GPADC Data Low Interrupt Status Register
gp_datah_ints: GP_DATAH_INTS
0x34 - GPADC Data High Interrupt Status Register
gp_data_ints: GP_DATA_INTS
0x38 - GPADC Data Interrupt Status Register
gp_ch0_cmp_data: GP_CH0_CMP_DATA
0x40 - GPADC CH0 Compare Data Register
gp_ch1_cmp_data: GP_CH1_CMP_DATA
0x44 - GPADC CH1 Compare Data Register
gp_ch0_data: GP_CH0_DATA
0x80 - GPADC CH0 Data Register
gp_ch1_data: GP_CH1_DATA
0x84 - 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