Struct hpm5361_pac::ADC1

source ·
pub struct ADC1 { /* private fields */ }
Expand description

ADC1

Implementations§

source§

impl ADC1

source

pub const PTR: *const RegisterBlock = {0xf3084000 as *const adc0::RegisterBlock}

Pointer to the register block

source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

source

pub fn config(&self, n: usize) -> &CONFIG

0x00..0x30 - no description available

source

pub fn config_iter(&self) -> impl Iterator<Item = &CONFIG>

Iterator for array of: 0x00..0x30 - no description available

source

pub fn configtrg0a(&self) -> &CONFIG

0x00 - no description available

source

pub fn configtrg0b(&self) -> &CONFIG

0x04 - no description available

source

pub fn configtrg0c(&self) -> &CONFIG

0x08 - no description available

source

pub fn configtrg1a(&self) -> &CONFIG

0x0c - no description available

source

pub fn configtrg1b(&self) -> &CONFIG

0x10 - no description available

source

pub fn configtrg1c(&self) -> &CONFIG

0x14 - no description available

source

pub fn configtrg2a(&self) -> &CONFIG

0x18 - no description available

source

pub fn configtrg2b(&self) -> &CONFIG

0x1c - no description available

source

pub fn configtrg2c(&self) -> &CONFIG

0x20 - no description available

source

pub fn configtrg3a(&self) -> &CONFIG

0x24 - no description available

source

pub fn configtrg3b(&self) -> &CONFIG

0x28 - no description available

source

pub fn configtrg3c(&self) -> &CONFIG

0x2c - no description available

source

pub fn trg_dma_addr(&self) -> &TRG_DMA_ADDR

0x30 - No description avaiable

source

pub fn trg_sw_sta(&self) -> &TRG_SW_STA

0x34 - No description avaiable

source

pub fn bus_result(&self, n: usize) -> &BUS_RESULT

0x400..0x440 - no description available

source

pub fn bus_result_iter(&self) -> impl Iterator<Item = &BUS_RESULT>

Iterator for array of: 0x400..0x440 - no description available

source

pub fn bus_resultchn0(&self) -> &BUS_RESULT

0x400 - no description available

source

pub fn bus_resultchn1(&self) -> &BUS_RESULT

0x404 - no description available

source

pub fn bus_resultchn2(&self) -> &BUS_RESULT

0x408 - no description available

source

pub fn bus_resultchn3(&self) -> &BUS_RESULT

0x40c - no description available

source

pub fn bus_resultchn4(&self) -> &BUS_RESULT

0x410 - no description available

source

pub fn bus_resultchn5(&self) -> &BUS_RESULT

0x414 - no description available

source

pub fn bus_resultchn6(&self) -> &BUS_RESULT

0x418 - no description available

source

pub fn bus_resultchn7(&self) -> &BUS_RESULT

0x41c - no description available

source

pub fn bus_resultchn8(&self) -> &BUS_RESULT

0x420 - no description available

source

pub fn bus_resultchn9(&self) -> &BUS_RESULT

0x424 - no description available

source

pub fn bus_resultchn10(&self) -> &BUS_RESULT

0x428 - no description available

source

pub fn bus_resultchn11(&self) -> &BUS_RESULT

0x42c - no description available

source

pub fn bus_resultchn12(&self) -> &BUS_RESULT

0x430 - no description available

source

pub fn bus_resultchn13(&self) -> &BUS_RESULT

0x434 - no description available

source

pub fn bus_resultchn14(&self) -> &BUS_RESULT

0x438 - no description available

source

pub fn bus_resultchn15(&self) -> &BUS_RESULT

0x43c - no description available

source

pub fn buf_cfg0(&self) -> &BUF_CFG0

0x500 - No description avaiable

source

pub fn seq_cfg0(&self) -> &SEQ_CFG0

0x800 - No description avaiable

source

pub fn seq_dma_addr(&self) -> &SEQ_DMA_ADDR

0x804 - No description avaiable

source

