Struct esp32c6::SOC_ETM

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

Event Task Matrix

Implementations§

source§

impl SOC_ETM

source

pub const PTR: *const RegisterBlock = {0x60013000 as *const soc_etm::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 ch_ena_ad0(&self) -> &CH_ENA_AD0

0x00 - channel enable register

source

pub fn ch_ena_ad0_set(&self) -> &CH_ENA_AD0_SET

0x04 - channel enable set register

source

pub fn ch_ena_ad0_clr(&self) -> &CH_ENA_AD0_CLR

0x08 - channel enable clear register

source

pub fn ch_ena_ad1(&self) -> &CH_ENA_AD1

0x0c - channel enable register

source

pub fn ch_ena_ad1_set(&self) -> &CH_ENA_AD1_SET

0x10 - channel enable set register

source

pub fn ch_ena_ad1_clr(&self) -> &CH_ENA_AD1_CLR

0x14 - channel enable clear register

source

pub fn ch0_evt_id(&self) -> &CH0_EVT_ID

0x18 - channel0 event id register

source

pub fn ch0_task_id(&self) -> &CH0_TASK_ID

0x1c - channel0 task id register

source

pub fn ch1_evt_id(&self) -> &CH1_EVT_ID

0x20 - channel1 event id register

source

pub fn ch1_task_id(&self) -> &CH1_TASK_ID

0x24 - channel1 task id register

source

pub fn ch2_evt_id(&self) -> &CH2_EVT_ID

0x28 - channel2 event id register

source

pub fn ch2_task_id(&self) -> &CH2_TASK_ID

0x2c - channel2 task id register

source

pub fn ch3_evt_id(&self) -> &CH3_EVT_ID

0x30 - channel3 event id register

source

pub fn ch3_task_id(&self) -> &CH3_TASK_ID

0x34 - channel3 task id register

source

pub fn ch4_evt_id(&self) -> &CH4_EVT_ID

0x38 - channel4 event id register

source

pub fn ch4_task_id(&self) -> &CH4_TASK_ID

0x3c - channel4 task id register

source

pub fn ch5_evt_id(&self) -> &CH5_EVT_ID

0x40 - channel5 event id register

source

pub fn ch5_task_id(&self) -> &CH5_TASK_ID

0x44 - channel5 task id register

source

pub fn ch6_evt_id(&self) -> &CH6_EVT_ID

0x48 - channel6 event id register

source

pub fn ch6_task_id(&self) -> &CH6_TASK_ID

0x4c - channel6 task id register

source

pub fn ch7_evt_id(&self) -> &CH7_EVT_ID

0x50 - channel7 event id register

source

pub fn ch7_task_id(&self) -> &CH7_TASK_ID

0x54 - channel7 task id register

source

pub fn ch8_evt_id(&self) -> &CH8_EVT_ID

0x58 - channel8 event id register

source

pub fn ch8_task_id(&self) -> &CH8_TASK_ID

0x5c - channel8 task id register

source

pub fn ch9_evt_id(&self) -> &CH9_EVT_ID

0x60 - channel9 event id register

source

pub fn ch9_task_id(&self) -> &CH9_TASK_ID

0x64 - channel9 task id register

source

pub fn ch10_evt_id(&self) -> &CH10_EVT_ID

0x68 - channel10 event id register

source

pub fn ch10_task_id(&self) -> &CH10_TASK_ID

0x6c - channel10 task id register

source

pub fn ch11_evt_id(&self) -> &CH11_EVT_ID

0x70 - channel11 event id register

source

pub fn ch11_task_id(&self) -> &CH11_TASK_ID

0x74 - channel11 task id register

source

pub fn ch12_evt_id(&self) -> &CH12_EVT_ID

0x78 - channel12 event id register

source

pub fn ch12_task_id(&self) -> &CH12_TASK_ID

0x7c - channel12 task id register

source

pub fn ch13_evt_id(&self) -> &CH13_EVT_ID

0x80 - channel13 event id register

source

pub fn ch13_task_id(&self) -> &CH13_TASK_ID

0x84 - channel13 task id register

source

pub fn ch14_evt_id(&self) -> &CH14_EVT_ID

0x88 - channel14 event id register

source

pub fn ch14_task_id(&self) -> &CH14_TASK_ID

0x8c - channel14 task id register

source

pub fn ch15_evt_id(&self) -> &CH15_EVT_ID

0x90 - channel15 event id register

source

pub fn ch15_task_id(&self) -> &CH15_TASK_ID

0x94 - channel15 task id register

source

pub fn ch16_evt_id(&self) -> &CH16_EVT_ID

0x98 - channel16 event id register

source

pub fn ch16_task_id(&self) -> &CH16_TASK_ID

0x9c - channel16 task id register

source

pub fn ch17_evt_id(&self) -> &CH17_EVT_ID

0xa0 - channel17 event id register

source

pub fn ch17_task_id(&self) -> &CH17_TASK_ID

0xa4 - channel17 task id register

source

pub fn ch18_evt_id(&self) -> &CH18_EVT_ID

0xa8 - channel18 event id register

source

pub fn ch18_task_id(&self) -> &CH18_TASK_ID

0xac - channel18 task id register

source

pub fn ch19_evt_id(&self) -> &CH19_EVT_ID

0xb0 - channel19 event id register

source

pub fn ch19_task_id(&self) -> &CH19_TASK_ID

0xb4 - channel19 task id register

source

pub fn ch20_evt_id(&self) -> &CH20_EVT_ID

0xb8 - channel20 event id register

source

pub fn ch20_task_id(&self) -> &CH20_TASK_ID

0xbc - channel20 task id register

source

pub fn ch21_evt_id(&self) -> &CH21_EVT_ID

0xc0 - channel21 event id register

source

pub fn ch21_task_id(&self) -> &CH21_TASK_ID

0xc4 - channel21 task id register

source

pub fn ch22_evt_id(&self) -> &CH22_EVT_ID

0xc8 - channel22 event id register

source

pub fn ch22_task_id(&self) -> &CH22_TASK_ID

0xcc - channel22 task id register

source

pub fn ch23_evt_id(&self) -> &CH23_EVT_ID

0xd0 - channel23 event id register

source

pub fn ch23_task_id(&self) -> &CH23_TASK_ID

0xd4 - channel23 task id register

source

pub fn ch24_evt_id(&self) -> &CH24_EVT_ID

0xd8 - channel24 event id register

source

pub fn ch24_task_id(&self) -> &CH24_TASK_ID

0xdc - channel24 task id register

source

pub fn ch25_evt_id(&self) -> &CH25_EVT_ID

0xe0 - channel25 event id register

source

pub fn ch25_task_id(&self) -> &CH25_TASK_ID

0xe4 - channel25 task id register

source

pub fn ch26_evt_id(&self) -> &CH26_EVT_ID

0xe8 - channel26 event id register

source

pub fn ch26_task_id(&self) -> &CH26_TASK_ID

0xec - channel26 task id register

source

pub fn ch27_evt_id(&self) -> &CH27_EVT_ID

0xf0 - channel27 event id register

source

pub fn ch27_task_id(&self) -> &CH27_TASK_ID

0xf4 - channel27 task id register

source

pub fn ch28_evt_id(&self) -> &CH28_EVT_ID

0xf8 - channel28 event id register

source

pub fn ch28_task_id(&self) -> &CH28_TASK_ID

0xfc - channel28 task id register

source

pub fn ch29_evt_id(&self) -> &CH29_EVT_ID

0x100 - channel29 event id register

source

pub fn ch29_task_id(&self) -> &CH29_TASK_ID

0x104 - channel29 task id register

source

pub fn ch30_evt_id(&self) -> &CH30_EVT_ID

0x108 - channel30 event id register

source

pub fn ch30_task_id(&self) -> &CH30_TASK_ID

0x10c - channel30 task id register

source

pub fn ch31_evt_id(&self) -> &CH31_EVT_ID

0x110 - channel31 event id register

source

pub fn ch31_task_id(&self) -> &CH31_TASK_ID

0x114 - channel31 task id register

source

pub fn ch32_evt_id(&self) -> &CH32_EVT_ID

0x118 - channel32 event id register

source

pub fn ch32_task_id(&self) -> &CH32_TASK_ID

0x11c - channel32 task id register

source

pub fn ch33_evt_id(&self) -> &CH33_EVT_ID

0x120 - channel33 event id register

source

pub fn ch33_task_id(&self) -> &CH33_TASK_ID

0x124 - channel33 task id register

source

pub fn ch34_evt_id(&self) -> &CH34_EVT_ID

0x128 - channel34 event id register

source

pub fn ch34_task_id(&self) -> &CH34_TASK_ID

0x12c - channel34 task id register

source

pub fn ch35_evt_id(&self) -> &CH35_EVT_ID

0x130 - channel35 event id register

source

pub fn ch35_task_id(&self) -> &CH35_TASK_ID

0x134 - channel35 task id register

source

pub fn ch36_evt_id(&self) -> &CH36_EVT_ID

0x138 - channel36 event id register

source

pub fn ch36_task_id(&self) -> &CH36_TASK_ID

0x13c - channel36 task id register

source

pub fn ch37_evt_id(&self) -> &CH37_EVT_ID

0x140 - channel37 event id register

source

pub fn ch37_task_id(&self) -> &CH37_TASK_ID

0x144 - channel37 task id register

source

pub fn ch38_evt_id(&self) -> &CH38_EVT_ID

0x148 - channel38 event id register

source

pub fn ch38_task_id(&self) -> &CH38_TASK_ID

0x14c - channel38 task id register

source

pub fn ch39_evt_id(&self) -> &CH39_EVT_ID

0x150 - channel39 event id register

source

pub fn ch39_task_id(&self) -> &CH39_TASK_ID

0x154 - channel39 task id register

source

pub fn ch40_evt_id(&self) -> &CH40_EVT_ID

0x158 - channel40 event id register

source

pub fn ch40_task_id(&self) -> &CH40_TASK_ID

0x15c - channel40 task id register

source

pub fn ch41_evt_id(&self) -> &CH41_EVT_ID

0x160 - channel41 event id register

source

pub fn ch41_task_id(&self) -> &CH41_TASK_ID

0x164 - channel41 task id register

source

pub fn ch42_evt_id(&self) -> &CH42_EVT_ID

0x168 - channel42 event id register

source

pub fn ch42_task_id(&self) -> &CH42_TASK_ID

0x16c - channel42 task id register

source

pub fn ch43_evt_id(&self) -> &CH43_EVT_ID

0x170 - channel43 event id register

source

pub fn ch43_task_id(&self) -> &CH43_TASK_ID

0x174 - channel43 task id register

source

pub fn ch44_evt_id(&self) -> &CH44_EVT_ID

0x178 - channel44 event id register

source

pub fn ch44_task_id(&self) -> &CH44_TASK_ID

0x17c - channel44 task id register

source

pub fn ch45_evt_id(&self) -> &CH45_EVT_ID

0x180 - channel45 event id register

source

pub fn ch45_task_id(&self) -> &CH45_TASK_ID

0x184 - channel45 task id register

source

pub fn ch46_evt_id(&self) -> &CH46_EVT_ID

0x188 - channel46 event id register

source

pub fn ch46_task_id(&self) -> &CH46_TASK_ID

0x18c - channel46 task id register

source

pub fn ch47_evt_id(&self) -> &CH47_EVT_ID

0x190 - channel47 event id register

source

pub fn ch47_task_id(&self) -> &CH47_TASK_ID

0x194 - channel47 task id register

source

pub fn ch48_evt_id(&self) -> &CH48_EVT_ID

0x198 - channel48 event id register

source

pub fn ch48_task_id(&self) -> &CH48_TASK_ID

0x19c - channel48 task id register

source

pub fn ch49_evt_id(&self) -> &CH49_EVT_ID

0x1a0 - channel49 event id register

source

pub fn ch49_task_id(&self) -> &CH49_TASK_ID

0x1a4 - channel49 task id register

source

pub fn clk_en(&self) -> &CLK_EN

0x1a8 - etm clock enable register

source

pub fn date(&self) -> &DATE

0x1ac - etm date register

Trait Implementations§

source§

impl Debug for SOC_ETM

source§

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

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

impl Deref for SOC_ETM

§

type Target = RegisterBlock

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl Send for SOC_ETM

Auto Trait Implementations§

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.