pub fn seq_wr_addr(&self) -> &SEQ_WR_ADDR

0x808 - No description avaiable

source

pub fn seq_dma_cfg(&self) -> &SEQ_DMA_CFG

0x80c - No description avaiable

source

pub fn seq_que(&self, n: usize) -> &SEQ_QUE

0x810..0x850 - no description available

source

pub fn seq_que_iter(&self) -> impl Iterator<Item = &SEQ_QUE>

Iterator for array of: 0x810..0x850 - no description available

source

pub fn seq_quecfg0(&self) -> &SEQ_QUE

0x810 - no description available

source

pub fn seq_quecfg1(&self) -> &SEQ_QUE

0x814 - no description available

source

pub fn seq_quecfg2(&self) -> &SEQ_QUE

0x818 - no description available

source

pub fn seq_quecfg3(&self) -> &SEQ_QUE

0x81c - no description available

source

pub fn seq_quecfg4(&self) -> &SEQ_QUE

0x820 - no description available

source

pub fn seq_quecfg5(&self) -> &SEQ_QUE

0x824 - no description available

source

pub fn seq_quecfg6(&self) -> &SEQ_QUE

0x828 - no description available

source

pub fn seq_quecfg7(&self) -> &SEQ_QUE

0x82c - no description available

source

pub fn seq_quecfg8(&self) -> &SEQ_QUE

0x830 - no description available

source

pub fn seq_quecfg9(&self) -> &SEQ_QUE

0x834 - no description available

source

pub fn seq_quecfg10(&self) -> &SEQ_QUE

0x838 - no description available

source

pub fn seq_quecfg11(&self) -> &SEQ_QUE

0x83c - no description available

source

pub fn seq_quecfg12(&self) -> &SEQ_QUE

0x840 - no description available

source

pub fn seq_quecfg13(&self) -> &SEQ_QUE

0x844 - no description available

source

pub fn seq_quecfg14(&self) -> &SEQ_QUE

0x848 - no description available

source

pub fn seq_quecfg15(&self) -> &SEQ_QUE

0x84c - no description available

source

pub fn seq_high_cfg(&self) -> &SEQ_HIGH_CFG

0x850 - No description avaiable

source

pub fn prd_cfg_chn(&self, n: usize) -> &PRD_CFG_CHN

0xc00..0xcc0 - no description available

source

pub fn prd_cfg_chn_iter(&self) -> impl Iterator<Item = &PRD_CFG_CHN>

Iterator for array of: 0xc00..0xcc0 - no description available

source

pub fn prd_cfg_chnchn0(&self) -> &PRD_CFG_CHN

0xc00..0xc0c - no description available

source

pub fn prd_cfg_chnchn1(&self) -> &PRD_CFG_CHN

0xc10..0xc1c - no description available

source

pub fn prd_cfg_chnchn2(&self) -> &PRD_CFG_CHN

0xc20..0xc2c - no description available

source

pub fn prd_cfg_chnchn3(&self) -> &PRD_CFG_CHN

0xc30..0xc3c - no description available

source

pub fn prd_cfg_chnchn4(&self) -> &PRD_CFG_CHN

0xc40..0xc4c - no description available

source

pub fn prd_cfg_chnchn5(&self) -> &PRD_CFG_CHN

0xc50..0xc5c - no description available

source

pub fn prd_cfg_chnchn6(&self) -> &PRD_CFG_CHN

0xc60..0xc6c - no description available

source

pub fn prd_cfg_chnchn7(&self) -> &PRD_CFG_CHN

0xc70..0xc7c - no description available

source

pub fn prd_cfg_chnchn8(&self) -> &PRD_CFG_CHN

0xc80..0xc8c - no description available

source

pub fn prd_cfg_chnchn9(&self) -> &PRD_CFG_CHN

0xc90..0xc9c - no description available

source

pub fn prd_cfg_chnchn10(&self) -> &PRD_CFG_CHN

0xca0..0xcac - no description available

source

pub fn prd_cfg_chnchn11(&self) -> &PRD_CFG_CHN

0xcb0..0xcbc - no description available

source

pub fn prd_cfg_chnchn12(&self) -> &PRD_CFG_CHN

0xcc0..0xccc - no description available

source

pub fn prd_cfg_chnchn13(&self) -> &PRD_CFG_CHN

0xcd0..0xcdc - no description available

source

pub fn prd_cfg_chnchn14(&self) -> &PRD_CFG_CHN

0xce0..0xcec - no description available

source

pub fn prd_cfg_chnchn15(&self) -> &PRD_CFG_CHN

0xcf0..0xcfc - no description available

source

pub fn sample_cfg(&self, n: usize) -> &SAMPLE_CFG

0x1000..0x1040 - no description available

source

pub fn sample_cfg_iter(&self) -> impl Iterator<Item = &SAMPLE_CFG>

Iterator for array of: 0x1000..0x1040 - no description available

source

pub fn sample_cfgchn0(&self) -> &SAMPLE_CFG

0x1000 - no description available

source

pub fn sample_cfgchn1(&self) -> &SAMPLE_CFG

0x1004 - no description available

source

pub fn sample_cfgchn2(&self) -> &SAMPLE_CFG

0x1008 - no description available

source

pub fn sample_cfgchn3(&self) -> &SAMPLE_CFG

0x100c - no description available

source

pub fn sample_cfgchn4(&self) -> &SAMPLE_CFG

0x1010 - no description available

source

pub fn sample_cfgchn5(&self) -> &SAMPLE_CFG

0x1014 - no description available

source

pub fn sample_cfgchn6(&self) -> &SAMPLE_CFG

0x1018 - no description available

source

pub fn sample_cfgchn7(&self) -> &SAMPLE_CFG

0x101c - no description available

source

pub fn sample_cfgchn8(&self) -> &SAMPLE_CFG

0x1020 - no description available

source

pub fn sample_cfgchn9(&self) -> &SAMPLE_CFG

0x1024 - no description available

source

pub fn sample_cfgchn10(&self) -> &SAMPLE_CFG

0x1028 - no description available

source

pub fn sample_cfgchn11(&self) -> &SAMPLE_CFG

0x102c - no description available

source

pub fn sample_cfgchn12(&self) -> &SAMPLE_CFG

0x1030 - no description available

source

pub fn sample_cfgchn13(&self) -> &SAMPLE_CFG

0x1034 - no description available

source

pub fn sample_cfgchn14(&self) -> &SAMPLE_CFG

0x1038 - no description available

source

pub fn sample_cfgchn15(&self) -> &SAMPLE_CFG

0x103c - no description available

source

pub fn conv_cfg1(&self) -> &CONV_CFG1

0x1104 - No description avaiable

source

pub fn adc_cfg0(&self) -> &ADC_CFG0

0x1108 - No description avaiable

source

pub fn int_sts(&self) -> &INT_STS

0x1110 - No description avaiable

source

pub fn int_en(&self) -> &INT_EN

0x1114 - No description avaiable

source

pub fn ana_ctrl0(&self) -> &ANA_CTRL0

0x1200 - No description avaiable

source

pub fn ana_status(&self) -> &ANA_STATUS

0x1210 - No description avaiable

source

pub fn adc16_params(&self, n: usize) -> &ADC16_PARAMS

0x1400..0x1444 - no description available

source

pub fn adc16_params_iter(&self) -> impl Iterator<Item = &ADC16_PARAMS>

Iterator for array of: 0x1400..0x1444 - no description available

source

pub fn adc16_paramsadc16_para00(&self) -> &ADC16_PARAMS

0x1400 - no description available

source

pub fn adc16_paramsadc16_para01(&self) -> &ADC16_PARAMS

0x1402 - no description available

source

pub fn adc16_paramsadc16_para02(&self) -> &ADC16_PARAMS

0x1404 - no description available

source

pub fn adc16_paramsadc16_para03(&self) -> &ADC16_PARAMS

0x1406 - no description available

source

pub fn adc16_paramsadc16_para04(&self) -> &ADC16_PARAMS

0x1408 - no description available

source

pub fn adc16_paramsadc16_para05(&self) -> &ADC16_PARAMS

0x140a - no description available

source

pub fn adc16_paramsadc16_para06(&self) -> &ADC16_PARAMS

0x140c - no description available

source

pub fn adc16_paramsadc16_para07(&self) -> &ADC16_PARAMS

0x140e - no description available

source

pub fn adc16_paramsadc16_para08(&self) -> &ADC16_PARAMS

0x1410 - no description available

source

pub fn adc16_paramsadc16_para09(&self) -> &ADC16_PARAMS

0x1412 - no description available

source

pub fn adc16_paramsadc16_para10(&self) -> &ADC16_PARAMS

0x1414 - no description available

source

pub fn adc16_paramsadc16_para11(&self) -> &ADC16_PARAMS

0x1416 - no description available

source

pub fn adc16_paramsadc16_para12(&self) -> &ADC16_PARAMS

0x1418 - no description available

source

pub fn adc16_paramsadc16_para13(&self) -> &ADC16_PARAMS

0x141a - no description available

source

pub fn adc16_paramsadc16_para14(&self) -> &ADC16_PARAMS

0x141c - no description available

source

pub fn adc16_paramsadc16_para15(&self) -> &ADC16_PARAMS

0x141e - no description available

source

pub fn adc16_paramsadc16_para16(&self) -> &ADC16_PARAMS

0x1420 - no description available

source

pub fn adc16_paramsadc16_para17(&self) -> &ADC16_PARAMS

0x1422 - no description available

source

pub fn adc16_paramsadc16_para18(&self) -> &ADC16_PARAMS

0x1424 - no description available

source

pub fn adc16_paramsadc16_para19(&self) -> &ADC16_PARAMS

0x1426 - no description available

source

pub fn adc16_paramsadc16_para20(&self) -> &ADC16_PARAMS

0x1428 - no description available

source

pub fn adc16_paramsadc16_para21(&self) -> &ADC16_PARAMS

0x142a - no description available

source

pub fn adc16_paramsadc16_para22(&self) -> &ADC16_PARAMS

0x142c - no description available

source

pub fn adc16_paramsadc16_para23(&self) -> &ADC16_PARAMS

0x142e - no description available

source

pub fn adc16_paramsadc16_para24(&self) -> &ADC16_PARAMS

0x1430 - no description available

source

pub fn adc16_paramsadc16_para25(&self) -> &ADC16_PARAMS

0x1432 - no description available

source

pub fn adc16_paramsadc16_para26(&self) -> &ADC16_PARAMS

0x1434 - no description available

source

pub fn adc16_paramsadc16_para27(&self) -> &ADC16_PARAMS

0x1436 - no description available

source

pub fn adc16_paramsadc16_para28(&self) -> &ADC16_PARAMS

0x1438 - no description available

source

pub fn adc16_paramsadc16_para29(&self) -> &ADC16_PARAMS

0x143a - no description available

source

pub fn adc16_paramsadc16_para30(&self) -> &ADC16_PARAMS

0x143c - no description available

source

pub fn adc16_paramsadc16_para31(&self) -> &ADC16_PARAMS

0x143e - no description available

source

pub fn adc16_paramsadc16_para32(&self) -> &ADC16_PARAMS

0x1440 - no description available

source

pub fn adc16_paramsadc16_para33(&self) -> &ADC16_PARAMS

0x1442 - no description available

source

pub fn adc16_config0(&self) -> &ADC16_CONFIG0

0x1444 - No description avaiable

source

pub fn adc16_config1(&self) -> &ADC16_CONFIG1

0x1460 - No description avaiable

Trait Implementations§

source§

impl Debug for ADC1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ADC1

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl Send for ADC1

Auto Trait Implementations§

§

impl RefUnwindSafe for ADC1

§

impl !Sync for ADC1

§

impl Unpin for ADC1

§

impl UnwindSafe for ADC1

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.