From efd414ce11705da5a1de00dd7f48c2351747fd21 Mon Sep 17 00:00:00 2001 From: Zgarbul Andrey Date: Sun, 31 Mar 2024 16:39:18 +0300 Subject: [PATCH] SOC_ETM collect (#222) --- common_patches/etm_collect.yaml | 22 + esp32c6/src/soc_etm.rs | 1009 +------------------------ esp32c6/src/soc_etm/ch.rs | 27 + esp32c6/src/soc_etm/ch/evt_id.rs | 54 ++ esp32c6/src/soc_etm/ch/task_id.rs | 54 ++ esp32c6/src/soc_etm/ch0_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch0_task_id.rs | 57 -- esp32c6/src/soc_etm/ch10_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch10_task_id.rs | 57 -- esp32c6/src/soc_etm/ch11_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch11_task_id.rs | 57 -- esp32c6/src/soc_etm/ch12_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch12_task_id.rs | 57 -- esp32c6/src/soc_etm/ch13_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch13_task_id.rs | 57 -- esp32c6/src/soc_etm/ch14_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch14_task_id.rs | 57 -- esp32c6/src/soc_etm/ch15_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch15_task_id.rs | 57 -- esp32c6/src/soc_etm/ch16_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch16_task_id.rs | 57 -- esp32c6/src/soc_etm/ch17_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch17_task_id.rs | 57 -- esp32c6/src/soc_etm/ch18_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch18_task_id.rs | 57 -- esp32c6/src/soc_etm/ch19_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch19_task_id.rs | 57 -- esp32c6/src/soc_etm/ch1_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch1_task_id.rs | 57 -- esp32c6/src/soc_etm/ch20_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch20_task_id.rs | 57 -- esp32c6/src/soc_etm/ch21_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch21_task_id.rs | 57 -- esp32c6/src/soc_etm/ch22_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch22_task_id.rs | 57 -- esp32c6/src/soc_etm/ch23_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch23_task_id.rs | 57 -- esp32c6/src/soc_etm/ch24_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch24_task_id.rs | 57 -- esp32c6/src/soc_etm/ch25_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch25_task_id.rs | 57 -- esp32c6/src/soc_etm/ch26_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch26_task_id.rs | 57 -- esp32c6/src/soc_etm/ch27_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch27_task_id.rs | 57 -- esp32c6/src/soc_etm/ch28_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch28_task_id.rs | 57 -- esp32c6/src/soc_etm/ch29_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch29_task_id.rs | 57 -- esp32c6/src/soc_etm/ch2_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch2_task_id.rs | 57 -- esp32c6/src/soc_etm/ch30_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch30_task_id.rs | 57 -- esp32c6/src/soc_etm/ch31_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch31_task_id.rs | 57 -- esp32c6/src/soc_etm/ch32_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch32_task_id.rs | 57 -- esp32c6/src/soc_etm/ch33_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch33_task_id.rs | 57 -- esp32c6/src/soc_etm/ch34_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch34_task_id.rs | 57 -- esp32c6/src/soc_etm/ch35_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch35_task_id.rs | 57 -- esp32c6/src/soc_etm/ch36_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch36_task_id.rs | 57 -- esp32c6/src/soc_etm/ch37_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch37_task_id.rs | 57 -- esp32c6/src/soc_etm/ch38_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch38_task_id.rs | 57 -- esp32c6/src/soc_etm/ch39_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch39_task_id.rs | 57 -- esp32c6/src/soc_etm/ch3_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch3_task_id.rs | 57 -- esp32c6/src/soc_etm/ch40_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch40_task_id.rs | 57 -- esp32c6/src/soc_etm/ch41_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch41_task_id.rs | 57 -- esp32c6/src/soc_etm/ch42_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch42_task_id.rs | 57 -- esp32c6/src/soc_etm/ch43_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch43_task_id.rs | 57 -- esp32c6/src/soc_etm/ch44_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch44_task_id.rs | 57 -- esp32c6/src/soc_etm/ch45_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch45_task_id.rs | 57 -- esp32c6/src/soc_etm/ch46_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch46_task_id.rs | 57 -- esp32c6/src/soc_etm/ch47_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch47_task_id.rs | 57 -- esp32c6/src/soc_etm/ch48_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch48_task_id.rs | 57 -- esp32c6/src/soc_etm/ch49_evt_id.rs | 57 -- esp32c6/src/soc_etm/ch49_task_id.rs | 57 -- esp32c6/src/soc_etm/ch4_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch4_task_id.rs | 57 -- esp32c6/src/soc_etm/ch5_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch5_task_id.rs | 57 -- esp32c6/src/soc_etm/ch6_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch6_task_id.rs | 57 -- esp32c6/src/soc_etm/ch7_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch7_task_id.rs | 57 -- esp32c6/src/soc_etm/ch8_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch8_task_id.rs | 57 -- esp32c6/src/soc_etm/ch9_evt_id.rs | 54 -- esp32c6/src/soc_etm/ch9_task_id.rs | 57 -- esp32c6/src/soc_etm/ch_ena_ad0.rs | 413 ++++------ esp32c6/src/soc_etm/ch_ena_ad0_clr.rs | 204 ++--- esp32c6/src/soc_etm/ch_ena_ad0_set.rs | 204 ++--- esp32c6/src/soc_etm/ch_ena_ad1.rs | 245 +++--- esp32c6/src/soc_etm/ch_ena_ad1_clr.rs | 120 ++- esp32c6/src/soc_etm/ch_ena_ad1_set.rs | 120 ++- esp32c6/svd/patches/esp32c6.yaml | 3 + esp32h2/src/soc_etm.rs | 1009 +------------------------ esp32h2/src/soc_etm/ch.rs | 27 + esp32h2/src/soc_etm/ch/evt_id.rs | 54 ++ esp32h2/src/soc_etm/ch/task_id.rs | 54 ++ esp32h2/src/soc_etm/ch0_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch0_task_id.rs | 57 -- esp32h2/src/soc_etm/ch10_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch10_task_id.rs | 57 -- esp32h2/src/soc_etm/ch11_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch11_task_id.rs | 57 -- esp32h2/src/soc_etm/ch12_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch12_task_id.rs | 57 -- esp32h2/src/soc_etm/ch13_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch13_task_id.rs | 57 -- esp32h2/src/soc_etm/ch14_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch14_task_id.rs | 57 -- esp32h2/src/soc_etm/ch15_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch15_task_id.rs | 57 -- esp32h2/src/soc_etm/ch16_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch16_task_id.rs | 57 -- esp32h2/src/soc_etm/ch17_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch17_task_id.rs | 57 -- esp32h2/src/soc_etm/ch18_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch18_task_id.rs | 57 -- esp32h2/src/soc_etm/ch19_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch19_task_id.rs | 57 -- esp32h2/src/soc_etm/ch1_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch1_task_id.rs | 57 -- esp32h2/src/soc_etm/ch20_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch20_task_id.rs | 57 -- esp32h2/src/soc_etm/ch21_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch21_task_id.rs | 57 -- esp32h2/src/soc_etm/ch22_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch22_task_id.rs | 57 -- esp32h2/src/soc_etm/ch23_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch23_task_id.rs | 57 -- esp32h2/src/soc_etm/ch24_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch24_task_id.rs | 57 -- esp32h2/src/soc_etm/ch25_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch25_task_id.rs | 57 -- esp32h2/src/soc_etm/ch26_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch26_task_id.rs | 57 -- esp32h2/src/soc_etm/ch27_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch27_task_id.rs | 57 -- esp32h2/src/soc_etm/ch28_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch28_task_id.rs | 57 -- esp32h2/src/soc_etm/ch29_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch29_task_id.rs | 57 -- esp32h2/src/soc_etm/ch2_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch2_task_id.rs | 57 -- esp32h2/src/soc_etm/ch30_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch30_task_id.rs | 57 -- esp32h2/src/soc_etm/ch31_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch31_task_id.rs | 57 -- esp32h2/src/soc_etm/ch32_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch32_task_id.rs | 57 -- esp32h2/src/soc_etm/ch33_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch33_task_id.rs | 57 -- esp32h2/src/soc_etm/ch34_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch34_task_id.rs | 57 -- esp32h2/src/soc_etm/ch35_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch35_task_id.rs | 57 -- esp32h2/src/soc_etm/ch36_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch36_task_id.rs | 57 -- esp32h2/src/soc_etm/ch37_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch37_task_id.rs | 57 -- esp32h2/src/soc_etm/ch38_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch38_task_id.rs | 57 -- esp32h2/src/soc_etm/ch39_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch39_task_id.rs | 57 -- esp32h2/src/soc_etm/ch3_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch3_task_id.rs | 57 -- esp32h2/src/soc_etm/ch40_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch40_task_id.rs | 57 -- esp32h2/src/soc_etm/ch41_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch41_task_id.rs | 57 -- esp32h2/src/soc_etm/ch42_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch42_task_id.rs | 57 -- esp32h2/src/soc_etm/ch43_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch43_task_id.rs | 57 -- esp32h2/src/soc_etm/ch44_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch44_task_id.rs | 57 -- esp32h2/src/soc_etm/ch45_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch45_task_id.rs | 57 -- esp32h2/src/soc_etm/ch46_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch46_task_id.rs | 57 -- esp32h2/src/soc_etm/ch47_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch47_task_id.rs | 57 -- esp32h2/src/soc_etm/ch48_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch48_task_id.rs | 57 -- esp32h2/src/soc_etm/ch49_evt_id.rs | 57 -- esp32h2/src/soc_etm/ch49_task_id.rs | 57 -- esp32h2/src/soc_etm/ch4_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch4_task_id.rs | 57 -- esp32h2/src/soc_etm/ch5_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch5_task_id.rs | 57 -- esp32h2/src/soc_etm/ch6_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch6_task_id.rs | 57 -- esp32h2/src/soc_etm/ch7_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch7_task_id.rs | 57 -- esp32h2/src/soc_etm/ch8_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch8_task_id.rs | 57 -- esp32h2/src/soc_etm/ch9_evt_id.rs | 54 -- esp32h2/src/soc_etm/ch9_task_id.rs | 57 -- esp32h2/src/soc_etm/ch_ena_ad0.rs | 413 ++++------ esp32h2/src/soc_etm/ch_ena_ad0_clr.rs | 204 ++--- esp32h2/src/soc_etm/ch_ena_ad0_set.rs | 204 ++--- esp32h2/src/soc_etm/ch_ena_ad1.rs | 245 +++--- esp32h2/src/soc_etm/ch_ena_ad1_clr.rs | 120 ++- esp32h2/src/soc_etm/ch_ena_ad1_set.rs | 120 ++- esp32h2/svd/patches/esp32h2.yaml | 3 + esp32p4/src/soc_etm.rs | 1009 +------------------------ esp32p4/src/soc_etm/ch.rs | 27 + esp32p4/src/soc_etm/ch/evt_id.rs | 54 ++ esp32p4/src/soc_etm/ch/task_id.rs | 54 ++ esp32p4/src/soc_etm/ch0_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch0_task_id.rs | 57 -- esp32p4/src/soc_etm/ch10_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch10_task_id.rs | 57 -- esp32p4/src/soc_etm/ch11_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch11_task_id.rs | 57 -- esp32p4/src/soc_etm/ch12_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch12_task_id.rs | 57 -- esp32p4/src/soc_etm/ch13_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch13_task_id.rs | 57 -- esp32p4/src/soc_etm/ch14_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch14_task_id.rs | 57 -- esp32p4/src/soc_etm/ch15_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch15_task_id.rs | 57 -- esp32p4/src/soc_etm/ch16_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch16_task_id.rs | 57 -- esp32p4/src/soc_etm/ch17_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch17_task_id.rs | 57 -- esp32p4/src/soc_etm/ch18_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch18_task_id.rs | 57 -- esp32p4/src/soc_etm/ch19_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch19_task_id.rs | 57 -- esp32p4/src/soc_etm/ch1_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch1_task_id.rs | 57 -- esp32p4/src/soc_etm/ch20_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch20_task_id.rs | 57 -- esp32p4/src/soc_etm/ch21_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch21_task_id.rs | 57 -- esp32p4/src/soc_etm/ch22_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch22_task_id.rs | 57 -- esp32p4/src/soc_etm/ch23_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch23_task_id.rs | 57 -- esp32p4/src/soc_etm/ch24_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch24_task_id.rs | 57 -- esp32p4/src/soc_etm/ch25_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch25_task_id.rs | 57 -- esp32p4/src/soc_etm/ch26_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch26_task_id.rs | 57 -- esp32p4/src/soc_etm/ch27_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch27_task_id.rs | 57 -- esp32p4/src/soc_etm/ch28_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch28_task_id.rs | 57 -- esp32p4/src/soc_etm/ch29_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch29_task_id.rs | 57 -- esp32p4/src/soc_etm/ch2_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch2_task_id.rs | 57 -- esp32p4/src/soc_etm/ch30_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch30_task_id.rs | 57 -- esp32p4/src/soc_etm/ch31_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch31_task_id.rs | 57 -- esp32p4/src/soc_etm/ch32_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch32_task_id.rs | 57 -- esp32p4/src/soc_etm/ch33_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch33_task_id.rs | 57 -- esp32p4/src/soc_etm/ch34_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch34_task_id.rs | 57 -- esp32p4/src/soc_etm/ch35_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch35_task_id.rs | 57 -- esp32p4/src/soc_etm/ch36_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch36_task_id.rs | 57 -- esp32p4/src/soc_etm/ch37_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch37_task_id.rs | 57 -- esp32p4/src/soc_etm/ch38_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch38_task_id.rs | 57 -- esp32p4/src/soc_etm/ch39_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch39_task_id.rs | 57 -- esp32p4/src/soc_etm/ch3_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch3_task_id.rs | 57 -- esp32p4/src/soc_etm/ch40_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch40_task_id.rs | 57 -- esp32p4/src/soc_etm/ch41_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch41_task_id.rs | 57 -- esp32p4/src/soc_etm/ch42_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch42_task_id.rs | 57 -- esp32p4/src/soc_etm/ch43_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch43_task_id.rs | 57 -- esp32p4/src/soc_etm/ch44_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch44_task_id.rs | 57 -- esp32p4/src/soc_etm/ch45_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch45_task_id.rs | 57 -- esp32p4/src/soc_etm/ch46_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch46_task_id.rs | 57 -- esp32p4/src/soc_etm/ch47_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch47_task_id.rs | 57 -- esp32p4/src/soc_etm/ch48_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch48_task_id.rs | 57 -- esp32p4/src/soc_etm/ch49_evt_id.rs | 57 -- esp32p4/src/soc_etm/ch49_task_id.rs | 57 -- esp32p4/src/soc_etm/ch4_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch4_task_id.rs | 57 -- esp32p4/src/soc_etm/ch5_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch5_task_id.rs | 57 -- esp32p4/src/soc_etm/ch6_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch6_task_id.rs | 57 -- esp32p4/src/soc_etm/ch7_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch7_task_id.rs | 57 -- esp32p4/src/soc_etm/ch8_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch8_task_id.rs | 57 -- esp32p4/src/soc_etm/ch9_evt_id.rs | 54 -- esp32p4/src/soc_etm/ch9_task_id.rs | 57 -- esp32p4/src/soc_etm/ch_ena_ad0.rs | 413 ++++------ esp32p4/src/soc_etm/ch_ena_ad0_clr.rs | 204 ++--- esp32p4/src/soc_etm/ch_ena_ad0_set.rs | 204 ++--- esp32p4/src/soc_etm/ch_ena_ad1.rs | 245 +++--- esp32p4/src/soc_etm/ch_ena_ad1_clr.rs | 120 ++- esp32p4/src/soc_etm/ch_ena_ad1_set.rs | 120 ++- esp32p4/svd/patches/esp32p4.yaml | 3 + 334 files changed, 1993 insertions(+), 22398 deletions(-) create mode 100644 common_patches/etm_collect.yaml create mode 100644 esp32c6/src/soc_etm/ch.rs create mode 100644 esp32c6/src/soc_etm/ch/evt_id.rs create mode 100644 esp32c6/src/soc_etm/ch/task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch0_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch0_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch10_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch10_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch11_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch11_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch12_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch12_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch13_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch13_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch14_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch14_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch15_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch15_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch16_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch16_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch17_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch17_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch18_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch18_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch19_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch19_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch1_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch1_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch20_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch20_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch21_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch21_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch22_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch22_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch23_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch23_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch24_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch24_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch25_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch25_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch26_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch26_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch27_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch27_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch28_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch28_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch29_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch29_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch2_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch2_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch30_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch30_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch31_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch31_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch32_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch32_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch33_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch33_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch34_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch34_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch35_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch35_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch36_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch36_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch37_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch37_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch38_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch38_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch39_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch39_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch3_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch3_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch40_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch40_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch41_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch41_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch42_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch42_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch43_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch43_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch44_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch44_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch45_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch45_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch46_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch46_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch47_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch47_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch48_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch48_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch49_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch49_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch4_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch4_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch5_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch5_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch6_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch6_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch7_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch7_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch8_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch8_task_id.rs delete mode 100644 esp32c6/src/soc_etm/ch9_evt_id.rs delete mode 100644 esp32c6/src/soc_etm/ch9_task_id.rs create mode 100644 esp32h2/src/soc_etm/ch.rs create mode 100644 esp32h2/src/soc_etm/ch/evt_id.rs create mode 100644 esp32h2/src/soc_etm/ch/task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch0_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch0_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch10_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch10_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch11_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch11_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch12_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch12_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch13_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch13_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch14_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch14_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch15_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch15_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch16_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch16_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch17_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch17_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch18_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch18_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch19_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch19_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch1_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch1_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch20_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch20_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch21_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch21_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch22_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch22_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch23_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch23_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch24_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch24_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch25_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch25_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch26_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch26_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch27_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch27_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch28_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch28_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch29_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch29_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch2_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch2_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch30_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch30_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch31_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch31_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch32_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch32_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch33_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch33_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch34_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch34_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch35_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch35_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch36_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch36_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch37_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch37_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch38_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch38_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch39_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch39_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch3_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch3_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch40_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch40_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch41_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch41_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch42_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch42_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch43_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch43_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch44_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch44_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch45_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch45_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch46_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch46_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch47_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch47_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch48_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch48_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch49_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch49_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch4_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch4_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch5_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch5_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch6_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch6_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch7_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch7_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch8_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch8_task_id.rs delete mode 100644 esp32h2/src/soc_etm/ch9_evt_id.rs delete mode 100644 esp32h2/src/soc_etm/ch9_task_id.rs create mode 100644 esp32p4/src/soc_etm/ch.rs create mode 100644 esp32p4/src/soc_etm/ch/evt_id.rs create mode 100644 esp32p4/src/soc_etm/ch/task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch0_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch0_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch10_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch10_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch11_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch11_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch12_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch12_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch13_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch13_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch14_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch14_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch15_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch15_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch16_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch16_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch17_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch17_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch18_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch18_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch19_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch19_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch1_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch1_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch20_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch20_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch21_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch21_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch22_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch22_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch23_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch23_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch24_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch24_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch25_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch25_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch26_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch26_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch27_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch27_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch28_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch28_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch29_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch29_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch2_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch2_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch30_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch30_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch31_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch31_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch32_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch32_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch33_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch33_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch34_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch34_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch35_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch35_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch36_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch36_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch37_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch37_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch38_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch38_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch39_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch39_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch3_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch3_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch40_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch40_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch41_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch41_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch42_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch42_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch43_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch43_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch44_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch44_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch45_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch45_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch46_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch46_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch47_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch47_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch48_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch48_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch49_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch49_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch4_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch4_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch5_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch5_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch6_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch6_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch7_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch7_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch8_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch8_task_id.rs delete mode 100644 esp32p4/src/soc_etm/ch9_evt_id.rs delete mode 100644 esp32p4/src/soc_etm/ch9_task_id.rs diff --git a/common_patches/etm_collect.yaml b/common_patches/etm_collect.yaml new file mode 100644 index 0000000000..eb817ae171 --- /dev/null +++ b/common_patches/etm_collect.yaml @@ -0,0 +1,22 @@ +CH_ENA_AD?: + _array: + CH_ENA*: {} +CH_ENA_AD?_SET: + _array: + CH_SET*: {} +CH_ENA_AD?_CLR: + _array: + CH_CLR*: {} + +_cluster: + CH%s: + "CH*_EVT_ID": + name: EVT_ID + _modify: + "CH*_EVT_ID": + name: EVT_ID + "CH*_TASK_ID": + name: TASK_ID + _modify: + "CH*_TASK_ID": + name: TASK_ID diff --git a/esp32c6/src/soc_etm.rs b/esp32c6/src/soc_etm.rs index a06ebb414f..8e7214d3b1 100644 --- a/esp32c6/src/soc_etm.rs +++ b/esp32c6/src/soc_etm.rs @@ -8,106 +8,7 @@ pub struct RegisterBlock { ch_ena_ad1: CH_ENA_AD1, ch_ena_ad1_set: CH_ENA_AD1_SET, ch_ena_ad1_clr: CH_ENA_AD1_CLR, - ch0_evt_id: CH0_EVT_ID, - ch0_task_id: CH0_TASK_ID, - ch1_evt_id: CH1_EVT_ID, - ch1_task_id: CH1_TASK_ID, - ch2_evt_id: CH2_EVT_ID, - ch2_task_id: CH2_TASK_ID, - ch3_evt_id: CH3_EVT_ID, - ch3_task_id: CH3_TASK_ID, - ch4_evt_id: CH4_EVT_ID, - ch4_task_id: CH4_TASK_ID, - ch5_evt_id: CH5_EVT_ID, - ch5_task_id: CH5_TASK_ID, - ch6_evt_id: CH6_EVT_ID, - ch6_task_id: CH6_TASK_ID, - ch7_evt_id: CH7_EVT_ID, - ch7_task_id: CH7_TASK_ID, - ch8_evt_id: CH8_EVT_ID, - ch8_task_id: CH8_TASK_ID, - ch9_evt_id: CH9_EVT_ID, - ch9_task_id: CH9_TASK_ID, - ch10_evt_id: CH10_EVT_ID, - ch10_task_id: CH10_TASK_ID, - ch11_evt_id: CH11_EVT_ID, - ch11_task_id: CH11_TASK_ID, - ch12_evt_id: CH12_EVT_ID, - ch12_task_id: CH12_TASK_ID, - ch13_evt_id: CH13_EVT_ID, - ch13_task_id: CH13_TASK_ID, - ch14_evt_id: CH14_EVT_ID, - ch14_task_id: CH14_TASK_ID, - ch15_evt_id: CH15_EVT_ID, - ch15_task_id: CH15_TASK_ID, - ch16_evt_id: CH16_EVT_ID, - ch16_task_id: CH16_TASK_ID, - ch17_evt_id: CH17_EVT_ID, - ch17_task_id: CH17_TASK_ID, - ch18_evt_id: CH18_EVT_ID, - ch18_task_id: CH18_TASK_ID, - ch19_evt_id: CH19_EVT_ID, - ch19_task_id: CH19_TASK_ID, - ch20_evt_id: CH20_EVT_ID, - ch20_task_id: CH20_TASK_ID, - ch21_evt_id: CH21_EVT_ID, - ch21_task_id: CH21_TASK_ID, - ch22_evt_id: CH22_EVT_ID, - ch22_task_id: CH22_TASK_ID, - ch23_evt_id: CH23_EVT_ID, - ch23_task_id: CH23_TASK_ID, - ch24_evt_id: CH24_EVT_ID, - ch24_task_id: CH24_TASK_ID, - ch25_evt_id: CH25_EVT_ID, - ch25_task_id: CH25_TASK_ID, - ch26_evt_id: CH26_EVT_ID, - ch26_task_id: CH26_TASK_ID, - ch27_evt_id: CH27_EVT_ID, - ch27_task_id: CH27_TASK_ID, - ch28_evt_id: CH28_EVT_ID, - ch28_task_id: CH28_TASK_ID, - ch29_evt_id: CH29_EVT_ID, - ch29_task_id: CH29_TASK_ID, - ch30_evt_id: CH30_EVT_ID, - ch30_task_id: CH30_TASK_ID, - ch31_evt_id: CH31_EVT_ID, - ch31_task_id: CH31_TASK_ID, - ch32_evt_id: CH32_EVT_ID, - ch32_task_id: CH32_TASK_ID, - ch33_evt_id: CH33_EVT_ID, - ch33_task_id: CH33_TASK_ID, - ch34_evt_id: CH34_EVT_ID, - ch34_task_id: CH34_TASK_ID, - ch35_evt_id: CH35_EVT_ID, - ch35_task_id: CH35_TASK_ID, - ch36_evt_id: CH36_EVT_ID, - ch36_task_id: CH36_TASK_ID, - ch37_evt_id: CH37_EVT_ID, - ch37_task_id: CH37_TASK_ID, - ch38_evt_id: CH38_EVT_ID, - ch38_task_id: CH38_TASK_ID, - ch39_evt_id: CH39_EVT_ID, - ch39_task_id: CH39_TASK_ID, - ch40_evt_id: CH40_EVT_ID, - ch40_task_id: CH40_TASK_ID, - ch41_evt_id: CH41_EVT_ID, - ch41_task_id: CH41_TASK_ID, - ch42_evt_id: CH42_EVT_ID, - ch42_task_id: CH42_TASK_ID, - ch43_evt_id: CH43_EVT_ID, - ch43_task_id: CH43_TASK_ID, - ch44_evt_id: CH44_EVT_ID, - ch44_task_id: CH44_TASK_ID, - ch45_evt_id: CH45_EVT_ID, - ch45_task_id: CH45_TASK_ID, - ch46_evt_id: CH46_EVT_ID, - ch46_task_id: CH46_TASK_ID, - ch47_evt_id: CH47_EVT_ID, - ch47_task_id: CH47_TASK_ID, - ch48_evt_id: CH48_EVT_ID, - ch48_task_id: CH48_TASK_ID, - ch49_evt_id: CH49_EVT_ID, - ch49_task_id: CH49_TASK_ID, + ch: [CH; 50], clk_en: CLK_EN, date: DATE, } @@ -142,505 +43,16 @@ impl RegisterBlock { pub const fn ch_ena_ad1_clr(&self) -> &CH_ENA_AD1_CLR { &self.ch_ena_ad1_clr } - #[doc = "0x18 - channel0 event id register"] + #[doc = "0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] #[inline(always)] - pub const fn ch0_evt_id(&self) -> &CH0_EVT_ID { - &self.ch0_evt_id + pub const fn ch(&self, n: usize) -> &CH { + &self.ch[n] } - #[doc = "0x1c - channel0 task id register"] + #[doc = "Iterator for array of:"] + #[doc = "0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] #[inline(always)] - pub const fn ch0_task_id(&self) -> &CH0_TASK_ID { - &self.ch0_task_id - } - #[doc = "0x20 - channel1 event id register"] - #[inline(always)] - pub const fn ch1_evt_id(&self) -> &CH1_EVT_ID { - &self.ch1_evt_id - } - #[doc = "0x24 - channel1 task id register"] - #[inline(always)] - pub const fn ch1_task_id(&self) -> &CH1_TASK_ID { - &self.ch1_task_id - } - #[doc = "0x28 - channel2 event id register"] - #[inline(always)] - pub const fn ch2_evt_id(&self) -> &CH2_EVT_ID { - &self.ch2_evt_id - } - #[doc = "0x2c - channel2 task id register"] - #[inline(always)] - pub const fn ch2_task_id(&self) -> &CH2_TASK_ID { - &self.ch2_task_id - } - #[doc = "0x30 - channel3 event id register"] - #[inline(always)] - pub const fn ch3_evt_id(&self) -> &CH3_EVT_ID { - &self.ch3_evt_id - } - #[doc = "0x34 - channel3 task id register"] - #[inline(always)] - pub const fn ch3_task_id(&self) -> &CH3_TASK_ID { - &self.ch3_task_id - } - #[doc = "0x38 - channel4 event id register"] - #[inline(always)] - pub const fn ch4_evt_id(&self) -> &CH4_EVT_ID { - &self.ch4_evt_id - } - #[doc = "0x3c - channel4 task id register"] - #[inline(always)] - pub const fn ch4_task_id(&self) -> &CH4_TASK_ID { - &self.ch4_task_id - } - #[doc = "0x40 - channel5 event id register"] - #[inline(always)] - pub const fn ch5_evt_id(&self) -> &CH5_EVT_ID { - &self.ch5_evt_id - } - #[doc = "0x44 - channel5 task id register"] - #[inline(always)] - pub const fn ch5_task_id(&self) -> &CH5_TASK_ID { - &self.ch5_task_id - } - #[doc = "0x48 - channel6 event id register"] - #[inline(always)] - pub const fn ch6_evt_id(&self) -> &CH6_EVT_ID { - &self.ch6_evt_id - } - #[doc = "0x4c - channel6 task id register"] - #[inline(always)] - pub const fn ch6_task_id(&self) -> &CH6_TASK_ID { - &self.ch6_task_id - } - #[doc = "0x50 - channel7 event id register"] - #[inline(always)] - pub const fn ch7_evt_id(&self) -> &CH7_EVT_ID { - &self.ch7_evt_id - } - #[doc = "0x54 - channel7 task id register"] - #[inline(always)] - pub const fn ch7_task_id(&self) -> &CH7_TASK_ID { - &self.ch7_task_id - } - #[doc = "0x58 - channel8 event id register"] - #[inline(always)] - pub const fn ch8_evt_id(&self) -> &CH8_EVT_ID { - &self.ch8_evt_id - } - #[doc = "0x5c - channel8 task id register"] - #[inline(always)] - pub const fn ch8_task_id(&self) -> &CH8_TASK_ID { - &self.ch8_task_id - } - #[doc = "0x60 - channel9 event id register"] - #[inline(always)] - pub const fn ch9_evt_id(&self) -> &CH9_EVT_ID { - &self.ch9_evt_id - } - #[doc = "0x64 - channel9 task id register"] - #[inline(always)] - pub const fn ch9_task_id(&self) -> &CH9_TASK_ID { - &self.ch9_task_id - } - #[doc = "0x68 - channel10 event id register"] - #[inline(always)] - pub const fn ch10_evt_id(&self) -> &CH10_EVT_ID { - &self.ch10_evt_id - } - #[doc = "0x6c - channel10 task id register"] - #[inline(always)] - pub const fn ch10_task_id(&self) -> &CH10_TASK_ID { - &self.ch10_task_id - } - #[doc = "0x70 - channel11 event id register"] - #[inline(always)] - pub const fn ch11_evt_id(&self) -> &CH11_EVT_ID { - &self.ch11_evt_id - } - #[doc = "0x74 - channel11 task id register"] - #[inline(always)] - pub const fn ch11_task_id(&self) -> &CH11_TASK_ID { - &self.ch11_task_id - } - #[doc = "0x78 - channel12 event id register"] - #[inline(always)] - pub const fn ch12_evt_id(&self) -> &CH12_EVT_ID { - &self.ch12_evt_id - } - #[doc = "0x7c - channel12 task id register"] - #[inline(always)] - pub const fn ch12_task_id(&self) -> &CH12_TASK_ID { - &self.ch12_task_id - } - #[doc = "0x80 - channel13 event id register"] - #[inline(always)] - pub const fn ch13_evt_id(&self) -> &CH13_EVT_ID { - &self.ch13_evt_id - } - #[doc = "0x84 - channel13 task id register"] - #[inline(always)] - pub const fn ch13_task_id(&self) -> &CH13_TASK_ID { - &self.ch13_task_id - } - #[doc = "0x88 - channel14 event id register"] - #[inline(always)] - pub const fn ch14_evt_id(&self) -> &CH14_EVT_ID { - &self.ch14_evt_id - } - #[doc = "0x8c - channel14 task id register"] - #[inline(always)] - pub const fn ch14_task_id(&self) -> &CH14_TASK_ID { - &self.ch14_task_id - } - #[doc = "0x90 - channel15 event id register"] - #[inline(always)] - pub const fn ch15_evt_id(&self) -> &CH15_EVT_ID { - &self.ch15_evt_id - } - #[doc = "0x94 - channel15 task id register"] - #[inline(always)] - pub const fn ch15_task_id(&self) -> &CH15_TASK_ID { - &self.ch15_task_id - } - #[doc = "0x98 - channel16 event id register"] - #[inline(always)] - pub const fn ch16_evt_id(&self) -> &CH16_EVT_ID { - &self.ch16_evt_id - } - #[doc = "0x9c - channel16 task id register"] - #[inline(always)] - pub const fn ch16_task_id(&self) -> &CH16_TASK_ID { - &self.ch16_task_id - } - #[doc = "0xa0 - channel17 event id register"] - #[inline(always)] - pub const fn ch17_evt_id(&self) -> &CH17_EVT_ID { - &self.ch17_evt_id - } - #[doc = "0xa4 - channel17 task id register"] - #[inline(always)] - pub const fn ch17_task_id(&self) -> &CH17_TASK_ID { - &self.ch17_task_id - } - #[doc = "0xa8 - channel18 event id register"] - #[inline(always)] - pub const fn ch18_evt_id(&self) -> &CH18_EVT_ID { - &self.ch18_evt_id - } - #[doc = "0xac - channel18 task id register"] - #[inline(always)] - pub const fn ch18_task_id(&self) -> &CH18_TASK_ID { - &self.ch18_task_id - } - #[doc = "0xb0 - channel19 event id register"] - #[inline(always)] - pub const fn ch19_evt_id(&self) -> &CH19_EVT_ID { - &self.ch19_evt_id - } - #[doc = "0xb4 - channel19 task id register"] - #[inline(always)] - pub const fn ch19_task_id(&self) -> &CH19_TASK_ID { - &self.ch19_task_id - } - #[doc = "0xb8 - channel20 event id register"] - #[inline(always)] - pub const fn ch20_evt_id(&self) -> &CH20_EVT_ID { - &self.ch20_evt_id - } - #[doc = "0xbc - channel20 task id register"] - #[inline(always)] - pub const fn ch20_task_id(&self) -> &CH20_TASK_ID { - &self.ch20_task_id - } - #[doc = "0xc0 - channel21 event id register"] - #[inline(always)] - pub const fn ch21_evt_id(&self) -> &CH21_EVT_ID { - &self.ch21_evt_id - } - #[doc = "0xc4 - channel21 task id register"] - #[inline(always)] - pub const fn ch21_task_id(&self) -> &CH21_TASK_ID { - &self.ch21_task_id - } - #[doc = "0xc8 - channel22 event id register"] - #[inline(always)] - pub const fn ch22_evt_id(&self) -> &CH22_EVT_ID { - &self.ch22_evt_id - } - #[doc = "0xcc - channel22 task id register"] - #[inline(always)] - pub const fn ch22_task_id(&self) -> &CH22_TASK_ID { - &self.ch22_task_id - } - #[doc = "0xd0 - channel23 event id register"] - #[inline(always)] - pub const fn ch23_evt_id(&self) -> &CH23_EVT_ID { - &self.ch23_evt_id - } - #[doc = "0xd4 - channel23 task id register"] - #[inline(always)] - pub const fn ch23_task_id(&self) -> &CH23_TASK_ID { - &self.ch23_task_id - } - #[doc = "0xd8 - channel24 event id register"] - #[inline(always)] - pub const fn ch24_evt_id(&self) -> &CH24_EVT_ID { - &self.ch24_evt_id - } - #[doc = "0xdc - channel24 task id register"] - #[inline(always)] - pub const fn ch24_task_id(&self) -> &CH24_TASK_ID { - &self.ch24_task_id - } - #[doc = "0xe0 - channel25 event id register"] - #[inline(always)] - pub const fn ch25_evt_id(&self) -> &CH25_EVT_ID { - &self.ch25_evt_id - } - #[doc = "0xe4 - channel25 task id register"] - #[inline(always)] - pub const fn ch25_task_id(&self) -> &CH25_TASK_ID { - &self.ch25_task_id - } - #[doc = "0xe8 - channel26 event id register"] - #[inline(always)] - pub const fn ch26_evt_id(&self) -> &CH26_EVT_ID { - &self.ch26_evt_id - } - #[doc = "0xec - channel26 task id register"] - #[inline(always)] - pub const fn ch26_task_id(&self) -> &CH26_TASK_ID { - &self.ch26_task_id - } - #[doc = "0xf0 - channel27 event id register"] - #[inline(always)] - pub const fn ch27_evt_id(&self) -> &CH27_EVT_ID { - &self.ch27_evt_id - } - #[doc = "0xf4 - channel27 task id register"] - #[inline(always)] - pub const fn ch27_task_id(&self) -> &CH27_TASK_ID { - &self.ch27_task_id - } - #[doc = "0xf8 - channel28 event id register"] - #[inline(always)] - pub const fn ch28_evt_id(&self) -> &CH28_EVT_ID { - &self.ch28_evt_id - } - #[doc = "0xfc - channel28 task id register"] - #[inline(always)] - pub const fn ch28_task_id(&self) -> &CH28_TASK_ID { - &self.ch28_task_id - } - #[doc = "0x100 - channel29 event id register"] - #[inline(always)] - pub const fn ch29_evt_id(&self) -> &CH29_EVT_ID { - &self.ch29_evt_id - } - #[doc = "0x104 - channel29 task id register"] - #[inline(always)] - pub const fn ch29_task_id(&self) -> &CH29_TASK_ID { - &self.ch29_task_id - } - #[doc = "0x108 - channel30 event id register"] - #[inline(always)] - pub const fn ch30_evt_id(&self) -> &CH30_EVT_ID { - &self.ch30_evt_id - } - #[doc = "0x10c - channel30 task id register"] - #[inline(always)] - pub const fn ch30_task_id(&self) -> &CH30_TASK_ID { - &self.ch30_task_id - } - #[doc = "0x110 - channel31 event id register"] - #[inline(always)] - pub const fn ch31_evt_id(&self) -> &CH31_EVT_ID { - &self.ch31_evt_id - } - #[doc = "0x114 - channel31 task id register"] - #[inline(always)] - pub const fn ch31_task_id(&self) -> &CH31_TASK_ID { - &self.ch31_task_id - } - #[doc = "0x118 - channel32 event id register"] - #[inline(always)] - pub const fn ch32_evt_id(&self) -> &CH32_EVT_ID { - &self.ch32_evt_id - } - #[doc = "0x11c - channel32 task id register"] - #[inline(always)] - pub const fn ch32_task_id(&self) -> &CH32_TASK_ID { - &self.ch32_task_id - } - #[doc = "0x120 - channel33 event id register"] - #[inline(always)] - pub const fn ch33_evt_id(&self) -> &CH33_EVT_ID { - &self.ch33_evt_id - } - #[doc = "0x124 - channel33 task id register"] - #[inline(always)] - pub const fn ch33_task_id(&self) -> &CH33_TASK_ID { - &self.ch33_task_id - } - #[doc = "0x128 - channel34 event id register"] - #[inline(always)] - pub const fn ch34_evt_id(&self) -> &CH34_EVT_ID { - &self.ch34_evt_id - } - #[doc = "0x12c - channel34 task id register"] - #[inline(always)] - pub const fn ch34_task_id(&self) -> &CH34_TASK_ID { - &self.ch34_task_id - } - #[doc = "0x130 - channel35 event id register"] - #[inline(always)] - pub const fn ch35_evt_id(&self) -> &CH35_EVT_ID { - &self.ch35_evt_id - } - #[doc = "0x134 - channel35 task id register"] - #[inline(always)] - pub const fn ch35_task_id(&self) -> &CH35_TASK_ID { - &self.ch35_task_id - } - #[doc = "0x138 - channel36 event id register"] - #[inline(always)] - pub const fn ch36_evt_id(&self) -> &CH36_EVT_ID { - &self.ch36_evt_id - } - #[doc = "0x13c - channel36 task id register"] - #[inline(always)] - pub const fn ch36_task_id(&self) -> &CH36_TASK_ID { - &self.ch36_task_id - } - #[doc = "0x140 - channel37 event id register"] - #[inline(always)] - pub const fn ch37_evt_id(&self) -> &CH37_EVT_ID { - &self.ch37_evt_id - } - #[doc = "0x144 - channel37 task id register"] - #[inline(always)] - pub const fn ch37_task_id(&self) -> &CH37_TASK_ID { - &self.ch37_task_id - } - #[doc = "0x148 - channel38 event id register"] - #[inline(always)] - pub const fn ch38_evt_id(&self) -> &CH38_EVT_ID { - &self.ch38_evt_id - } - #[doc = "0x14c - channel38 task id register"] - #[inline(always)] - pub const fn ch38_task_id(&self) -> &CH38_TASK_ID { - &self.ch38_task_id - } - #[doc = "0x150 - channel39 event id register"] - #[inline(always)] - pub const fn ch39_evt_id(&self) -> &CH39_EVT_ID { - &self.ch39_evt_id - } - #[doc = "0x154 - channel39 task id register"] - #[inline(always)] - pub const fn ch39_task_id(&self) -> &CH39_TASK_ID { - &self.ch39_task_id - } - #[doc = "0x158 - channel40 event id register"] - #[inline(always)] - pub const fn ch40_evt_id(&self) -> &CH40_EVT_ID { - &self.ch40_evt_id - } - #[doc = "0x15c - channel40 task id register"] - #[inline(always)] - pub const fn ch40_task_id(&self) -> &CH40_TASK_ID { - &self.ch40_task_id - } - #[doc = "0x160 - channel41 event id register"] - #[inline(always)] - pub const fn ch41_evt_id(&self) -> &CH41_EVT_ID { - &self.ch41_evt_id - } - #[doc = "0x164 - channel41 task id register"] - #[inline(always)] - pub const fn ch41_task_id(&self) -> &CH41_TASK_ID { - &self.ch41_task_id - } - #[doc = "0x168 - channel42 event id register"] - #[inline(always)] - pub const fn ch42_evt_id(&self) -> &CH42_EVT_ID { - &self.ch42_evt_id - } - #[doc = "0x16c - channel42 task id register"] - #[inline(always)] - pub const fn ch42_task_id(&self) -> &CH42_TASK_ID { - &self.ch42_task_id - } - #[doc = "0x170 - channel43 event id register"] - #[inline(always)] - pub const fn ch43_evt_id(&self) -> &CH43_EVT_ID { - &self.ch43_evt_id - } - #[doc = "0x174 - channel43 task id register"] - #[inline(always)] - pub const fn ch43_task_id(&self) -> &CH43_TASK_ID { - &self.ch43_task_id - } - #[doc = "0x178 - channel44 event id register"] - #[inline(always)] - pub const fn ch44_evt_id(&self) -> &CH44_EVT_ID { - &self.ch44_evt_id - } - #[doc = "0x17c - channel44 task id register"] - #[inline(always)] - pub const fn ch44_task_id(&self) -> &CH44_TASK_ID { - &self.ch44_task_id - } - #[doc = "0x180 - channel45 event id register"] - #[inline(always)] - pub const fn ch45_evt_id(&self) -> &CH45_EVT_ID { - &self.ch45_evt_id - } - #[doc = "0x184 - channel45 task id register"] - #[inline(always)] - pub const fn ch45_task_id(&self) -> &CH45_TASK_ID { - &self.ch45_task_id - } - #[doc = "0x188 - channel46 event id register"] - #[inline(always)] - pub const fn ch46_evt_id(&self) -> &CH46_EVT_ID { - &self.ch46_evt_id - } - #[doc = "0x18c - channel46 task id register"] - #[inline(always)] - pub const fn ch46_task_id(&self) -> &CH46_TASK_ID { - &self.ch46_task_id - } - #[doc = "0x190 - channel47 event id register"] - #[inline(always)] - pub const fn ch47_evt_id(&self) -> &CH47_EVT_ID { - &self.ch47_evt_id - } - #[doc = "0x194 - channel47 task id register"] - #[inline(always)] - pub const fn ch47_task_id(&self) -> &CH47_TASK_ID { - &self.ch47_task_id - } - #[doc = "0x198 - channel48 event id register"] - #[inline(always)] - pub const fn ch48_evt_id(&self) -> &CH48_EVT_ID { - &self.ch48_evt_id - } - #[doc = "0x19c - channel48 task id register"] - #[inline(always)] - pub const fn ch48_task_id(&self) -> &CH48_TASK_ID { - &self.ch48_task_id - } - #[doc = "0x1a0 - channel49 event id register"] - #[inline(always)] - pub const fn ch49_evt_id(&self) -> &CH49_EVT_ID { - &self.ch49_evt_id - } - #[doc = "0x1a4 - channel49 task id register"] - #[inline(always)] - pub const fn ch49_task_id(&self) -> &CH49_TASK_ID { - &self.ch49_task_id + pub fn ch_iter(&self) -> impl Iterator { + self.ch.iter() } #[doc = "0x1a8 - etm clock enable register"] #[inline(always)] @@ -677,406 +89,11 @@ pub mod ch_ena_ad1_set; pub type CH_ENA_AD1_CLR = crate::Reg; #[doc = "channel enable clear register"] pub mod ch_ena_ad1_clr; -#[doc = "CH0_EVT_ID (rw) register accessor: channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch0_evt_id`] module"] -pub type CH0_EVT_ID = crate::Reg; -#[doc = "channel0 event id register"] -pub mod ch0_evt_id; -#[doc = "CH0_TASK_ID (rw) register accessor: channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch0_task_id`] module"] -pub type CH0_TASK_ID = crate::Reg; -#[doc = "channel0 task id register"] -pub mod ch0_task_id; -#[doc = "CH1_EVT_ID (rw) register accessor: channel1 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch1_evt_id`] module"] -pub type CH1_EVT_ID = crate::Reg; -#[doc = "channel1 event id register"] -pub mod ch1_evt_id; -#[doc = "CH1_TASK_ID (rw) register accessor: channel1 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch1_task_id`] module"] -pub type CH1_TASK_ID = crate::Reg; -#[doc = "channel1 task id register"] -pub mod ch1_task_id; -#[doc = "CH2_EVT_ID (rw) register accessor: channel2 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch2_evt_id`] module"] -pub type CH2_EVT_ID = crate::Reg; -#[doc = "channel2 event id register"] -pub mod ch2_evt_id; -#[doc = "CH2_TASK_ID (rw) register accessor: channel2 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch2_task_id`] module"] -pub type CH2_TASK_ID = crate::Reg; -#[doc = "channel2 task id register"] -pub mod ch2_task_id; -#[doc = "CH3_EVT_ID (rw) register accessor: channel3 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch3_evt_id`] module"] -pub type CH3_EVT_ID = crate::Reg; -#[doc = "channel3 event id register"] -pub mod ch3_evt_id; -#[doc = "CH3_TASK_ID (rw) register accessor: channel3 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch3_task_id`] module"] -pub type CH3_TASK_ID = crate::Reg; -#[doc = "channel3 task id register"] -pub mod ch3_task_id; -#[doc = "CH4_EVT_ID (rw) register accessor: channel4 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch4_evt_id`] module"] -pub type CH4_EVT_ID = crate::Reg; -#[doc = "channel4 event id register"] -pub mod ch4_evt_id; -#[doc = "CH4_TASK_ID (rw) register accessor: channel4 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch4_task_id`] module"] -pub type CH4_TASK_ID = crate::Reg; -#[doc = "channel4 task id register"] -pub mod ch4_task_id; -#[doc = "CH5_EVT_ID (rw) register accessor: channel5 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch5_evt_id`] module"] -pub type CH5_EVT_ID = crate::Reg; -#[doc = "channel5 event id register"] -pub mod ch5_evt_id; -#[doc = "CH5_TASK_ID (rw) register accessor: channel5 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch5_task_id`] module"] -pub type CH5_TASK_ID = crate::Reg; -#[doc = "channel5 task id register"] -pub mod ch5_task_id; -#[doc = "CH6_EVT_ID (rw) register accessor: channel6 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch6_evt_id`] module"] -pub type CH6_EVT_ID = crate::Reg; -#[doc = "channel6 event id register"] -pub mod ch6_evt_id; -#[doc = "CH6_TASK_ID (rw) register accessor: channel6 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch6_task_id`] module"] -pub type CH6_TASK_ID = crate::Reg; -#[doc = "channel6 task id register"] -pub mod ch6_task_id; -#[doc = "CH7_EVT_ID (rw) register accessor: channel7 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch7_evt_id`] module"] -pub type CH7_EVT_ID = crate::Reg; -#[doc = "channel7 event id register"] -pub mod ch7_evt_id; -#[doc = "CH7_TASK_ID (rw) register accessor: channel7 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch7_task_id`] module"] -pub type CH7_TASK_ID = crate::Reg; -#[doc = "channel7 task id register"] -pub mod ch7_task_id; -#[doc = "CH8_EVT_ID (rw) register accessor: channel8 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch8_evt_id`] module"] -pub type CH8_EVT_ID = crate::Reg; -#[doc = "channel8 event id register"] -pub mod ch8_evt_id; -#[doc = "CH8_TASK_ID (rw) register accessor: channel8 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch8_task_id`] module"] -pub type CH8_TASK_ID = crate::Reg; -#[doc = "channel8 task id register"] -pub mod ch8_task_id; -#[doc = "CH9_EVT_ID (rw) register accessor: channel9 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch9_evt_id`] module"] -pub type CH9_EVT_ID = crate::Reg; -#[doc = "channel9 event id register"] -pub mod ch9_evt_id; -#[doc = "CH9_TASK_ID (rw) register accessor: channel9 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch9_task_id`] module"] -pub type CH9_TASK_ID = crate::Reg; -#[doc = "channel9 task id register"] -pub mod ch9_task_id; -#[doc = "CH10_EVT_ID (rw) register accessor: channel10 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch10_evt_id`] module"] -pub type CH10_EVT_ID = crate::Reg; -#[doc = "channel10 event id register"] -pub mod ch10_evt_id; -#[doc = "CH10_TASK_ID (rw) register accessor: channel10 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch10_task_id`] module"] -pub type CH10_TASK_ID = crate::Reg; -#[doc = "channel10 task id register"] -pub mod ch10_task_id; -#[doc = "CH11_EVT_ID (rw) register accessor: channel11 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch11_evt_id`] module"] -pub type CH11_EVT_ID = crate::Reg; -#[doc = "channel11 event id register"] -pub mod ch11_evt_id; -#[doc = "CH11_TASK_ID (rw) register accessor: channel11 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch11_task_id`] module"] -pub type CH11_TASK_ID = crate::Reg; -#[doc = "channel11 task id register"] -pub mod ch11_task_id; -#[doc = "CH12_EVT_ID (rw) register accessor: channel12 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch12_evt_id`] module"] -pub type CH12_EVT_ID = crate::Reg; -#[doc = "channel12 event id register"] -pub mod ch12_evt_id; -#[doc = "CH12_TASK_ID (rw) register accessor: channel12 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch12_task_id`] module"] -pub type CH12_TASK_ID = crate::Reg; -#[doc = "channel12 task id register"] -pub mod ch12_task_id; -#[doc = "CH13_EVT_ID (rw) register accessor: channel13 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch13_evt_id`] module"] -pub type CH13_EVT_ID = crate::Reg; -#[doc = "channel13 event id register"] -pub mod ch13_evt_id; -#[doc = "CH13_TASK_ID (rw) register accessor: channel13 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch13_task_id`] module"] -pub type CH13_TASK_ID = crate::Reg; -#[doc = "channel13 task id register"] -pub mod ch13_task_id; -#[doc = "CH14_EVT_ID (rw) register accessor: channel14 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch14_evt_id`] module"] -pub type CH14_EVT_ID = crate::Reg; -#[doc = "channel14 event id register"] -pub mod ch14_evt_id; -#[doc = "CH14_TASK_ID (rw) register accessor: channel14 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch14_task_id`] module"] -pub type CH14_TASK_ID = crate::Reg; -#[doc = "channel14 task id register"] -pub mod ch14_task_id; -#[doc = "CH15_EVT_ID (rw) register accessor: channel15 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch15_evt_id`] module"] -pub type CH15_EVT_ID = crate::Reg; -#[doc = "channel15 event id register"] -pub mod ch15_evt_id; -#[doc = "CH15_TASK_ID (rw) register accessor: channel15 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch15_task_id`] module"] -pub type CH15_TASK_ID = crate::Reg; -#[doc = "channel15 task id register"] -pub mod ch15_task_id; -#[doc = "CH16_EVT_ID (rw) register accessor: channel16 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch16_evt_id`] module"] -pub type CH16_EVT_ID = crate::Reg; -#[doc = "channel16 event id register"] -pub mod ch16_evt_id; -#[doc = "CH16_TASK_ID (rw) register accessor: channel16 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch16_task_id`] module"] -pub type CH16_TASK_ID = crate::Reg; -#[doc = "channel16 task id register"] -pub mod ch16_task_id; -#[doc = "CH17_EVT_ID (rw) register accessor: channel17 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch17_evt_id`] module"] -pub type CH17_EVT_ID = crate::Reg; -#[doc = "channel17 event id register"] -pub mod ch17_evt_id; -#[doc = "CH17_TASK_ID (rw) register accessor: channel17 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch17_task_id`] module"] -pub type CH17_TASK_ID = crate::Reg; -#[doc = "channel17 task id register"] -pub mod ch17_task_id; -#[doc = "CH18_EVT_ID (rw) register accessor: channel18 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch18_evt_id`] module"] -pub type CH18_EVT_ID = crate::Reg; -#[doc = "channel18 event id register"] -pub mod ch18_evt_id; -#[doc = "CH18_TASK_ID (rw) register accessor: channel18 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch18_task_id`] module"] -pub type CH18_TASK_ID = crate::Reg; -#[doc = "channel18 task id register"] -pub mod ch18_task_id; -#[doc = "CH19_EVT_ID (rw) register accessor: channel19 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch19_evt_id`] module"] -pub type CH19_EVT_ID = crate::Reg; -#[doc = "channel19 event id register"] -pub mod ch19_evt_id; -#[doc = "CH19_TASK_ID (rw) register accessor: channel19 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch19_task_id`] module"] -pub type CH19_TASK_ID = crate::Reg; -#[doc = "channel19 task id register"] -pub mod ch19_task_id; -#[doc = "CH20_EVT_ID (rw) register accessor: channel20 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch20_evt_id`] module"] -pub type CH20_EVT_ID = crate::Reg; -#[doc = "channel20 event id register"] -pub mod ch20_evt_id; -#[doc = "CH20_TASK_ID (rw) register accessor: channel20 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch20_task_id`] module"] -pub type CH20_TASK_ID = crate::Reg; -#[doc = "channel20 task id register"] -pub mod ch20_task_id; -#[doc = "CH21_EVT_ID (rw) register accessor: channel21 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch21_evt_id`] module"] -pub type CH21_EVT_ID = crate::Reg; -#[doc = "channel21 event id register"] -pub mod ch21_evt_id; -#[doc = "CH21_TASK_ID (rw) register accessor: channel21 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch21_task_id`] module"] -pub type CH21_TASK_ID = crate::Reg; -#[doc = "channel21 task id register"] -pub mod ch21_task_id; -#[doc = "CH22_EVT_ID (rw) register accessor: channel22 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch22_evt_id`] module"] -pub type CH22_EVT_ID = crate::Reg; -#[doc = "channel22 event id register"] -pub mod ch22_evt_id; -#[doc = "CH22_TASK_ID (rw) register accessor: channel22 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch22_task_id`] module"] -pub type CH22_TASK_ID = crate::Reg; -#[doc = "channel22 task id register"] -pub mod ch22_task_id; -#[doc = "CH23_EVT_ID (rw) register accessor: channel23 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch23_evt_id`] module"] -pub type CH23_EVT_ID = crate::Reg; -#[doc = "channel23 event id register"] -pub mod ch23_evt_id; -#[doc = "CH23_TASK_ID (rw) register accessor: channel23 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch23_task_id`] module"] -pub type CH23_TASK_ID = crate::Reg; -#[doc = "channel23 task id register"] -pub mod ch23_task_id; -#[doc = "CH24_EVT_ID (rw) register accessor: channel24 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch24_evt_id`] module"] -pub type CH24_EVT_ID = crate::Reg; -#[doc = "channel24 event id register"] -pub mod ch24_evt_id; -#[doc = "CH24_TASK_ID (rw) register accessor: channel24 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch24_task_id`] module"] -pub type CH24_TASK_ID = crate::Reg; -#[doc = "channel24 task id register"] -pub mod ch24_task_id; -#[doc = "CH25_EVT_ID (rw) register accessor: channel25 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch25_evt_id`] module"] -pub type CH25_EVT_ID = crate::Reg; -#[doc = "channel25 event id register"] -pub mod ch25_evt_id; -#[doc = "CH25_TASK_ID (rw) register accessor: channel25 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch25_task_id`] module"] -pub type CH25_TASK_ID = crate::Reg; -#[doc = "channel25 task id register"] -pub mod ch25_task_id; -#[doc = "CH26_EVT_ID (rw) register accessor: channel26 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch26_evt_id`] module"] -pub type CH26_EVT_ID = crate::Reg; -#[doc = "channel26 event id register"] -pub mod ch26_evt_id; -#[doc = "CH26_TASK_ID (rw) register accessor: channel26 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch26_task_id`] module"] -pub type CH26_TASK_ID = crate::Reg; -#[doc = "channel26 task id register"] -pub mod ch26_task_id; -#[doc = "CH27_EVT_ID (rw) register accessor: channel27 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch27_evt_id`] module"] -pub type CH27_EVT_ID = crate::Reg; -#[doc = "channel27 event id register"] -pub mod ch27_evt_id; -#[doc = "CH27_TASK_ID (rw) register accessor: channel27 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch27_task_id`] module"] -pub type CH27_TASK_ID = crate::Reg; -#[doc = "channel27 task id register"] -pub mod ch27_task_id; -#[doc = "CH28_EVT_ID (rw) register accessor: channel28 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch28_evt_id`] module"] -pub type CH28_EVT_ID = crate::Reg; -#[doc = "channel28 event id register"] -pub mod ch28_evt_id; -#[doc = "CH28_TASK_ID (rw) register accessor: channel28 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch28_task_id`] module"] -pub type CH28_TASK_ID = crate::Reg; -#[doc = "channel28 task id register"] -pub mod ch28_task_id; -#[doc = "CH29_EVT_ID (rw) register accessor: channel29 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch29_evt_id`] module"] -pub type CH29_EVT_ID = crate::Reg; -#[doc = "channel29 event id register"] -pub mod ch29_evt_id; -#[doc = "CH29_TASK_ID (rw) register accessor: channel29 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch29_task_id`] module"] -pub type CH29_TASK_ID = crate::Reg; -#[doc = "channel29 task id register"] -pub mod ch29_task_id; -#[doc = "CH30_EVT_ID (rw) register accessor: channel30 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch30_evt_id`] module"] -pub type CH30_EVT_ID = crate::Reg; -#[doc = "channel30 event id register"] -pub mod ch30_evt_id; -#[doc = "CH30_TASK_ID (rw) register accessor: channel30 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch30_task_id`] module"] -pub type CH30_TASK_ID = crate::Reg; -#[doc = "channel30 task id register"] -pub mod ch30_task_id; -#[doc = "CH31_EVT_ID (rw) register accessor: channel31 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch31_evt_id`] module"] -pub type CH31_EVT_ID = crate::Reg; -#[doc = "channel31 event id register"] -pub mod ch31_evt_id; -#[doc = "CH31_TASK_ID (rw) register accessor: channel31 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch31_task_id`] module"] -pub type CH31_TASK_ID = crate::Reg; -#[doc = "channel31 task id register"] -pub mod ch31_task_id; -#[doc = "CH32_EVT_ID (rw) register accessor: channel32 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch32_evt_id`] module"] -pub type CH32_EVT_ID = crate::Reg; -#[doc = "channel32 event id register"] -pub mod ch32_evt_id; -#[doc = "CH32_TASK_ID (rw) register accessor: channel32 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch32_task_id`] module"] -pub type CH32_TASK_ID = crate::Reg; -#[doc = "channel32 task id register"] -pub mod ch32_task_id; -#[doc = "CH33_EVT_ID (rw) register accessor: channel33 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch33_evt_id`] module"] -pub type CH33_EVT_ID = crate::Reg; -#[doc = "channel33 event id register"] -pub mod ch33_evt_id; -#[doc = "CH33_TASK_ID (rw) register accessor: channel33 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch33_task_id`] module"] -pub type CH33_TASK_ID = crate::Reg; -#[doc = "channel33 task id register"] -pub mod ch33_task_id; -#[doc = "CH34_EVT_ID (rw) register accessor: channel34 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch34_evt_id`] module"] -pub type CH34_EVT_ID = crate::Reg; -#[doc = "channel34 event id register"] -pub mod ch34_evt_id; -#[doc = "CH34_TASK_ID (rw) register accessor: channel34 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch34_task_id`] module"] -pub type CH34_TASK_ID = crate::Reg; -#[doc = "channel34 task id register"] -pub mod ch34_task_id; -#[doc = "CH35_EVT_ID (rw) register accessor: channel35 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch35_evt_id`] module"] -pub type CH35_EVT_ID = crate::Reg; -#[doc = "channel35 event id register"] -pub mod ch35_evt_id; -#[doc = "CH35_TASK_ID (rw) register accessor: channel35 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch35_task_id`] module"] -pub type CH35_TASK_ID = crate::Reg; -#[doc = "channel35 task id register"] -pub mod ch35_task_id; -#[doc = "CH36_EVT_ID (rw) register accessor: channel36 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch36_evt_id`] module"] -pub type CH36_EVT_ID = crate::Reg; -#[doc = "channel36 event id register"] -pub mod ch36_evt_id; -#[doc = "CH36_TASK_ID (rw) register accessor: channel36 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch36_task_id`] module"] -pub type CH36_TASK_ID = crate::Reg; -#[doc = "channel36 task id register"] -pub mod ch36_task_id; -#[doc = "CH37_EVT_ID (rw) register accessor: channel37 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch37_evt_id`] module"] -pub type CH37_EVT_ID = crate::Reg; -#[doc = "channel37 event id register"] -pub mod ch37_evt_id; -#[doc = "CH37_TASK_ID (rw) register accessor: channel37 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch37_task_id`] module"] -pub type CH37_TASK_ID = crate::Reg; -#[doc = "channel37 task id register"] -pub mod ch37_task_id; -#[doc = "CH38_EVT_ID (rw) register accessor: channel38 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch38_evt_id`] module"] -pub type CH38_EVT_ID = crate::Reg; -#[doc = "channel38 event id register"] -pub mod ch38_evt_id; -#[doc = "CH38_TASK_ID (rw) register accessor: channel38 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch38_task_id`] module"] -pub type CH38_TASK_ID = crate::Reg; -#[doc = "channel38 task id register"] -pub mod ch38_task_id; -#[doc = "CH39_EVT_ID (rw) register accessor: channel39 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch39_evt_id`] module"] -pub type CH39_EVT_ID = crate::Reg; -#[doc = "channel39 event id register"] -pub mod ch39_evt_id; -#[doc = "CH39_TASK_ID (rw) register accessor: channel39 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch39_task_id`] module"] -pub type CH39_TASK_ID = crate::Reg; -#[doc = "channel39 task id register"] -pub mod ch39_task_id; -#[doc = "CH40_EVT_ID (rw) register accessor: channel40 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch40_evt_id`] module"] -pub type CH40_EVT_ID = crate::Reg; -#[doc = "channel40 event id register"] -pub mod ch40_evt_id; -#[doc = "CH40_TASK_ID (rw) register accessor: channel40 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch40_task_id`] module"] -pub type CH40_TASK_ID = crate::Reg; -#[doc = "channel40 task id register"] -pub mod ch40_task_id; -#[doc = "CH41_EVT_ID (rw) register accessor: channel41 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch41_evt_id`] module"] -pub type CH41_EVT_ID = crate::Reg; -#[doc = "channel41 event id register"] -pub mod ch41_evt_id; -#[doc = "CH41_TASK_ID (rw) register accessor: channel41 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch41_task_id`] module"] -pub type CH41_TASK_ID = crate::Reg; -#[doc = "channel41 task id register"] -pub mod ch41_task_id; -#[doc = "CH42_EVT_ID (rw) register accessor: channel42 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch42_evt_id`] module"] -pub type CH42_EVT_ID = crate::Reg; -#[doc = "channel42 event id register"] -pub mod ch42_evt_id; -#[doc = "CH42_TASK_ID (rw) register accessor: channel42 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch42_task_id`] module"] -pub type CH42_TASK_ID = crate::Reg; -#[doc = "channel42 task id register"] -pub mod ch42_task_id; -#[doc = "CH43_EVT_ID (rw) register accessor: channel43 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch43_evt_id`] module"] -pub type CH43_EVT_ID = crate::Reg; -#[doc = "channel43 event id register"] -pub mod ch43_evt_id; -#[doc = "CH43_TASK_ID (rw) register accessor: channel43 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch43_task_id`] module"] -pub type CH43_TASK_ID = crate::Reg; -#[doc = "channel43 task id register"] -pub mod ch43_task_id; -#[doc = "CH44_EVT_ID (rw) register accessor: channel44 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch44_evt_id`] module"] -pub type CH44_EVT_ID = crate::Reg; -#[doc = "channel44 event id register"] -pub mod ch44_evt_id; -#[doc = "CH44_TASK_ID (rw) register accessor: channel44 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch44_task_id`] module"] -pub type CH44_TASK_ID = crate::Reg; -#[doc = "channel44 task id register"] -pub mod ch44_task_id; -#[doc = "CH45_EVT_ID (rw) register accessor: channel45 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch45_evt_id`] module"] -pub type CH45_EVT_ID = crate::Reg; -#[doc = "channel45 event id register"] -pub mod ch45_evt_id; -#[doc = "CH45_TASK_ID (rw) register accessor: channel45 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch45_task_id`] module"] -pub type CH45_TASK_ID = crate::Reg; -#[doc = "channel45 task id register"] -pub mod ch45_task_id; -#[doc = "CH46_EVT_ID (rw) register accessor: channel46 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch46_evt_id`] module"] -pub type CH46_EVT_ID = crate::Reg; -#[doc = "channel46 event id register"] -pub mod ch46_evt_id; -#[doc = "CH46_TASK_ID (rw) register accessor: channel46 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch46_task_id`] module"] -pub type CH46_TASK_ID = crate::Reg; -#[doc = "channel46 task id register"] -pub mod ch46_task_id; -#[doc = "CH47_EVT_ID (rw) register accessor: channel47 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch47_evt_id`] module"] -pub type CH47_EVT_ID = crate::Reg; -#[doc = "channel47 event id register"] -pub mod ch47_evt_id; -#[doc = "CH47_TASK_ID (rw) register accessor: channel47 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch47_task_id`] module"] -pub type CH47_TASK_ID = crate::Reg; -#[doc = "channel47 task id register"] -pub mod ch47_task_id; -#[doc = "CH48_EVT_ID (rw) register accessor: channel48 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch48_evt_id`] module"] -pub type CH48_EVT_ID = crate::Reg; -#[doc = "channel48 event id register"] -pub mod ch48_evt_id; -#[doc = "CH48_TASK_ID (rw) register accessor: channel48 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch48_task_id`] module"] -pub type CH48_TASK_ID = crate::Reg; -#[doc = "channel48 task id register"] -pub mod ch48_task_id; -#[doc = "CH49_EVT_ID (rw) register accessor: channel49 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch49_evt_id`] module"] -pub type CH49_EVT_ID = crate::Reg; -#[doc = "channel49 event id register"] -pub mod ch49_evt_id; -#[doc = "CH49_TASK_ID (rw) register accessor: channel49 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch49_task_id`] module"] -pub type CH49_TASK_ID = crate::Reg; -#[doc = "channel49 task id register"] -pub mod ch49_task_id; +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub use self::ch::CH; +#[doc = r"Cluster"] +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub mod ch; #[doc = "CLK_EN (rw) register accessor: etm clock enable register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`clk_en::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`clk_en::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@clk_en`] module"] pub type CLK_EN = crate::Reg; #[doc = "etm clock enable register"] diff --git a/esp32c6/src/soc_etm/ch.rs b/esp32c6/src/soc_etm/ch.rs new file mode 100644 index 0000000000..7bf1c7218b --- /dev/null +++ b/esp32c6/src/soc_etm/ch.rs @@ -0,0 +1,27 @@ +#[repr(C)] +#[cfg_attr(feature = "impl-register-debug", derive(Debug))] +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub struct CH { + evt_id: EVT_ID, + task_id: TASK_ID, +} +impl CH { + #[doc = "0x00 - channel0 event id register"] + #[inline(always)] + pub const fn evt_id(&self) -> &EVT_ID { + &self.evt_id + } + #[doc = "0x04 - channel0 task id register"] + #[inline(always)] + pub const fn task_id(&self) -> &TASK_ID { + &self.task_id + } +} +#[doc = "EVT_ID (rw) register accessor: channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_id`] module"] +pub type EVT_ID = crate::Reg; +#[doc = "channel0 event id register"] +pub mod evt_id; +#[doc = "TASK_ID (rw) register accessor: channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@task_id`] module"] +pub type TASK_ID = crate::Reg; +#[doc = "channel0 task id register"] +pub mod task_id; diff --git a/esp32c6/src/soc_etm/ch/evt_id.rs b/esp32c6/src/soc_etm/ch/evt_id.rs new file mode 100644 index 0000000000..0835c04224 --- /dev/null +++ b/esp32c6/src/soc_etm/ch/evt_id.rs @@ -0,0 +1,54 @@ +#[doc = "Register `EVT_ID` reader"] +pub type R = crate::R; +#[doc = "Register `EVT_ID` writer"] +pub type W = crate::W; +#[doc = "Field `EVT_ID` reader - ch0_evt_id"] +pub type EVT_ID_R = crate::FieldReader; +#[doc = "Field `EVT_ID` writer - ch0_evt_id"] +pub type EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; +impl R { + #[doc = "Bits 0:7 - ch0_evt_id"] + #[inline(always)] + pub fn evt_id(&self) -> EVT_ID_R { + EVT_ID_R::new((self.bits & 0xff) as u8) + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for R { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + f.debug_struct("EVT_ID") + .field("evt_id", &format_args!("{}", self.evt_id().bits())) + .finish() + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for crate::generic::Reg { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + core::fmt::Debug::fmt(&self.read(), f) + } +} +impl W { + #[doc = "Bits 0:7 - ch0_evt_id"] + #[inline(always)] + #[must_use] + pub fn evt_id(&mut self) -> EVT_ID_W { + EVT_ID_W::new(self, 0) + } +} +#[doc = "channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +pub struct EVT_ID_SPEC; +impl crate::RegisterSpec for EVT_ID_SPEC { + type Ux = u32; +} +#[doc = "`read()` method returns [`evt_id::R`](R) reader structure"] +impl crate::Readable for EVT_ID_SPEC {} +#[doc = "`write(|w| ..)` method takes [`evt_id::W`](W) writer structure"] +impl crate::Writable for EVT_ID_SPEC { + type Safety = crate::Unsafe; + const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; +} +#[doc = "`reset()` method sets EVT_ID to value 0"] +impl crate::Resettable for EVT_ID_SPEC { + const RESET_VALUE: u32 = 0; +} diff --git a/esp32c6/src/soc_etm/ch/task_id.rs b/esp32c6/src/soc_etm/ch/task_id.rs new file mode 100644 index 0000000000..d59784f09b --- /dev/null +++ b/esp32c6/src/soc_etm/ch/task_id.rs @@ -0,0 +1,54 @@ +#[doc = "Register `TASK_ID` reader"] +pub type R = crate::R; +#[doc = "Register `TASK_ID` writer"] +pub type W = crate::W; +#[doc = "Field `TASK_ID` reader - ch0_task_id"] +pub type TASK_ID_R = crate::FieldReader; +#[doc = "Field `TASK_ID` writer - ch0_task_id"] +pub type TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; +impl R { + #[doc = "Bits 0:7 - ch0_task_id"] + #[inline(always)] + pub fn task_id(&self) -> TASK_ID_R { + TASK_ID_R::new((self.bits & 0xff) as u8) + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for R { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + f.debug_struct("TASK_ID") + .field("task_id", &format_args!("{}", self.task_id().bits())) + .finish() + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for crate::generic::Reg { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + core::fmt::Debug::fmt(&self.read(), f) + } +} +impl W { + #[doc = "Bits 0:7 - ch0_task_id"] + #[inline(always)] + #[must_use] + pub fn task_id(&mut self) -> TASK_ID_W { + TASK_ID_W::new(self, 0) + } +} +#[doc = "channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +pub struct TASK_ID_SPEC; +impl crate::RegisterSpec for TASK_ID_SPEC { + type Ux = u32; +} +#[doc = "`read()` method returns [`task_id::R`](R) reader structure"] +impl crate::Readable for TASK_ID_SPEC {} +#[doc = "`write(|w| ..)` method takes [`task_id::W`](W) writer structure"] +impl crate::Writable for TASK_ID_SPEC { + type Safety = crate::Unsafe; + const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; +} +#[doc = "`reset()` method sets TASK_ID to value 0"] +impl crate::Resettable for TASK_ID_SPEC { + const RESET_VALUE: u32 = 0; +} diff --git a/esp32c6/src/soc_etm/ch0_evt_id.rs b/esp32c6/src/soc_etm/ch0_evt_id.rs deleted file mode 100644 index cd874b6ff9..0000000000 --- a/esp32c6/src/soc_etm/ch0_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH0_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH0_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH0_EVT_ID` reader - ch0_evt_id"] -pub type CH0_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH0_EVT_ID` writer - ch0_evt_id"] -pub type CH0_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch0_evt_id"] - #[inline(always)] - pub fn ch0_evt_id(&self) -> CH0_EVT_ID_R { - CH0_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH0_EVT_ID") - .field("ch0_evt_id", &format_args!("{}", self.ch0_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch0_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch0_evt_id(&mut self) -> CH0_EVT_ID_W { - CH0_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH0_EVT_ID_SPEC; -impl crate::RegisterSpec for CH0_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch0_evt_id::R`](R) reader structure"] -impl crate::Readable for CH0_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch0_evt_id::W`](W) writer structure"] -impl crate::Writable for CH0_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH0_EVT_ID to value 0"] -impl crate::Resettable for CH0_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch0_task_id.rs b/esp32c6/src/soc_etm/ch0_task_id.rs deleted file mode 100644 index 7d040f8659..0000000000 --- a/esp32c6/src/soc_etm/ch0_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH0_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH0_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH0_TASK_ID` reader - ch0_task_id"] -pub type CH0_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH0_TASK_ID` writer - ch0_task_id"] -pub type CH0_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch0_task_id"] - #[inline(always)] - pub fn ch0_task_id(&self) -> CH0_TASK_ID_R { - CH0_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH0_TASK_ID") - .field( - "ch0_task_id", - &format_args!("{}", self.ch0_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch0_task_id"] - #[inline(always)] - #[must_use] - pub fn ch0_task_id(&mut self) -> CH0_TASK_ID_W { - CH0_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH0_TASK_ID_SPEC; -impl crate::RegisterSpec for CH0_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch0_task_id::R`](R) reader structure"] -impl crate::Readable for CH0_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch0_task_id::W`](W) writer structure"] -impl crate::Writable for CH0_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH0_TASK_ID to value 0"] -impl crate::Resettable for CH0_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch10_evt_id.rs b/esp32c6/src/soc_etm/ch10_evt_id.rs deleted file mode 100644 index a8b57e8405..0000000000 --- a/esp32c6/src/soc_etm/ch10_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH10_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH10_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH10_EVT_ID` reader - ch10_evt_id"] -pub type CH10_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH10_EVT_ID` writer - ch10_evt_id"] -pub type CH10_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch10_evt_id"] - #[inline(always)] - pub fn ch10_evt_id(&self) -> CH10_EVT_ID_R { - CH10_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH10_EVT_ID") - .field( - "ch10_evt_id", - &format_args!("{}", self.ch10_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch10_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch10_evt_id(&mut self) -> CH10_EVT_ID_W { - CH10_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel10 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH10_EVT_ID_SPEC; -impl crate::RegisterSpec for CH10_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch10_evt_id::R`](R) reader structure"] -impl crate::Readable for CH10_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch10_evt_id::W`](W) writer structure"] -impl crate::Writable for CH10_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH10_EVT_ID to value 0"] -impl crate::Resettable for CH10_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch10_task_id.rs b/esp32c6/src/soc_etm/ch10_task_id.rs deleted file mode 100644 index 61b8b1e002..0000000000 --- a/esp32c6/src/soc_etm/ch10_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH10_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH10_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH10_TASK_ID` reader - ch10_task_id"] -pub type CH10_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH10_TASK_ID` writer - ch10_task_id"] -pub type CH10_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch10_task_id"] - #[inline(always)] - pub fn ch10_task_id(&self) -> CH10_TASK_ID_R { - CH10_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH10_TASK_ID") - .field( - "ch10_task_id", - &format_args!("{}", self.ch10_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch10_task_id"] - #[inline(always)] - #[must_use] - pub fn ch10_task_id(&mut self) -> CH10_TASK_ID_W { - CH10_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel10 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH10_TASK_ID_SPEC; -impl crate::RegisterSpec for CH10_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch10_task_id::R`](R) reader structure"] -impl crate::Readable for CH10_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch10_task_id::W`](W) writer structure"] -impl crate::Writable for CH10_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH10_TASK_ID to value 0"] -impl crate::Resettable for CH10_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch11_evt_id.rs b/esp32c6/src/soc_etm/ch11_evt_id.rs deleted file mode 100644 index 1d5f2e5717..0000000000 --- a/esp32c6/src/soc_etm/ch11_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH11_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH11_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH11_EVT_ID` reader - ch11_evt_id"] -pub type CH11_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH11_EVT_ID` writer - ch11_evt_id"] -pub type CH11_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch11_evt_id"] - #[inline(always)] - pub fn ch11_evt_id(&self) -> CH11_EVT_ID_R { - CH11_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH11_EVT_ID") - .field( - "ch11_evt_id", - &format_args!("{}", self.ch11_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch11_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch11_evt_id(&mut self) -> CH11_EVT_ID_W { - CH11_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel11 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH11_EVT_ID_SPEC; -impl crate::RegisterSpec for CH11_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch11_evt_id::R`](R) reader structure"] -impl crate::Readable for CH11_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch11_evt_id::W`](W) writer structure"] -impl crate::Writable for CH11_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH11_EVT_ID to value 0"] -impl crate::Resettable for CH11_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch11_task_id.rs b/esp32c6/src/soc_etm/ch11_task_id.rs deleted file mode 100644 index 3026aad903..0000000000 --- a/esp32c6/src/soc_etm/ch11_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH11_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH11_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH11_TASK_ID` reader - ch11_task_id"] -pub type CH11_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH11_TASK_ID` writer - ch11_task_id"] -pub type CH11_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch11_task_id"] - #[inline(always)] - pub fn ch11_task_id(&self) -> CH11_TASK_ID_R { - CH11_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH11_TASK_ID") - .field( - "ch11_task_id", - &format_args!("{}", self.ch11_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch11_task_id"] - #[inline(always)] - #[must_use] - pub fn ch11_task_id(&mut self) -> CH11_TASK_ID_W { - CH11_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel11 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH11_TASK_ID_SPEC; -impl crate::RegisterSpec for CH11_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch11_task_id::R`](R) reader structure"] -impl crate::Readable for CH11_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch11_task_id::W`](W) writer structure"] -impl crate::Writable for CH11_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH11_TASK_ID to value 0"] -impl crate::Resettable for CH11_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch12_evt_id.rs b/esp32c6/src/soc_etm/ch12_evt_id.rs deleted file mode 100644 index e2a6f989b4..0000000000 --- a/esp32c6/src/soc_etm/ch12_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH12_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH12_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH12_EVT_ID` reader - ch12_evt_id"] -pub type CH12_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH12_EVT_ID` writer - ch12_evt_id"] -pub type CH12_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch12_evt_id"] - #[inline(always)] - pub fn ch12_evt_id(&self) -> CH12_EVT_ID_R { - CH12_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH12_EVT_ID") - .field( - "ch12_evt_id", - &format_args!("{}", self.ch12_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch12_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch12_evt_id(&mut self) -> CH12_EVT_ID_W { - CH12_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel12 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH12_EVT_ID_SPEC; -impl crate::RegisterSpec for CH12_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch12_evt_id::R`](R) reader structure"] -impl crate::Readable for CH12_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch12_evt_id::W`](W) writer structure"] -impl crate::Writable for CH12_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH12_EVT_ID to value 0"] -impl crate::Resettable for CH12_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch12_task_id.rs b/esp32c6/src/soc_etm/ch12_task_id.rs deleted file mode 100644 index af5d7422c4..0000000000 --- a/esp32c6/src/soc_etm/ch12_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH12_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH12_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH12_TASK_ID` reader - ch12_task_id"] -pub type CH12_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH12_TASK_ID` writer - ch12_task_id"] -pub type CH12_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch12_task_id"] - #[inline(always)] - pub fn ch12_task_id(&self) -> CH12_TASK_ID_R { - CH12_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH12_TASK_ID") - .field( - "ch12_task_id", - &format_args!("{}", self.ch12_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch12_task_id"] - #[inline(always)] - #[must_use] - pub fn ch12_task_id(&mut self) -> CH12_TASK_ID_W { - CH12_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel12 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH12_TASK_ID_SPEC; -impl crate::RegisterSpec for CH12_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch12_task_id::R`](R) reader structure"] -impl crate::Readable for CH12_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch12_task_id::W`](W) writer structure"] -impl crate::Writable for CH12_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH12_TASK_ID to value 0"] -impl crate::Resettable for CH12_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch13_evt_id.rs b/esp32c6/src/soc_etm/ch13_evt_id.rs deleted file mode 100644 index 85c40000b0..0000000000 --- a/esp32c6/src/soc_etm/ch13_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH13_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH13_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH13_EVT_ID` reader - ch13_evt_id"] -pub type CH13_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH13_EVT_ID` writer - ch13_evt_id"] -pub type CH13_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch13_evt_id"] - #[inline(always)] - pub fn ch13_evt_id(&self) -> CH13_EVT_ID_R { - CH13_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH13_EVT_ID") - .field( - "ch13_evt_id", - &format_args!("{}", self.ch13_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch13_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch13_evt_id(&mut self) -> CH13_EVT_ID_W { - CH13_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel13 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH13_EVT_ID_SPEC; -impl crate::RegisterSpec for CH13_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch13_evt_id::R`](R) reader structure"] -impl crate::Readable for CH13_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch13_evt_id::W`](W) writer structure"] -impl crate::Writable for CH13_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH13_EVT_ID to value 0"] -impl crate::Resettable for CH13_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch13_task_id.rs b/esp32c6/src/soc_etm/ch13_task_id.rs deleted file mode 100644 index 758d634864..0000000000 --- a/esp32c6/src/soc_etm/ch13_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH13_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH13_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH13_TASK_ID` reader - ch13_task_id"] -pub type CH13_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH13_TASK_ID` writer - ch13_task_id"] -pub type CH13_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch13_task_id"] - #[inline(always)] - pub fn ch13_task_id(&self) -> CH13_TASK_ID_R { - CH13_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH13_TASK_ID") - .field( - "ch13_task_id", - &format_args!("{}", self.ch13_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch13_task_id"] - #[inline(always)] - #[must_use] - pub fn ch13_task_id(&mut self) -> CH13_TASK_ID_W { - CH13_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel13 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH13_TASK_ID_SPEC; -impl crate::RegisterSpec for CH13_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch13_task_id::R`](R) reader structure"] -impl crate::Readable for CH13_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch13_task_id::W`](W) writer structure"] -impl crate::Writable for CH13_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH13_TASK_ID to value 0"] -impl crate::Resettable for CH13_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch14_evt_id.rs b/esp32c6/src/soc_etm/ch14_evt_id.rs deleted file mode 100644 index c57e46e4e4..0000000000 --- a/esp32c6/src/soc_etm/ch14_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH14_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH14_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH14_EVT_ID` reader - ch14_evt_id"] -pub type CH14_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH14_EVT_ID` writer - ch14_evt_id"] -pub type CH14_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch14_evt_id"] - #[inline(always)] - pub fn ch14_evt_id(&self) -> CH14_EVT_ID_R { - CH14_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH14_EVT_ID") - .field( - "ch14_evt_id", - &format_args!("{}", self.ch14_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch14_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch14_evt_id(&mut self) -> CH14_EVT_ID_W { - CH14_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel14 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH14_EVT_ID_SPEC; -impl crate::RegisterSpec for CH14_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch14_evt_id::R`](R) reader structure"] -impl crate::Readable for CH14_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch14_evt_id::W`](W) writer structure"] -impl crate::Writable for CH14_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH14_EVT_ID to value 0"] -impl crate::Resettable for CH14_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch14_task_id.rs b/esp32c6/src/soc_etm/ch14_task_id.rs deleted file mode 100644 index bdadccb14d..0000000000 --- a/esp32c6/src/soc_etm/ch14_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH14_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH14_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH14_TASK_ID` reader - ch14_task_id"] -pub type CH14_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH14_TASK_ID` writer - ch14_task_id"] -pub type CH14_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch14_task_id"] - #[inline(always)] - pub fn ch14_task_id(&self) -> CH14_TASK_ID_R { - CH14_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH14_TASK_ID") - .field( - "ch14_task_id", - &format_args!("{}", self.ch14_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch14_task_id"] - #[inline(always)] - #[must_use] - pub fn ch14_task_id(&mut self) -> CH14_TASK_ID_W { - CH14_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel14 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH14_TASK_ID_SPEC; -impl crate::RegisterSpec for CH14_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch14_task_id::R`](R) reader structure"] -impl crate::Readable for CH14_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch14_task_id::W`](W) writer structure"] -impl crate::Writable for CH14_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH14_TASK_ID to value 0"] -impl crate::Resettable for CH14_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch15_evt_id.rs b/esp32c6/src/soc_etm/ch15_evt_id.rs deleted file mode 100644 index 9858f2f260..0000000000 --- a/esp32c6/src/soc_etm/ch15_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH15_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH15_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH15_EVT_ID` reader - ch15_evt_id"] -pub type CH15_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH15_EVT_ID` writer - ch15_evt_id"] -pub type CH15_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch15_evt_id"] - #[inline(always)] - pub fn ch15_evt_id(&self) -> CH15_EVT_ID_R { - CH15_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH15_EVT_ID") - .field( - "ch15_evt_id", - &format_args!("{}", self.ch15_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch15_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch15_evt_id(&mut self) -> CH15_EVT_ID_W { - CH15_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel15 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH15_EVT_ID_SPEC; -impl crate::RegisterSpec for CH15_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch15_evt_id::R`](R) reader structure"] -impl crate::Readable for CH15_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch15_evt_id::W`](W) writer structure"] -impl crate::Writable for CH15_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH15_EVT_ID to value 0"] -impl crate::Resettable for CH15_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch15_task_id.rs b/esp32c6/src/soc_etm/ch15_task_id.rs deleted file mode 100644 index 231a336dca..0000000000 --- a/esp32c6/src/soc_etm/ch15_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH15_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH15_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH15_TASK_ID` reader - ch15_task_id"] -pub type CH15_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH15_TASK_ID` writer - ch15_task_id"] -pub type CH15_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch15_task_id"] - #[inline(always)] - pub fn ch15_task_id(&self) -> CH15_TASK_ID_R { - CH15_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH15_TASK_ID") - .field( - "ch15_task_id", - &format_args!("{}", self.ch15_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch15_task_id"] - #[inline(always)] - #[must_use] - pub fn ch15_task_id(&mut self) -> CH15_TASK_ID_W { - CH15_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel15 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH15_TASK_ID_SPEC; -impl crate::RegisterSpec for CH15_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch15_task_id::R`](R) reader structure"] -impl crate::Readable for CH15_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch15_task_id::W`](W) writer structure"] -impl crate::Writable for CH15_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH15_TASK_ID to value 0"] -impl crate::Resettable for CH15_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch16_evt_id.rs b/esp32c6/src/soc_etm/ch16_evt_id.rs deleted file mode 100644 index a1d88c55ad..0000000000 --- a/esp32c6/src/soc_etm/ch16_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH16_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH16_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH16_EVT_ID` reader - ch16_evt_id"] -pub type CH16_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH16_EVT_ID` writer - ch16_evt_id"] -pub type CH16_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch16_evt_id"] - #[inline(always)] - pub fn ch16_evt_id(&self) -> CH16_EVT_ID_R { - CH16_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH16_EVT_ID") - .field( - "ch16_evt_id", - &format_args!("{}", self.ch16_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch16_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch16_evt_id(&mut self) -> CH16_EVT_ID_W { - CH16_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel16 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH16_EVT_ID_SPEC; -impl crate::RegisterSpec for CH16_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch16_evt_id::R`](R) reader structure"] -impl crate::Readable for CH16_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch16_evt_id::W`](W) writer structure"] -impl crate::Writable for CH16_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH16_EVT_ID to value 0"] -impl crate::Resettable for CH16_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch16_task_id.rs b/esp32c6/src/soc_etm/ch16_task_id.rs deleted file mode 100644 index 2981f7f165..0000000000 --- a/esp32c6/src/soc_etm/ch16_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH16_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH16_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH16_TASK_ID` reader - ch16_task_id"] -pub type CH16_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH16_TASK_ID` writer - ch16_task_id"] -pub type CH16_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch16_task_id"] - #[inline(always)] - pub fn ch16_task_id(&self) -> CH16_TASK_ID_R { - CH16_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH16_TASK_ID") - .field( - "ch16_task_id", - &format_args!("{}", self.ch16_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch16_task_id"] - #[inline(always)] - #[must_use] - pub fn ch16_task_id(&mut self) -> CH16_TASK_ID_W { - CH16_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel16 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH16_TASK_ID_SPEC; -impl crate::RegisterSpec for CH16_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch16_task_id::R`](R) reader structure"] -impl crate::Readable for CH16_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch16_task_id::W`](W) writer structure"] -impl crate::Writable for CH16_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH16_TASK_ID to value 0"] -impl crate::Resettable for CH16_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch17_evt_id.rs b/esp32c6/src/soc_etm/ch17_evt_id.rs deleted file mode 100644 index 7a8457f8c6..0000000000 --- a/esp32c6/src/soc_etm/ch17_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH17_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH17_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH17_EVT_ID` reader - ch17_evt_id"] -pub type CH17_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH17_EVT_ID` writer - ch17_evt_id"] -pub type CH17_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch17_evt_id"] - #[inline(always)] - pub fn ch17_evt_id(&self) -> CH17_EVT_ID_R { - CH17_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH17_EVT_ID") - .field( - "ch17_evt_id", - &format_args!("{}", self.ch17_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch17_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch17_evt_id(&mut self) -> CH17_EVT_ID_W { - CH17_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel17 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH17_EVT_ID_SPEC; -impl crate::RegisterSpec for CH17_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch17_evt_id::R`](R) reader structure"] -impl crate::Readable for CH17_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch17_evt_id::W`](W) writer structure"] -impl crate::Writable for CH17_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH17_EVT_ID to value 0"] -impl crate::Resettable for CH17_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch17_task_id.rs b/esp32c6/src/soc_etm/ch17_task_id.rs deleted file mode 100644 index 15d486562a..0000000000 --- a/esp32c6/src/soc_etm/ch17_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH17_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH17_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH17_TASK_ID` reader - ch17_task_id"] -pub type CH17_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH17_TASK_ID` writer - ch17_task_id"] -pub type CH17_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch17_task_id"] - #[inline(always)] - pub fn ch17_task_id(&self) -> CH17_TASK_ID_R { - CH17_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH17_TASK_ID") - .field( - "ch17_task_id", - &format_args!("{}", self.ch17_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch17_task_id"] - #[inline(always)] - #[must_use] - pub fn ch17_task_id(&mut self) -> CH17_TASK_ID_W { - CH17_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel17 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH17_TASK_ID_SPEC; -impl crate::RegisterSpec for CH17_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch17_task_id::R`](R) reader structure"] -impl crate::Readable for CH17_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch17_task_id::W`](W) writer structure"] -impl crate::Writable for CH17_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH17_TASK_ID to value 0"] -impl crate::Resettable for CH17_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch18_evt_id.rs b/esp32c6/src/soc_etm/ch18_evt_id.rs deleted file mode 100644 index e692f18f17..0000000000 --- a/esp32c6/src/soc_etm/ch18_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH18_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH18_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH18_EVT_ID` reader - ch18_evt_id"] -pub type CH18_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH18_EVT_ID` writer - ch18_evt_id"] -pub type CH18_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch18_evt_id"] - #[inline(always)] - pub fn ch18_evt_id(&self) -> CH18_EVT_ID_R { - CH18_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH18_EVT_ID") - .field( - "ch18_evt_id", - &format_args!("{}", self.ch18_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch18_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch18_evt_id(&mut self) -> CH18_EVT_ID_W { - CH18_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel18 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH18_EVT_ID_SPEC; -impl crate::RegisterSpec for CH18_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch18_evt_id::R`](R) reader structure"] -impl crate::Readable for CH18_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch18_evt_id::W`](W) writer structure"] -impl crate::Writable for CH18_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH18_EVT_ID to value 0"] -impl crate::Resettable for CH18_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch18_task_id.rs b/esp32c6/src/soc_etm/ch18_task_id.rs deleted file mode 100644 index 043d9f3133..0000000000 --- a/esp32c6/src/soc_etm/ch18_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH18_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH18_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH18_TASK_ID` reader - ch18_task_id"] -pub type CH18_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH18_TASK_ID` writer - ch18_task_id"] -pub type CH18_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch18_task_id"] - #[inline(always)] - pub fn ch18_task_id(&self) -> CH18_TASK_ID_R { - CH18_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH18_TASK_ID") - .field( - "ch18_task_id", - &format_args!("{}", self.ch18_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch18_task_id"] - #[inline(always)] - #[must_use] - pub fn ch18_task_id(&mut self) -> CH18_TASK_ID_W { - CH18_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel18 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH18_TASK_ID_SPEC; -impl crate::RegisterSpec for CH18_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch18_task_id::R`](R) reader structure"] -impl crate::Readable for CH18_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch18_task_id::W`](W) writer structure"] -impl crate::Writable for CH18_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH18_TASK_ID to value 0"] -impl crate::Resettable for CH18_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch19_evt_id.rs b/esp32c6/src/soc_etm/ch19_evt_id.rs deleted file mode 100644 index 76e87bbd60..0000000000 --- a/esp32c6/src/soc_etm/ch19_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH19_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH19_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH19_EVT_ID` reader - ch19_evt_id"] -pub type CH19_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH19_EVT_ID` writer - ch19_evt_id"] -pub type CH19_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch19_evt_id"] - #[inline(always)] - pub fn ch19_evt_id(&self) -> CH19_EVT_ID_R { - CH19_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH19_EVT_ID") - .field( - "ch19_evt_id", - &format_args!("{}", self.ch19_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch19_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch19_evt_id(&mut self) -> CH19_EVT_ID_W { - CH19_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel19 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH19_EVT_ID_SPEC; -impl crate::RegisterSpec for CH19_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch19_evt_id::R`](R) reader structure"] -impl crate::Readable for CH19_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch19_evt_id::W`](W) writer structure"] -impl crate::Writable for CH19_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH19_EVT_ID to value 0"] -impl crate::Resettable for CH19_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch19_task_id.rs b/esp32c6/src/soc_etm/ch19_task_id.rs deleted file mode 100644 index 1ffd93ac3d..0000000000 --- a/esp32c6/src/soc_etm/ch19_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH19_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH19_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH19_TASK_ID` reader - ch19_task_id"] -pub type CH19_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH19_TASK_ID` writer - ch19_task_id"] -pub type CH19_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch19_task_id"] - #[inline(always)] - pub fn ch19_task_id(&self) -> CH19_TASK_ID_R { - CH19_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH19_TASK_ID") - .field( - "ch19_task_id", - &format_args!("{}", self.ch19_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch19_task_id"] - #[inline(always)] - #[must_use] - pub fn ch19_task_id(&mut self) -> CH19_TASK_ID_W { - CH19_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel19 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH19_TASK_ID_SPEC; -impl crate::RegisterSpec for CH19_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch19_task_id::R`](R) reader structure"] -impl crate::Readable for CH19_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch19_task_id::W`](W) writer structure"] -impl crate::Writable for CH19_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH19_TASK_ID to value 0"] -impl crate::Resettable for CH19_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch1_evt_id.rs b/esp32c6/src/soc_etm/ch1_evt_id.rs deleted file mode 100644 index dfd9853762..0000000000 --- a/esp32c6/src/soc_etm/ch1_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH1_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH1_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH1_EVT_ID` reader - ch1_evt_id"] -pub type CH1_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH1_EVT_ID` writer - ch1_evt_id"] -pub type CH1_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch1_evt_id"] - #[inline(always)] - pub fn ch1_evt_id(&self) -> CH1_EVT_ID_R { - CH1_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH1_EVT_ID") - .field("ch1_evt_id", &format_args!("{}", self.ch1_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch1_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch1_evt_id(&mut self) -> CH1_EVT_ID_W { - CH1_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel1 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH1_EVT_ID_SPEC; -impl crate::RegisterSpec for CH1_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch1_evt_id::R`](R) reader structure"] -impl crate::Readable for CH1_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch1_evt_id::W`](W) writer structure"] -impl crate::Writable for CH1_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH1_EVT_ID to value 0"] -impl crate::Resettable for CH1_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch1_task_id.rs b/esp32c6/src/soc_etm/ch1_task_id.rs deleted file mode 100644 index 382455443f..0000000000 --- a/esp32c6/src/soc_etm/ch1_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH1_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH1_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH1_TASK_ID` reader - ch1_task_id"] -pub type CH1_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH1_TASK_ID` writer - ch1_task_id"] -pub type CH1_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch1_task_id"] - #[inline(always)] - pub fn ch1_task_id(&self) -> CH1_TASK_ID_R { - CH1_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH1_TASK_ID") - .field( - "ch1_task_id", - &format_args!("{}", self.ch1_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch1_task_id"] - #[inline(always)] - #[must_use] - pub fn ch1_task_id(&mut self) -> CH1_TASK_ID_W { - CH1_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel1 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH1_TASK_ID_SPEC; -impl crate::RegisterSpec for CH1_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch1_task_id::R`](R) reader structure"] -impl crate::Readable for CH1_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch1_task_id::W`](W) writer structure"] -impl crate::Writable for CH1_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH1_TASK_ID to value 0"] -impl crate::Resettable for CH1_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch20_evt_id.rs b/esp32c6/src/soc_etm/ch20_evt_id.rs deleted file mode 100644 index 272621a1b7..0000000000 --- a/esp32c6/src/soc_etm/ch20_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH20_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH20_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH20_EVT_ID` reader - ch20_evt_id"] -pub type CH20_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH20_EVT_ID` writer - ch20_evt_id"] -pub type CH20_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch20_evt_id"] - #[inline(always)] - pub fn ch20_evt_id(&self) -> CH20_EVT_ID_R { - CH20_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH20_EVT_ID") - .field( - "ch20_evt_id", - &format_args!("{}", self.ch20_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch20_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch20_evt_id(&mut self) -> CH20_EVT_ID_W { - CH20_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel20 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH20_EVT_ID_SPEC; -impl crate::RegisterSpec for CH20_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch20_evt_id::R`](R) reader structure"] -impl crate::Readable for CH20_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch20_evt_id::W`](W) writer structure"] -impl crate::Writable for CH20_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH20_EVT_ID to value 0"] -impl crate::Resettable for CH20_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch20_task_id.rs b/esp32c6/src/soc_etm/ch20_task_id.rs deleted file mode 100644 index 733d60c609..0000000000 --- a/esp32c6/src/soc_etm/ch20_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH20_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH20_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH20_TASK_ID` reader - ch20_task_id"] -pub type CH20_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH20_TASK_ID` writer - ch20_task_id"] -pub type CH20_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch20_task_id"] - #[inline(always)] - pub fn ch20_task_id(&self) -> CH20_TASK_ID_R { - CH20_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH20_TASK_ID") - .field( - "ch20_task_id", - &format_args!("{}", self.ch20_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch20_task_id"] - #[inline(always)] - #[must_use] - pub fn ch20_task_id(&mut self) -> CH20_TASK_ID_W { - CH20_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel20 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH20_TASK_ID_SPEC; -impl crate::RegisterSpec for CH20_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch20_task_id::R`](R) reader structure"] -impl crate::Readable for CH20_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch20_task_id::W`](W) writer structure"] -impl crate::Writable for CH20_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH20_TASK_ID to value 0"] -impl crate::Resettable for CH20_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch21_evt_id.rs b/esp32c6/src/soc_etm/ch21_evt_id.rs deleted file mode 100644 index 3f9bc2a020..0000000000 --- a/esp32c6/src/soc_etm/ch21_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH21_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH21_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH21_EVT_ID` reader - ch21_evt_id"] -pub type CH21_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH21_EVT_ID` writer - ch21_evt_id"] -pub type CH21_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch21_evt_id"] - #[inline(always)] - pub fn ch21_evt_id(&self) -> CH21_EVT_ID_R { - CH21_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH21_EVT_ID") - .field( - "ch21_evt_id", - &format_args!("{}", self.ch21_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch21_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch21_evt_id(&mut self) -> CH21_EVT_ID_W { - CH21_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel21 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH21_EVT_ID_SPEC; -impl crate::RegisterSpec for CH21_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch21_evt_id::R`](R) reader structure"] -impl crate::Readable for CH21_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch21_evt_id::W`](W) writer structure"] -impl crate::Writable for CH21_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH21_EVT_ID to value 0"] -impl crate::Resettable for CH21_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch21_task_id.rs b/esp32c6/src/soc_etm/ch21_task_id.rs deleted file mode 100644 index 7a3a5cc033..0000000000 --- a/esp32c6/src/soc_etm/ch21_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH21_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH21_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH21_TASK_ID` reader - ch21_task_id"] -pub type CH21_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH21_TASK_ID` writer - ch21_task_id"] -pub type CH21_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch21_task_id"] - #[inline(always)] - pub fn ch21_task_id(&self) -> CH21_TASK_ID_R { - CH21_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH21_TASK_ID") - .field( - "ch21_task_id", - &format_args!("{}", self.ch21_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch21_task_id"] - #[inline(always)] - #[must_use] - pub fn ch21_task_id(&mut self) -> CH21_TASK_ID_W { - CH21_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel21 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH21_TASK_ID_SPEC; -impl crate::RegisterSpec for CH21_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch21_task_id::R`](R) reader structure"] -impl crate::Readable for CH21_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch21_task_id::W`](W) writer structure"] -impl crate::Writable for CH21_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH21_TASK_ID to value 0"] -impl crate::Resettable for CH21_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch22_evt_id.rs b/esp32c6/src/soc_etm/ch22_evt_id.rs deleted file mode 100644 index fade244b08..0000000000 --- a/esp32c6/src/soc_etm/ch22_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH22_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH22_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH22_EVT_ID` reader - ch22_evt_id"] -pub type CH22_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH22_EVT_ID` writer - ch22_evt_id"] -pub type CH22_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch22_evt_id"] - #[inline(always)] - pub fn ch22_evt_id(&self) -> CH22_EVT_ID_R { - CH22_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH22_EVT_ID") - .field( - "ch22_evt_id", - &format_args!("{}", self.ch22_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch22_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch22_evt_id(&mut self) -> CH22_EVT_ID_W { - CH22_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel22 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH22_EVT_ID_SPEC; -impl crate::RegisterSpec for CH22_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch22_evt_id::R`](R) reader structure"] -impl crate::Readable for CH22_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch22_evt_id::W`](W) writer structure"] -impl crate::Writable for CH22_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH22_EVT_ID to value 0"] -impl crate::Resettable for CH22_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch22_task_id.rs b/esp32c6/src/soc_etm/ch22_task_id.rs deleted file mode 100644 index 982e44c5d2..0000000000 --- a/esp32c6/src/soc_etm/ch22_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH22_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH22_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH22_TASK_ID` reader - ch22_task_id"] -pub type CH22_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH22_TASK_ID` writer - ch22_task_id"] -pub type CH22_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch22_task_id"] - #[inline(always)] - pub fn ch22_task_id(&self) -> CH22_TASK_ID_R { - CH22_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH22_TASK_ID") - .field( - "ch22_task_id", - &format_args!("{}", self.ch22_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch22_task_id"] - #[inline(always)] - #[must_use] - pub fn ch22_task_id(&mut self) -> CH22_TASK_ID_W { - CH22_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel22 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH22_TASK_ID_SPEC; -impl crate::RegisterSpec for CH22_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch22_task_id::R`](R) reader structure"] -impl crate::Readable for CH22_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch22_task_id::W`](W) writer structure"] -impl crate::Writable for CH22_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH22_TASK_ID to value 0"] -impl crate::Resettable for CH22_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch23_evt_id.rs b/esp32c6/src/soc_etm/ch23_evt_id.rs deleted file mode 100644 index 8e25306c69..0000000000 --- a/esp32c6/src/soc_etm/ch23_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH23_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH23_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH23_EVT_ID` reader - ch23_evt_id"] -pub type CH23_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH23_EVT_ID` writer - ch23_evt_id"] -pub type CH23_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch23_evt_id"] - #[inline(always)] - pub fn ch23_evt_id(&self) -> CH23_EVT_ID_R { - CH23_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH23_EVT_ID") - .field( - "ch23_evt_id", - &format_args!("{}", self.ch23_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch23_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch23_evt_id(&mut self) -> CH23_EVT_ID_W { - CH23_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel23 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH23_EVT_ID_SPEC; -impl crate::RegisterSpec for CH23_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch23_evt_id::R`](R) reader structure"] -impl crate::Readable for CH23_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch23_evt_id::W`](W) writer structure"] -impl crate::Writable for CH23_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH23_EVT_ID to value 0"] -impl crate::Resettable for CH23_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch23_task_id.rs b/esp32c6/src/soc_etm/ch23_task_id.rs deleted file mode 100644 index c08570e9d4..0000000000 --- a/esp32c6/src/soc_etm/ch23_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH23_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH23_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH23_TASK_ID` reader - ch23_task_id"] -pub type CH23_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH23_TASK_ID` writer - ch23_task_id"] -pub type CH23_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch23_task_id"] - #[inline(always)] - pub fn ch23_task_id(&self) -> CH23_TASK_ID_R { - CH23_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH23_TASK_ID") - .field( - "ch23_task_id", - &format_args!("{}", self.ch23_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch23_task_id"] - #[inline(always)] - #[must_use] - pub fn ch23_task_id(&mut self) -> CH23_TASK_ID_W { - CH23_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel23 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH23_TASK_ID_SPEC; -impl crate::RegisterSpec for CH23_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch23_task_id::R`](R) reader structure"] -impl crate::Readable for CH23_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch23_task_id::W`](W) writer structure"] -impl crate::Writable for CH23_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH23_TASK_ID to value 0"] -impl crate::Resettable for CH23_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch24_evt_id.rs b/esp32c6/src/soc_etm/ch24_evt_id.rs deleted file mode 100644 index 172b9968a6..0000000000 --- a/esp32c6/src/soc_etm/ch24_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH24_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH24_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH24_EVT_ID` reader - ch24_evt_id"] -pub type CH24_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH24_EVT_ID` writer - ch24_evt_id"] -pub type CH24_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch24_evt_id"] - #[inline(always)] - pub fn ch24_evt_id(&self) -> CH24_EVT_ID_R { - CH24_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH24_EVT_ID") - .field( - "ch24_evt_id", - &format_args!("{}", self.ch24_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch24_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch24_evt_id(&mut self) -> CH24_EVT_ID_W { - CH24_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel24 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH24_EVT_ID_SPEC; -impl crate::RegisterSpec for CH24_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch24_evt_id::R`](R) reader structure"] -impl crate::Readable for CH24_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch24_evt_id::W`](W) writer structure"] -impl crate::Writable for CH24_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH24_EVT_ID to value 0"] -impl crate::Resettable for CH24_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch24_task_id.rs b/esp32c6/src/soc_etm/ch24_task_id.rs deleted file mode 100644 index 5780eec590..0000000000 --- a/esp32c6/src/soc_etm/ch24_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH24_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH24_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH24_TASK_ID` reader - ch24_task_id"] -pub type CH24_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH24_TASK_ID` writer - ch24_task_id"] -pub type CH24_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch24_task_id"] - #[inline(always)] - pub fn ch24_task_id(&self) -> CH24_TASK_ID_R { - CH24_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH24_TASK_ID") - .field( - "ch24_task_id", - &format_args!("{}", self.ch24_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch24_task_id"] - #[inline(always)] - #[must_use] - pub fn ch24_task_id(&mut self) -> CH24_TASK_ID_W { - CH24_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel24 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH24_TASK_ID_SPEC; -impl crate::RegisterSpec for CH24_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch24_task_id::R`](R) reader structure"] -impl crate::Readable for CH24_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch24_task_id::W`](W) writer structure"] -impl crate::Writable for CH24_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH24_TASK_ID to value 0"] -impl crate::Resettable for CH24_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch25_evt_id.rs b/esp32c6/src/soc_etm/ch25_evt_id.rs deleted file mode 100644 index bd80d0b028..0000000000 --- a/esp32c6/src/soc_etm/ch25_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH25_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH25_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH25_EVT_ID` reader - ch25_evt_id"] -pub type CH25_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH25_EVT_ID` writer - ch25_evt_id"] -pub type CH25_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch25_evt_id"] - #[inline(always)] - pub fn ch25_evt_id(&self) -> CH25_EVT_ID_R { - CH25_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH25_EVT_ID") - .field( - "ch25_evt_id", - &format_args!("{}", self.ch25_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch25_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch25_evt_id(&mut self) -> CH25_EVT_ID_W { - CH25_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel25 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH25_EVT_ID_SPEC; -impl crate::RegisterSpec for CH25_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch25_evt_id::R`](R) reader structure"] -impl crate::Readable for CH25_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch25_evt_id::W`](W) writer structure"] -impl crate::Writable for CH25_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH25_EVT_ID to value 0"] -impl crate::Resettable for CH25_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch25_task_id.rs b/esp32c6/src/soc_etm/ch25_task_id.rs deleted file mode 100644 index 7cf61ee434..0000000000 --- a/esp32c6/src/soc_etm/ch25_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH25_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH25_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH25_TASK_ID` reader - ch25_task_id"] -pub type CH25_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH25_TASK_ID` writer - ch25_task_id"] -pub type CH25_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch25_task_id"] - #[inline(always)] - pub fn ch25_task_id(&self) -> CH25_TASK_ID_R { - CH25_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH25_TASK_ID") - .field( - "ch25_task_id", - &format_args!("{}", self.ch25_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch25_task_id"] - #[inline(always)] - #[must_use] - pub fn ch25_task_id(&mut self) -> CH25_TASK_ID_W { - CH25_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel25 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH25_TASK_ID_SPEC; -impl crate::RegisterSpec for CH25_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch25_task_id::R`](R) reader structure"] -impl crate::Readable for CH25_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch25_task_id::W`](W) writer structure"] -impl crate::Writable for CH25_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH25_TASK_ID to value 0"] -impl crate::Resettable for CH25_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch26_evt_id.rs b/esp32c6/src/soc_etm/ch26_evt_id.rs deleted file mode 100644 index 684a1373b1..0000000000 --- a/esp32c6/src/soc_etm/ch26_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH26_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH26_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH26_EVT_ID` reader - ch26_evt_id"] -pub type CH26_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH26_EVT_ID` writer - ch26_evt_id"] -pub type CH26_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch26_evt_id"] - #[inline(always)] - pub fn ch26_evt_id(&self) -> CH26_EVT_ID_R { - CH26_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH26_EVT_ID") - .field( - "ch26_evt_id", - &format_args!("{}", self.ch26_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch26_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch26_evt_id(&mut self) -> CH26_EVT_ID_W { - CH26_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel26 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH26_EVT_ID_SPEC; -impl crate::RegisterSpec for CH26_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch26_evt_id::R`](R) reader structure"] -impl crate::Readable for CH26_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch26_evt_id::W`](W) writer structure"] -impl crate::Writable for CH26_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH26_EVT_ID to value 0"] -impl crate::Resettable for CH26_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch26_task_id.rs b/esp32c6/src/soc_etm/ch26_task_id.rs deleted file mode 100644 index 59504a7688..0000000000 --- a/esp32c6/src/soc_etm/ch26_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH26_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH26_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH26_TASK_ID` reader - ch26_task_id"] -pub type CH26_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH26_TASK_ID` writer - ch26_task_id"] -pub type CH26_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch26_task_id"] - #[inline(always)] - pub fn ch26_task_id(&self) -> CH26_TASK_ID_R { - CH26_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH26_TASK_ID") - .field( - "ch26_task_id", - &format_args!("{}", self.ch26_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch26_task_id"] - #[inline(always)] - #[must_use] - pub fn ch26_task_id(&mut self) -> CH26_TASK_ID_W { - CH26_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel26 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH26_TASK_ID_SPEC; -impl crate::RegisterSpec for CH26_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch26_task_id::R`](R) reader structure"] -impl crate::Readable for CH26_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch26_task_id::W`](W) writer structure"] -impl crate::Writable for CH26_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH26_TASK_ID to value 0"] -impl crate::Resettable for CH26_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch27_evt_id.rs b/esp32c6/src/soc_etm/ch27_evt_id.rs deleted file mode 100644 index 8b6f17c092..0000000000 --- a/esp32c6/src/soc_etm/ch27_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH27_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH27_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH27_EVT_ID` reader - ch27_evt_id"] -pub type CH27_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH27_EVT_ID` writer - ch27_evt_id"] -pub type CH27_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch27_evt_id"] - #[inline(always)] - pub fn ch27_evt_id(&self) -> CH27_EVT_ID_R { - CH27_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH27_EVT_ID") - .field( - "ch27_evt_id", - &format_args!("{}", self.ch27_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch27_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch27_evt_id(&mut self) -> CH27_EVT_ID_W { - CH27_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel27 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH27_EVT_ID_SPEC; -impl crate::RegisterSpec for CH27_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch27_evt_id::R`](R) reader structure"] -impl crate::Readable for CH27_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch27_evt_id::W`](W) writer structure"] -impl crate::Writable for CH27_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH27_EVT_ID to value 0"] -impl crate::Resettable for CH27_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch27_task_id.rs b/esp32c6/src/soc_etm/ch27_task_id.rs deleted file mode 100644 index dd7e6429a0..0000000000 --- a/esp32c6/src/soc_etm/ch27_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH27_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH27_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH27_TASK_ID` reader - ch27_task_id"] -pub type CH27_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH27_TASK_ID` writer - ch27_task_id"] -pub type CH27_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch27_task_id"] - #[inline(always)] - pub fn ch27_task_id(&self) -> CH27_TASK_ID_R { - CH27_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH27_TASK_ID") - .field( - "ch27_task_id", - &format_args!("{}", self.ch27_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch27_task_id"] - #[inline(always)] - #[must_use] - pub fn ch27_task_id(&mut self) -> CH27_TASK_ID_W { - CH27_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel27 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH27_TASK_ID_SPEC; -impl crate::RegisterSpec for CH27_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch27_task_id::R`](R) reader structure"] -impl crate::Readable for CH27_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch27_task_id::W`](W) writer structure"] -impl crate::Writable for CH27_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH27_TASK_ID to value 0"] -impl crate::Resettable for CH27_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch28_evt_id.rs b/esp32c6/src/soc_etm/ch28_evt_id.rs deleted file mode 100644 index 4266f652a8..0000000000 --- a/esp32c6/src/soc_etm/ch28_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH28_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH28_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH28_EVT_ID` reader - ch28_evt_id"] -pub type CH28_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH28_EVT_ID` writer - ch28_evt_id"] -pub type CH28_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch28_evt_id"] - #[inline(always)] - pub fn ch28_evt_id(&self) -> CH28_EVT_ID_R { - CH28_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH28_EVT_ID") - .field( - "ch28_evt_id", - &format_args!("{}", self.ch28_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch28_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch28_evt_id(&mut self) -> CH28_EVT_ID_W { - CH28_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel28 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH28_EVT_ID_SPEC; -impl crate::RegisterSpec for CH28_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch28_evt_id::R`](R) reader structure"] -impl crate::Readable for CH28_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch28_evt_id::W`](W) writer structure"] -impl crate::Writable for CH28_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH28_EVT_ID to value 0"] -impl crate::Resettable for CH28_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch28_task_id.rs b/esp32c6/src/soc_etm/ch28_task_id.rs deleted file mode 100644 index 4a1557d192..0000000000 --- a/esp32c6/src/soc_etm/ch28_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH28_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH28_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH28_TASK_ID` reader - ch28_task_id"] -pub type CH28_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH28_TASK_ID` writer - ch28_task_id"] -pub type CH28_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch28_task_id"] - #[inline(always)] - pub fn ch28_task_id(&self) -> CH28_TASK_ID_R { - CH28_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH28_TASK_ID") - .field( - "ch28_task_id", - &format_args!("{}", self.ch28_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch28_task_id"] - #[inline(always)] - #[must_use] - pub fn ch28_task_id(&mut self) -> CH28_TASK_ID_W { - CH28_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel28 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH28_TASK_ID_SPEC; -impl crate::RegisterSpec for CH28_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch28_task_id::R`](R) reader structure"] -impl crate::Readable for CH28_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch28_task_id::W`](W) writer structure"] -impl crate::Writable for CH28_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH28_TASK_ID to value 0"] -impl crate::Resettable for CH28_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch29_evt_id.rs b/esp32c6/src/soc_etm/ch29_evt_id.rs deleted file mode 100644 index 95609ed75e..0000000000 --- a/esp32c6/src/soc_etm/ch29_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH29_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH29_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH29_EVT_ID` reader - ch29_evt_id"] -pub type CH29_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH29_EVT_ID` writer - ch29_evt_id"] -pub type CH29_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch29_evt_id"] - #[inline(always)] - pub fn ch29_evt_id(&self) -> CH29_EVT_ID_R { - CH29_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH29_EVT_ID") - .field( - "ch29_evt_id", - &format_args!("{}", self.ch29_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch29_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch29_evt_id(&mut self) -> CH29_EVT_ID_W { - CH29_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel29 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH29_EVT_ID_SPEC; -impl crate::RegisterSpec for CH29_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch29_evt_id::R`](R) reader structure"] -impl crate::Readable for CH29_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch29_evt_id::W`](W) writer structure"] -impl crate::Writable for CH29_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH29_EVT_ID to value 0"] -impl crate::Resettable for CH29_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch29_task_id.rs b/esp32c6/src/soc_etm/ch29_task_id.rs deleted file mode 100644 index b82dc210ae..0000000000 --- a/esp32c6/src/soc_etm/ch29_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH29_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH29_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH29_TASK_ID` reader - ch29_task_id"] -pub type CH29_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH29_TASK_ID` writer - ch29_task_id"] -pub type CH29_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch29_task_id"] - #[inline(always)] - pub fn ch29_task_id(&self) -> CH29_TASK_ID_R { - CH29_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH29_TASK_ID") - .field( - "ch29_task_id", - &format_args!("{}", self.ch29_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch29_task_id"] - #[inline(always)] - #[must_use] - pub fn ch29_task_id(&mut self) -> CH29_TASK_ID_W { - CH29_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel29 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH29_TASK_ID_SPEC; -impl crate::RegisterSpec for CH29_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch29_task_id::R`](R) reader structure"] -impl crate::Readable for CH29_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch29_task_id::W`](W) writer structure"] -impl crate::Writable for CH29_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH29_TASK_ID to value 0"] -impl crate::Resettable for CH29_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch2_evt_id.rs b/esp32c6/src/soc_etm/ch2_evt_id.rs deleted file mode 100644 index cc67816406..0000000000 --- a/esp32c6/src/soc_etm/ch2_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH2_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH2_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH2_EVT_ID` reader - ch2_evt_id"] -pub type CH2_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH2_EVT_ID` writer - ch2_evt_id"] -pub type CH2_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch2_evt_id"] - #[inline(always)] - pub fn ch2_evt_id(&self) -> CH2_EVT_ID_R { - CH2_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH2_EVT_ID") - .field("ch2_evt_id", &format_args!("{}", self.ch2_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch2_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch2_evt_id(&mut self) -> CH2_EVT_ID_W { - CH2_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel2 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH2_EVT_ID_SPEC; -impl crate::RegisterSpec for CH2_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch2_evt_id::R`](R) reader structure"] -impl crate::Readable for CH2_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch2_evt_id::W`](W) writer structure"] -impl crate::Writable for CH2_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH2_EVT_ID to value 0"] -impl crate::Resettable for CH2_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch2_task_id.rs b/esp32c6/src/soc_etm/ch2_task_id.rs deleted file mode 100644 index 14e1f7e6cc..0000000000 --- a/esp32c6/src/soc_etm/ch2_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH2_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH2_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH2_TASK_ID` reader - ch2_task_id"] -pub type CH2_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH2_TASK_ID` writer - ch2_task_id"] -pub type CH2_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch2_task_id"] - #[inline(always)] - pub fn ch2_task_id(&self) -> CH2_TASK_ID_R { - CH2_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH2_TASK_ID") - .field( - "ch2_task_id", - &format_args!("{}", self.ch2_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch2_task_id"] - #[inline(always)] - #[must_use] - pub fn ch2_task_id(&mut self) -> CH2_TASK_ID_W { - CH2_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel2 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH2_TASK_ID_SPEC; -impl crate::RegisterSpec for CH2_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch2_task_id::R`](R) reader structure"] -impl crate::Readable for CH2_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch2_task_id::W`](W) writer structure"] -impl crate::Writable for CH2_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH2_TASK_ID to value 0"] -impl crate::Resettable for CH2_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch30_evt_id.rs b/esp32c6/src/soc_etm/ch30_evt_id.rs deleted file mode 100644 index b0aaa5417d..0000000000 --- a/esp32c6/src/soc_etm/ch30_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH30_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH30_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH30_EVT_ID` reader - ch30_evt_id"] -pub type CH30_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH30_EVT_ID` writer - ch30_evt_id"] -pub type CH30_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch30_evt_id"] - #[inline(always)] - pub fn ch30_evt_id(&self) -> CH30_EVT_ID_R { - CH30_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH30_EVT_ID") - .field( - "ch30_evt_id", - &format_args!("{}", self.ch30_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch30_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch30_evt_id(&mut self) -> CH30_EVT_ID_W { - CH30_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel30 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH30_EVT_ID_SPEC; -impl crate::RegisterSpec for CH30_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch30_evt_id::R`](R) reader structure"] -impl crate::Readable for CH30_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch30_evt_id::W`](W) writer structure"] -impl crate::Writable for CH30_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH30_EVT_ID to value 0"] -impl crate::Resettable for CH30_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch30_task_id.rs b/esp32c6/src/soc_etm/ch30_task_id.rs deleted file mode 100644 index 32c80ecd78..0000000000 --- a/esp32c6/src/soc_etm/ch30_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH30_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH30_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH30_TASK_ID` reader - ch30_task_id"] -pub type CH30_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH30_TASK_ID` writer - ch30_task_id"] -pub type CH30_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch30_task_id"] - #[inline(always)] - pub fn ch30_task_id(&self) -> CH30_TASK_ID_R { - CH30_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH30_TASK_ID") - .field( - "ch30_task_id", - &format_args!("{}", self.ch30_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch30_task_id"] - #[inline(always)] - #[must_use] - pub fn ch30_task_id(&mut self) -> CH30_TASK_ID_W { - CH30_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel30 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH30_TASK_ID_SPEC; -impl crate::RegisterSpec for CH30_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch30_task_id::R`](R) reader structure"] -impl crate::Readable for CH30_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch30_task_id::W`](W) writer structure"] -impl crate::Writable for CH30_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH30_TASK_ID to value 0"] -impl crate::Resettable for CH30_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch31_evt_id.rs b/esp32c6/src/soc_etm/ch31_evt_id.rs deleted file mode 100644 index 950bd8a933..0000000000 --- a/esp32c6/src/soc_etm/ch31_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH31_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH31_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH31_EVT_ID` reader - ch31_evt_id"] -pub type CH31_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH31_EVT_ID` writer - ch31_evt_id"] -pub type CH31_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch31_evt_id"] - #[inline(always)] - pub fn ch31_evt_id(&self) -> CH31_EVT_ID_R { - CH31_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH31_EVT_ID") - .field( - "ch31_evt_id", - &format_args!("{}", self.ch31_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch31_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch31_evt_id(&mut self) -> CH31_EVT_ID_W { - CH31_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel31 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH31_EVT_ID_SPEC; -impl crate::RegisterSpec for CH31_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch31_evt_id::R`](R) reader structure"] -impl crate::Readable for CH31_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch31_evt_id::W`](W) writer structure"] -impl crate::Writable for CH31_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH31_EVT_ID to value 0"] -impl crate::Resettable for CH31_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch31_task_id.rs b/esp32c6/src/soc_etm/ch31_task_id.rs deleted file mode 100644 index 4da0f2d951..0000000000 --- a/esp32c6/src/soc_etm/ch31_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH31_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH31_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH31_TASK_ID` reader - ch31_task_id"] -pub type CH31_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH31_TASK_ID` writer - ch31_task_id"] -pub type CH31_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch31_task_id"] - #[inline(always)] - pub fn ch31_task_id(&self) -> CH31_TASK_ID_R { - CH31_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH31_TASK_ID") - .field( - "ch31_task_id", - &format_args!("{}", self.ch31_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch31_task_id"] - #[inline(always)] - #[must_use] - pub fn ch31_task_id(&mut self) -> CH31_TASK_ID_W { - CH31_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel31 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH31_TASK_ID_SPEC; -impl crate::RegisterSpec for CH31_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch31_task_id::R`](R) reader structure"] -impl crate::Readable for CH31_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch31_task_id::W`](W) writer structure"] -impl crate::Writable for CH31_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH31_TASK_ID to value 0"] -impl crate::Resettable for CH31_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch32_evt_id.rs b/esp32c6/src/soc_etm/ch32_evt_id.rs deleted file mode 100644 index ee04ea400f..0000000000 --- a/esp32c6/src/soc_etm/ch32_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH32_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH32_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH32_EVT_ID` reader - ch32_evt_id"] -pub type CH32_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH32_EVT_ID` writer - ch32_evt_id"] -pub type CH32_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch32_evt_id"] - #[inline(always)] - pub fn ch32_evt_id(&self) -> CH32_EVT_ID_R { - CH32_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH32_EVT_ID") - .field( - "ch32_evt_id", - &format_args!("{}", self.ch32_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch32_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch32_evt_id(&mut self) -> CH32_EVT_ID_W { - CH32_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel32 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH32_EVT_ID_SPEC; -impl crate::RegisterSpec for CH32_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch32_evt_id::R`](R) reader structure"] -impl crate::Readable for CH32_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch32_evt_id::W`](W) writer structure"] -impl crate::Writable for CH32_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH32_EVT_ID to value 0"] -impl crate::Resettable for CH32_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch32_task_id.rs b/esp32c6/src/soc_etm/ch32_task_id.rs deleted file mode 100644 index cfd6fd8ed4..0000000000 --- a/esp32c6/src/soc_etm/ch32_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH32_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH32_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH32_TASK_ID` reader - ch32_task_id"] -pub type CH32_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH32_TASK_ID` writer - ch32_task_id"] -pub type CH32_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch32_task_id"] - #[inline(always)] - pub fn ch32_task_id(&self) -> CH32_TASK_ID_R { - CH32_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH32_TASK_ID") - .field( - "ch32_task_id", - &format_args!("{}", self.ch32_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch32_task_id"] - #[inline(always)] - #[must_use] - pub fn ch32_task_id(&mut self) -> CH32_TASK_ID_W { - CH32_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel32 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH32_TASK_ID_SPEC; -impl crate::RegisterSpec for CH32_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch32_task_id::R`](R) reader structure"] -impl crate::Readable for CH32_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch32_task_id::W`](W) writer structure"] -impl crate::Writable for CH32_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH32_TASK_ID to value 0"] -impl crate::Resettable for CH32_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch33_evt_id.rs b/esp32c6/src/soc_etm/ch33_evt_id.rs deleted file mode 100644 index dff65ab2db..0000000000 --- a/esp32c6/src/soc_etm/ch33_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH33_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH33_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH33_EVT_ID` reader - ch33_evt_id"] -pub type CH33_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH33_EVT_ID` writer - ch33_evt_id"] -pub type CH33_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch33_evt_id"] - #[inline(always)] - pub fn ch33_evt_id(&self) -> CH33_EVT_ID_R { - CH33_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH33_EVT_ID") - .field( - "ch33_evt_id", - &format_args!("{}", self.ch33_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch33_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch33_evt_id(&mut self) -> CH33_EVT_ID_W { - CH33_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel33 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH33_EVT_ID_SPEC; -impl crate::RegisterSpec for CH33_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch33_evt_id::R`](R) reader structure"] -impl crate::Readable for CH33_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch33_evt_id::W`](W) writer structure"] -impl crate::Writable for CH33_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH33_EVT_ID to value 0"] -impl crate::Resettable for CH33_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch33_task_id.rs b/esp32c6/src/soc_etm/ch33_task_id.rs deleted file mode 100644 index 47a43305f2..0000000000 --- a/esp32c6/src/soc_etm/ch33_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH33_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH33_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH33_TASK_ID` reader - ch33_task_id"] -pub type CH33_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH33_TASK_ID` writer - ch33_task_id"] -pub type CH33_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch33_task_id"] - #[inline(always)] - pub fn ch33_task_id(&self) -> CH33_TASK_ID_R { - CH33_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH33_TASK_ID") - .field( - "ch33_task_id", - &format_args!("{}", self.ch33_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch33_task_id"] - #[inline(always)] - #[must_use] - pub fn ch33_task_id(&mut self) -> CH33_TASK_ID_W { - CH33_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel33 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH33_TASK_ID_SPEC; -impl crate::RegisterSpec for CH33_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch33_task_id::R`](R) reader structure"] -impl crate::Readable for CH33_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch33_task_id::W`](W) writer structure"] -impl crate::Writable for CH33_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH33_TASK_ID to value 0"] -impl crate::Resettable for CH33_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch34_evt_id.rs b/esp32c6/src/soc_etm/ch34_evt_id.rs deleted file mode 100644 index 58d47d22c5..0000000000 --- a/esp32c6/src/soc_etm/ch34_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH34_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH34_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH34_EVT_ID` reader - ch34_evt_id"] -pub type CH34_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH34_EVT_ID` writer - ch34_evt_id"] -pub type CH34_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch34_evt_id"] - #[inline(always)] - pub fn ch34_evt_id(&self) -> CH34_EVT_ID_R { - CH34_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH34_EVT_ID") - .field( - "ch34_evt_id", - &format_args!("{}", self.ch34_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch34_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch34_evt_id(&mut self) -> CH34_EVT_ID_W { - CH34_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel34 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH34_EVT_ID_SPEC; -impl crate::RegisterSpec for CH34_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch34_evt_id::R`](R) reader structure"] -impl crate::Readable for CH34_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch34_evt_id::W`](W) writer structure"] -impl crate::Writable for CH34_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH34_EVT_ID to value 0"] -impl crate::Resettable for CH34_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch34_task_id.rs b/esp32c6/src/soc_etm/ch34_task_id.rs deleted file mode 100644 index d5077849b1..0000000000 --- a/esp32c6/src/soc_etm/ch34_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH34_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH34_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH34_TASK_ID` reader - ch34_task_id"] -pub type CH34_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH34_TASK_ID` writer - ch34_task_id"] -pub type CH34_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch34_task_id"] - #[inline(always)] - pub fn ch34_task_id(&self) -> CH34_TASK_ID_R { - CH34_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH34_TASK_ID") - .field( - "ch34_task_id", - &format_args!("{}", self.ch34_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch34_task_id"] - #[inline(always)] - #[must_use] - pub fn ch34_task_id(&mut self) -> CH34_TASK_ID_W { - CH34_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel34 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH34_TASK_ID_SPEC; -impl crate::RegisterSpec for CH34_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch34_task_id::R`](R) reader structure"] -impl crate::Readable for CH34_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch34_task_id::W`](W) writer structure"] -impl crate::Writable for CH34_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH34_TASK_ID to value 0"] -impl crate::Resettable for CH34_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch35_evt_id.rs b/esp32c6/src/soc_etm/ch35_evt_id.rs deleted file mode 100644 index 61d5521089..0000000000 --- a/esp32c6/src/soc_etm/ch35_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH35_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH35_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH35_EVT_ID` reader - ch35_evt_id"] -pub type CH35_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH35_EVT_ID` writer - ch35_evt_id"] -pub type CH35_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch35_evt_id"] - #[inline(always)] - pub fn ch35_evt_id(&self) -> CH35_EVT_ID_R { - CH35_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH35_EVT_ID") - .field( - "ch35_evt_id", - &format_args!("{}", self.ch35_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch35_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch35_evt_id(&mut self) -> CH35_EVT_ID_W { - CH35_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel35 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH35_EVT_ID_SPEC; -impl crate::RegisterSpec for CH35_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch35_evt_id::R`](R) reader structure"] -impl crate::Readable for CH35_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch35_evt_id::W`](W) writer structure"] -impl crate::Writable for CH35_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH35_EVT_ID to value 0"] -impl crate::Resettable for CH35_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch35_task_id.rs b/esp32c6/src/soc_etm/ch35_task_id.rs deleted file mode 100644 index ebe288846d..0000000000 --- a/esp32c6/src/soc_etm/ch35_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH35_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH35_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH35_TASK_ID` reader - ch35_task_id"] -pub type CH35_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH35_TASK_ID` writer - ch35_task_id"] -pub type CH35_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch35_task_id"] - #[inline(always)] - pub fn ch35_task_id(&self) -> CH35_TASK_ID_R { - CH35_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH35_TASK_ID") - .field( - "ch35_task_id", - &format_args!("{}", self.ch35_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch35_task_id"] - #[inline(always)] - #[must_use] - pub fn ch35_task_id(&mut self) -> CH35_TASK_ID_W { - CH35_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel35 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH35_TASK_ID_SPEC; -impl crate::RegisterSpec for CH35_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch35_task_id::R`](R) reader structure"] -impl crate::Readable for CH35_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch35_task_id::W`](W) writer structure"] -impl crate::Writable for CH35_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH35_TASK_ID to value 0"] -impl crate::Resettable for CH35_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch36_evt_id.rs b/esp32c6/src/soc_etm/ch36_evt_id.rs deleted file mode 100644 index 828ca56aa9..0000000000 --- a/esp32c6/src/soc_etm/ch36_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH36_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH36_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH36_EVT_ID` reader - ch36_evt_id"] -pub type CH36_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH36_EVT_ID` writer - ch36_evt_id"] -pub type CH36_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch36_evt_id"] - #[inline(always)] - pub fn ch36_evt_id(&self) -> CH36_EVT_ID_R { - CH36_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH36_EVT_ID") - .field( - "ch36_evt_id", - &format_args!("{}", self.ch36_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch36_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch36_evt_id(&mut self) -> CH36_EVT_ID_W { - CH36_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel36 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH36_EVT_ID_SPEC; -impl crate::RegisterSpec for CH36_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch36_evt_id::R`](R) reader structure"] -impl crate::Readable for CH36_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch36_evt_id::W`](W) writer structure"] -impl crate::Writable for CH36_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH36_EVT_ID to value 0"] -impl crate::Resettable for CH36_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch36_task_id.rs b/esp32c6/src/soc_etm/ch36_task_id.rs deleted file mode 100644 index 70ea0c5c4f..0000000000 --- a/esp32c6/src/soc_etm/ch36_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH36_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH36_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH36_TASK_ID` reader - ch36_task_id"] -pub type CH36_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH36_TASK_ID` writer - ch36_task_id"] -pub type CH36_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch36_task_id"] - #[inline(always)] - pub fn ch36_task_id(&self) -> CH36_TASK_ID_R { - CH36_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH36_TASK_ID") - .field( - "ch36_task_id", - &format_args!("{}", self.ch36_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch36_task_id"] - #[inline(always)] - #[must_use] - pub fn ch36_task_id(&mut self) -> CH36_TASK_ID_W { - CH36_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel36 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH36_TASK_ID_SPEC; -impl crate::RegisterSpec for CH36_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch36_task_id::R`](R) reader structure"] -impl crate::Readable for CH36_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch36_task_id::W`](W) writer structure"] -impl crate::Writable for CH36_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH36_TASK_ID to value 0"] -impl crate::Resettable for CH36_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch37_evt_id.rs b/esp32c6/src/soc_etm/ch37_evt_id.rs deleted file mode 100644 index 9105e8fd01..0000000000 --- a/esp32c6/src/soc_etm/ch37_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH37_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH37_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH37_EVT_ID` reader - ch37_evt_id"] -pub type CH37_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH37_EVT_ID` writer - ch37_evt_id"] -pub type CH37_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch37_evt_id"] - #[inline(always)] - pub fn ch37_evt_id(&self) -> CH37_EVT_ID_R { - CH37_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH37_EVT_ID") - .field( - "ch37_evt_id", - &format_args!("{}", self.ch37_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch37_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch37_evt_id(&mut self) -> CH37_EVT_ID_W { - CH37_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel37 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH37_EVT_ID_SPEC; -impl crate::RegisterSpec for CH37_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch37_evt_id::R`](R) reader structure"] -impl crate::Readable for CH37_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch37_evt_id::W`](W) writer structure"] -impl crate::Writable for CH37_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH37_EVT_ID to value 0"] -impl crate::Resettable for CH37_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch37_task_id.rs b/esp32c6/src/soc_etm/ch37_task_id.rs deleted file mode 100644 index 319e72773a..0000000000 --- a/esp32c6/src/soc_etm/ch37_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH37_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH37_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH37_TASK_ID` reader - ch37_task_id"] -pub type CH37_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH37_TASK_ID` writer - ch37_task_id"] -pub type CH37_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch37_task_id"] - #[inline(always)] - pub fn ch37_task_id(&self) -> CH37_TASK_ID_R { - CH37_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH37_TASK_ID") - .field( - "ch37_task_id", - &format_args!("{}", self.ch37_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch37_task_id"] - #[inline(always)] - #[must_use] - pub fn ch37_task_id(&mut self) -> CH37_TASK_ID_W { - CH37_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel37 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH37_TASK_ID_SPEC; -impl crate::RegisterSpec for CH37_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch37_task_id::R`](R) reader structure"] -impl crate::Readable for CH37_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch37_task_id::W`](W) writer structure"] -impl crate::Writable for CH37_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH37_TASK_ID to value 0"] -impl crate::Resettable for CH37_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch38_evt_id.rs b/esp32c6/src/soc_etm/ch38_evt_id.rs deleted file mode 100644 index 7ff7e4a44f..0000000000 --- a/esp32c6/src/soc_etm/ch38_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH38_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH38_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH38_EVT_ID` reader - ch38_evt_id"] -pub type CH38_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH38_EVT_ID` writer - ch38_evt_id"] -pub type CH38_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch38_evt_id"] - #[inline(always)] - pub fn ch38_evt_id(&self) -> CH38_EVT_ID_R { - CH38_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH38_EVT_ID") - .field( - "ch38_evt_id", - &format_args!("{}", self.ch38_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch38_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch38_evt_id(&mut self) -> CH38_EVT_ID_W { - CH38_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel38 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH38_EVT_ID_SPEC; -impl crate::RegisterSpec for CH38_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch38_evt_id::R`](R) reader structure"] -impl crate::Readable for CH38_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch38_evt_id::W`](W) writer structure"] -impl crate::Writable for CH38_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH38_EVT_ID to value 0"] -impl crate::Resettable for CH38_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch38_task_id.rs b/esp32c6/src/soc_etm/ch38_task_id.rs deleted file mode 100644 index 1518d7e8d5..0000000000 --- a/esp32c6/src/soc_etm/ch38_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH38_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH38_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH38_TASK_ID` reader - ch38_task_id"] -pub type CH38_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH38_TASK_ID` writer - ch38_task_id"] -pub type CH38_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch38_task_id"] - #[inline(always)] - pub fn ch38_task_id(&self) -> CH38_TASK_ID_R { - CH38_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH38_TASK_ID") - .field( - "ch38_task_id", - &format_args!("{}", self.ch38_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch38_task_id"] - #[inline(always)] - #[must_use] - pub fn ch38_task_id(&mut self) -> CH38_TASK_ID_W { - CH38_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel38 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH38_TASK_ID_SPEC; -impl crate::RegisterSpec for CH38_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch38_task_id::R`](R) reader structure"] -impl crate::Readable for CH38_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch38_task_id::W`](W) writer structure"] -impl crate::Writable for CH38_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH38_TASK_ID to value 0"] -impl crate::Resettable for CH38_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch39_evt_id.rs b/esp32c6/src/soc_etm/ch39_evt_id.rs deleted file mode 100644 index 8c1bace378..0000000000 --- a/esp32c6/src/soc_etm/ch39_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH39_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH39_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH39_EVT_ID` reader - ch39_evt_id"] -pub type CH39_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH39_EVT_ID` writer - ch39_evt_id"] -pub type CH39_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch39_evt_id"] - #[inline(always)] - pub fn ch39_evt_id(&self) -> CH39_EVT_ID_R { - CH39_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH39_EVT_ID") - .field( - "ch39_evt_id", - &format_args!("{}", self.ch39_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch39_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch39_evt_id(&mut self) -> CH39_EVT_ID_W { - CH39_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel39 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH39_EVT_ID_SPEC; -impl crate::RegisterSpec for CH39_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch39_evt_id::R`](R) reader structure"] -impl crate::Readable for CH39_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch39_evt_id::W`](W) writer structure"] -impl crate::Writable for CH39_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH39_EVT_ID to value 0"] -impl crate::Resettable for CH39_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch39_task_id.rs b/esp32c6/src/soc_etm/ch39_task_id.rs deleted file mode 100644 index 54774e146d..0000000000 --- a/esp32c6/src/soc_etm/ch39_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH39_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH39_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH39_TASK_ID` reader - ch39_task_id"] -pub type CH39_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH39_TASK_ID` writer - ch39_task_id"] -pub type CH39_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch39_task_id"] - #[inline(always)] - pub fn ch39_task_id(&self) -> CH39_TASK_ID_R { - CH39_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH39_TASK_ID") - .field( - "ch39_task_id", - &format_args!("{}", self.ch39_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch39_task_id"] - #[inline(always)] - #[must_use] - pub fn ch39_task_id(&mut self) -> CH39_TASK_ID_W { - CH39_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel39 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH39_TASK_ID_SPEC; -impl crate::RegisterSpec for CH39_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch39_task_id::R`](R) reader structure"] -impl crate::Readable for CH39_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch39_task_id::W`](W) writer structure"] -impl crate::Writable for CH39_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH39_TASK_ID to value 0"] -impl crate::Resettable for CH39_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch3_evt_id.rs b/esp32c6/src/soc_etm/ch3_evt_id.rs deleted file mode 100644 index 7c00c43be9..0000000000 --- a/esp32c6/src/soc_etm/ch3_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH3_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH3_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH3_EVT_ID` reader - ch3_evt_id"] -pub type CH3_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH3_EVT_ID` writer - ch3_evt_id"] -pub type CH3_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch3_evt_id"] - #[inline(always)] - pub fn ch3_evt_id(&self) -> CH3_EVT_ID_R { - CH3_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH3_EVT_ID") - .field("ch3_evt_id", &format_args!("{}", self.ch3_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch3_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch3_evt_id(&mut self) -> CH3_EVT_ID_W { - CH3_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel3 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH3_EVT_ID_SPEC; -impl crate::RegisterSpec for CH3_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch3_evt_id::R`](R) reader structure"] -impl crate::Readable for CH3_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch3_evt_id::W`](W) writer structure"] -impl crate::Writable for CH3_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH3_EVT_ID to value 0"] -impl crate::Resettable for CH3_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch3_task_id.rs b/esp32c6/src/soc_etm/ch3_task_id.rs deleted file mode 100644 index c7e08c2f4d..0000000000 --- a/esp32c6/src/soc_etm/ch3_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH3_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH3_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH3_TASK_ID` reader - ch3_task_id"] -pub type CH3_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH3_TASK_ID` writer - ch3_task_id"] -pub type CH3_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch3_task_id"] - #[inline(always)] - pub fn ch3_task_id(&self) -> CH3_TASK_ID_R { - CH3_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH3_TASK_ID") - .field( - "ch3_task_id", - &format_args!("{}", self.ch3_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch3_task_id"] - #[inline(always)] - #[must_use] - pub fn ch3_task_id(&mut self) -> CH3_TASK_ID_W { - CH3_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel3 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH3_TASK_ID_SPEC; -impl crate::RegisterSpec for CH3_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch3_task_id::R`](R) reader structure"] -impl crate::Readable for CH3_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch3_task_id::W`](W) writer structure"] -impl crate::Writable for CH3_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH3_TASK_ID to value 0"] -impl crate::Resettable for CH3_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch40_evt_id.rs b/esp32c6/src/soc_etm/ch40_evt_id.rs deleted file mode 100644 index af00a9a92d..0000000000 --- a/esp32c6/src/soc_etm/ch40_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH40_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH40_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH40_EVT_ID` reader - ch40_evt_id"] -pub type CH40_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH40_EVT_ID` writer - ch40_evt_id"] -pub type CH40_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch40_evt_id"] - #[inline(always)] - pub fn ch40_evt_id(&self) -> CH40_EVT_ID_R { - CH40_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH40_EVT_ID") - .field( - "ch40_evt_id", - &format_args!("{}", self.ch40_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch40_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch40_evt_id(&mut self) -> CH40_EVT_ID_W { - CH40_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel40 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH40_EVT_ID_SPEC; -impl crate::RegisterSpec for CH40_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch40_evt_id::R`](R) reader structure"] -impl crate::Readable for CH40_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch40_evt_id::W`](W) writer structure"] -impl crate::Writable for CH40_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH40_EVT_ID to value 0"] -impl crate::Resettable for CH40_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch40_task_id.rs b/esp32c6/src/soc_etm/ch40_task_id.rs deleted file mode 100644 index dc47483ec5..0000000000 --- a/esp32c6/src/soc_etm/ch40_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH40_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH40_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH40_TASK_ID` reader - ch40_task_id"] -pub type CH40_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH40_TASK_ID` writer - ch40_task_id"] -pub type CH40_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch40_task_id"] - #[inline(always)] - pub fn ch40_task_id(&self) -> CH40_TASK_ID_R { - CH40_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH40_TASK_ID") - .field( - "ch40_task_id", - &format_args!("{}", self.ch40_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch40_task_id"] - #[inline(always)] - #[must_use] - pub fn ch40_task_id(&mut self) -> CH40_TASK_ID_W { - CH40_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel40 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH40_TASK_ID_SPEC; -impl crate::RegisterSpec for CH40_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch40_task_id::R`](R) reader structure"] -impl crate::Readable for CH40_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch40_task_id::W`](W) writer structure"] -impl crate::Writable for CH40_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH40_TASK_ID to value 0"] -impl crate::Resettable for CH40_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch41_evt_id.rs b/esp32c6/src/soc_etm/ch41_evt_id.rs deleted file mode 100644 index da056744fc..0000000000 --- a/esp32c6/src/soc_etm/ch41_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH41_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH41_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH41_EVT_ID` reader - ch41_evt_id"] -pub type CH41_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH41_EVT_ID` writer - ch41_evt_id"] -pub type CH41_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch41_evt_id"] - #[inline(always)] - pub fn ch41_evt_id(&self) -> CH41_EVT_ID_R { - CH41_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH41_EVT_ID") - .field( - "ch41_evt_id", - &format_args!("{}", self.ch41_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch41_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch41_evt_id(&mut self) -> CH41_EVT_ID_W { - CH41_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel41 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH41_EVT_ID_SPEC; -impl crate::RegisterSpec for CH41_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch41_evt_id::R`](R) reader structure"] -impl crate::Readable for CH41_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch41_evt_id::W`](W) writer structure"] -impl crate::Writable for CH41_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH41_EVT_ID to value 0"] -impl crate::Resettable for CH41_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch41_task_id.rs b/esp32c6/src/soc_etm/ch41_task_id.rs deleted file mode 100644 index 3752c274d2..0000000000 --- a/esp32c6/src/soc_etm/ch41_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH41_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH41_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH41_TASK_ID` reader - ch41_task_id"] -pub type CH41_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH41_TASK_ID` writer - ch41_task_id"] -pub type CH41_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch41_task_id"] - #[inline(always)] - pub fn ch41_task_id(&self) -> CH41_TASK_ID_R { - CH41_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH41_TASK_ID") - .field( - "ch41_task_id", - &format_args!("{}", self.ch41_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch41_task_id"] - #[inline(always)] - #[must_use] - pub fn ch41_task_id(&mut self) -> CH41_TASK_ID_W { - CH41_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel41 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH41_TASK_ID_SPEC; -impl crate::RegisterSpec for CH41_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch41_task_id::R`](R) reader structure"] -impl crate::Readable for CH41_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch41_task_id::W`](W) writer structure"] -impl crate::Writable for CH41_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH41_TASK_ID to value 0"] -impl crate::Resettable for CH41_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch42_evt_id.rs b/esp32c6/src/soc_etm/ch42_evt_id.rs deleted file mode 100644 index b655f1c774..0000000000 --- a/esp32c6/src/soc_etm/ch42_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH42_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH42_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH42_EVT_ID` reader - ch42_evt_id"] -pub type CH42_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH42_EVT_ID` writer - ch42_evt_id"] -pub type CH42_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch42_evt_id"] - #[inline(always)] - pub fn ch42_evt_id(&self) -> CH42_EVT_ID_R { - CH42_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH42_EVT_ID") - .field( - "ch42_evt_id", - &format_args!("{}", self.ch42_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch42_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch42_evt_id(&mut self) -> CH42_EVT_ID_W { - CH42_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel42 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH42_EVT_ID_SPEC; -impl crate::RegisterSpec for CH42_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch42_evt_id::R`](R) reader structure"] -impl crate::Readable for CH42_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch42_evt_id::W`](W) writer structure"] -impl crate::Writable for CH42_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH42_EVT_ID to value 0"] -impl crate::Resettable for CH42_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch42_task_id.rs b/esp32c6/src/soc_etm/ch42_task_id.rs deleted file mode 100644 index b33b2e341a..0000000000 --- a/esp32c6/src/soc_etm/ch42_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH42_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH42_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH42_TASK_ID` reader - ch42_task_id"] -pub type CH42_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH42_TASK_ID` writer - ch42_task_id"] -pub type CH42_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch42_task_id"] - #[inline(always)] - pub fn ch42_task_id(&self) -> CH42_TASK_ID_R { - CH42_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH42_TASK_ID") - .field( - "ch42_task_id", - &format_args!("{}", self.ch42_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch42_task_id"] - #[inline(always)] - #[must_use] - pub fn ch42_task_id(&mut self) -> CH42_TASK_ID_W { - CH42_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel42 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH42_TASK_ID_SPEC; -impl crate::RegisterSpec for CH42_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch42_task_id::R`](R) reader structure"] -impl crate::Readable for CH42_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch42_task_id::W`](W) writer structure"] -impl crate::Writable for CH42_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH42_TASK_ID to value 0"] -impl crate::Resettable for CH42_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch43_evt_id.rs b/esp32c6/src/soc_etm/ch43_evt_id.rs deleted file mode 100644 index 837fef249c..0000000000 --- a/esp32c6/src/soc_etm/ch43_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH43_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH43_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH43_EVT_ID` reader - ch43_evt_id"] -pub type CH43_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH43_EVT_ID` writer - ch43_evt_id"] -pub type CH43_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch43_evt_id"] - #[inline(always)] - pub fn ch43_evt_id(&self) -> CH43_EVT_ID_R { - CH43_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH43_EVT_ID") - .field( - "ch43_evt_id", - &format_args!("{}", self.ch43_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch43_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch43_evt_id(&mut self) -> CH43_EVT_ID_W { - CH43_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel43 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH43_EVT_ID_SPEC; -impl crate::RegisterSpec for CH43_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch43_evt_id::R`](R) reader structure"] -impl crate::Readable for CH43_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch43_evt_id::W`](W) writer structure"] -impl crate::Writable for CH43_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH43_EVT_ID to value 0"] -impl crate::Resettable for CH43_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch43_task_id.rs b/esp32c6/src/soc_etm/ch43_task_id.rs deleted file mode 100644 index 7c641ca79e..0000000000 --- a/esp32c6/src/soc_etm/ch43_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH43_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH43_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH43_TASK_ID` reader - ch43_task_id"] -pub type CH43_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH43_TASK_ID` writer - ch43_task_id"] -pub type CH43_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch43_task_id"] - #[inline(always)] - pub fn ch43_task_id(&self) -> CH43_TASK_ID_R { - CH43_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH43_TASK_ID") - .field( - "ch43_task_id", - &format_args!("{}", self.ch43_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch43_task_id"] - #[inline(always)] - #[must_use] - pub fn ch43_task_id(&mut self) -> CH43_TASK_ID_W { - CH43_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel43 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH43_TASK_ID_SPEC; -impl crate::RegisterSpec for CH43_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch43_task_id::R`](R) reader structure"] -impl crate::Readable for CH43_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch43_task_id::W`](W) writer structure"] -impl crate::Writable for CH43_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH43_TASK_ID to value 0"] -impl crate::Resettable for CH43_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch44_evt_id.rs b/esp32c6/src/soc_etm/ch44_evt_id.rs deleted file mode 100644 index 00ed1cb772..0000000000 --- a/esp32c6/src/soc_etm/ch44_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH44_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH44_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH44_EVT_ID` reader - ch44_evt_id"] -pub type CH44_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH44_EVT_ID` writer - ch44_evt_id"] -pub type CH44_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch44_evt_id"] - #[inline(always)] - pub fn ch44_evt_id(&self) -> CH44_EVT_ID_R { - CH44_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH44_EVT_ID") - .field( - "ch44_evt_id", - &format_args!("{}", self.ch44_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch44_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch44_evt_id(&mut self) -> CH44_EVT_ID_W { - CH44_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel44 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH44_EVT_ID_SPEC; -impl crate::RegisterSpec for CH44_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch44_evt_id::R`](R) reader structure"] -impl crate::Readable for CH44_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch44_evt_id::W`](W) writer structure"] -impl crate::Writable for CH44_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH44_EVT_ID to value 0"] -impl crate::Resettable for CH44_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch44_task_id.rs b/esp32c6/src/soc_etm/ch44_task_id.rs deleted file mode 100644 index 09fa4ccd55..0000000000 --- a/esp32c6/src/soc_etm/ch44_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH44_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH44_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH44_TASK_ID` reader - ch44_task_id"] -pub type CH44_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH44_TASK_ID` writer - ch44_task_id"] -pub type CH44_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch44_task_id"] - #[inline(always)] - pub fn ch44_task_id(&self) -> CH44_TASK_ID_R { - CH44_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH44_TASK_ID") - .field( - "ch44_task_id", - &format_args!("{}", self.ch44_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch44_task_id"] - #[inline(always)] - #[must_use] - pub fn ch44_task_id(&mut self) -> CH44_TASK_ID_W { - CH44_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel44 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH44_TASK_ID_SPEC; -impl crate::RegisterSpec for CH44_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch44_task_id::R`](R) reader structure"] -impl crate::Readable for CH44_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch44_task_id::W`](W) writer structure"] -impl crate::Writable for CH44_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH44_TASK_ID to value 0"] -impl crate::Resettable for CH44_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch45_evt_id.rs b/esp32c6/src/soc_etm/ch45_evt_id.rs deleted file mode 100644 index febead20ed..0000000000 --- a/esp32c6/src/soc_etm/ch45_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH45_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH45_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH45_EVT_ID` reader - ch45_evt_id"] -pub type CH45_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH45_EVT_ID` writer - ch45_evt_id"] -pub type CH45_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch45_evt_id"] - #[inline(always)] - pub fn ch45_evt_id(&self) -> CH45_EVT_ID_R { - CH45_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH45_EVT_ID") - .field( - "ch45_evt_id", - &format_args!("{}", self.ch45_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch45_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch45_evt_id(&mut self) -> CH45_EVT_ID_W { - CH45_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel45 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH45_EVT_ID_SPEC; -impl crate::RegisterSpec for CH45_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch45_evt_id::R`](R) reader structure"] -impl crate::Readable for CH45_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch45_evt_id::W`](W) writer structure"] -impl crate::Writable for CH45_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH45_EVT_ID to value 0"] -impl crate::Resettable for CH45_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch45_task_id.rs b/esp32c6/src/soc_etm/ch45_task_id.rs deleted file mode 100644 index 3622e74f5a..0000000000 --- a/esp32c6/src/soc_etm/ch45_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH45_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH45_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH45_TASK_ID` reader - ch45_task_id"] -pub type CH45_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH45_TASK_ID` writer - ch45_task_id"] -pub type CH45_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch45_task_id"] - #[inline(always)] - pub fn ch45_task_id(&self) -> CH45_TASK_ID_R { - CH45_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH45_TASK_ID") - .field( - "ch45_task_id", - &format_args!("{}", self.ch45_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch45_task_id"] - #[inline(always)] - #[must_use] - pub fn ch45_task_id(&mut self) -> CH45_TASK_ID_W { - CH45_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel45 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH45_TASK_ID_SPEC; -impl crate::RegisterSpec for CH45_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch45_task_id::R`](R) reader structure"] -impl crate::Readable for CH45_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch45_task_id::W`](W) writer structure"] -impl crate::Writable for CH45_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH45_TASK_ID to value 0"] -impl crate::Resettable for CH45_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch46_evt_id.rs b/esp32c6/src/soc_etm/ch46_evt_id.rs deleted file mode 100644 index ec629d8eda..0000000000 --- a/esp32c6/src/soc_etm/ch46_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH46_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH46_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH46_EVT_ID` reader - ch46_evt_id"] -pub type CH46_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH46_EVT_ID` writer - ch46_evt_id"] -pub type CH46_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch46_evt_id"] - #[inline(always)] - pub fn ch46_evt_id(&self) -> CH46_EVT_ID_R { - CH46_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH46_EVT_ID") - .field( - "ch46_evt_id", - &format_args!("{}", self.ch46_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch46_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch46_evt_id(&mut self) -> CH46_EVT_ID_W { - CH46_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel46 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH46_EVT_ID_SPEC; -impl crate::RegisterSpec for CH46_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch46_evt_id::R`](R) reader structure"] -impl crate::Readable for CH46_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch46_evt_id::W`](W) writer structure"] -impl crate::Writable for CH46_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH46_EVT_ID to value 0"] -impl crate::Resettable for CH46_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch46_task_id.rs b/esp32c6/src/soc_etm/ch46_task_id.rs deleted file mode 100644 index efec1cfe1f..0000000000 --- a/esp32c6/src/soc_etm/ch46_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH46_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH46_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH46_TASK_ID` reader - ch46_task_id"] -pub type CH46_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH46_TASK_ID` writer - ch46_task_id"] -pub type CH46_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch46_task_id"] - #[inline(always)] - pub fn ch46_task_id(&self) -> CH46_TASK_ID_R { - CH46_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH46_TASK_ID") - .field( - "ch46_task_id", - &format_args!("{}", self.ch46_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch46_task_id"] - #[inline(always)] - #[must_use] - pub fn ch46_task_id(&mut self) -> CH46_TASK_ID_W { - CH46_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel46 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH46_TASK_ID_SPEC; -impl crate::RegisterSpec for CH46_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch46_task_id::R`](R) reader structure"] -impl crate::Readable for CH46_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch46_task_id::W`](W) writer structure"] -impl crate::Writable for CH46_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH46_TASK_ID to value 0"] -impl crate::Resettable for CH46_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch47_evt_id.rs b/esp32c6/src/soc_etm/ch47_evt_id.rs deleted file mode 100644 index 9911f4cafe..0000000000 --- a/esp32c6/src/soc_etm/ch47_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH47_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH47_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH47_EVT_ID` reader - ch47_evt_id"] -pub type CH47_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH47_EVT_ID` writer - ch47_evt_id"] -pub type CH47_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch47_evt_id"] - #[inline(always)] - pub fn ch47_evt_id(&self) -> CH47_EVT_ID_R { - CH47_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH47_EVT_ID") - .field( - "ch47_evt_id", - &format_args!("{}", self.ch47_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch47_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch47_evt_id(&mut self) -> CH47_EVT_ID_W { - CH47_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel47 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH47_EVT_ID_SPEC; -impl crate::RegisterSpec for CH47_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch47_evt_id::R`](R) reader structure"] -impl crate::Readable for CH47_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch47_evt_id::W`](W) writer structure"] -impl crate::Writable for CH47_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH47_EVT_ID to value 0"] -impl crate::Resettable for CH47_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch47_task_id.rs b/esp32c6/src/soc_etm/ch47_task_id.rs deleted file mode 100644 index 696579355a..0000000000 --- a/esp32c6/src/soc_etm/ch47_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH47_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH47_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH47_TASK_ID` reader - ch47_task_id"] -pub type CH47_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH47_TASK_ID` writer - ch47_task_id"] -pub type CH47_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch47_task_id"] - #[inline(always)] - pub fn ch47_task_id(&self) -> CH47_TASK_ID_R { - CH47_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH47_TASK_ID") - .field( - "ch47_task_id", - &format_args!("{}", self.ch47_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch47_task_id"] - #[inline(always)] - #[must_use] - pub fn ch47_task_id(&mut self) -> CH47_TASK_ID_W { - CH47_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel47 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH47_TASK_ID_SPEC; -impl crate::RegisterSpec for CH47_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch47_task_id::R`](R) reader structure"] -impl crate::Readable for CH47_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch47_task_id::W`](W) writer structure"] -impl crate::Writable for CH47_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH47_TASK_ID to value 0"] -impl crate::Resettable for CH47_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch48_evt_id.rs b/esp32c6/src/soc_etm/ch48_evt_id.rs deleted file mode 100644 index ec70967c46..0000000000 --- a/esp32c6/src/soc_etm/ch48_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH48_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH48_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH48_EVT_ID` reader - ch48_evt_id"] -pub type CH48_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH48_EVT_ID` writer - ch48_evt_id"] -pub type CH48_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch48_evt_id"] - #[inline(always)] - pub fn ch48_evt_id(&self) -> CH48_EVT_ID_R { - CH48_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH48_EVT_ID") - .field( - "ch48_evt_id", - &format_args!("{}", self.ch48_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch48_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch48_evt_id(&mut self) -> CH48_EVT_ID_W { - CH48_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel48 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH48_EVT_ID_SPEC; -impl crate::RegisterSpec for CH48_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch48_evt_id::R`](R) reader structure"] -impl crate::Readable for CH48_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch48_evt_id::W`](W) writer structure"] -impl crate::Writable for CH48_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH48_EVT_ID to value 0"] -impl crate::Resettable for CH48_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch48_task_id.rs b/esp32c6/src/soc_etm/ch48_task_id.rs deleted file mode 100644 index ddb21c8a9e..0000000000 --- a/esp32c6/src/soc_etm/ch48_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH48_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH48_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH48_TASK_ID` reader - ch48_task_id"] -pub type CH48_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH48_TASK_ID` writer - ch48_task_id"] -pub type CH48_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch48_task_id"] - #[inline(always)] - pub fn ch48_task_id(&self) -> CH48_TASK_ID_R { - CH48_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH48_TASK_ID") - .field( - "ch48_task_id", - &format_args!("{}", self.ch48_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch48_task_id"] - #[inline(always)] - #[must_use] - pub fn ch48_task_id(&mut self) -> CH48_TASK_ID_W { - CH48_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel48 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH48_TASK_ID_SPEC; -impl crate::RegisterSpec for CH48_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch48_task_id::R`](R) reader structure"] -impl crate::Readable for CH48_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch48_task_id::W`](W) writer structure"] -impl crate::Writable for CH48_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH48_TASK_ID to value 0"] -impl crate::Resettable for CH48_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch49_evt_id.rs b/esp32c6/src/soc_etm/ch49_evt_id.rs deleted file mode 100644 index 85315620ee..0000000000 --- a/esp32c6/src/soc_etm/ch49_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH49_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH49_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH49_EVT_ID` reader - ch49_evt_id"] -pub type CH49_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH49_EVT_ID` writer - ch49_evt_id"] -pub type CH49_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch49_evt_id"] - #[inline(always)] - pub fn ch49_evt_id(&self) -> CH49_EVT_ID_R { - CH49_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH49_EVT_ID") - .field( - "ch49_evt_id", - &format_args!("{}", self.ch49_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch49_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch49_evt_id(&mut self) -> CH49_EVT_ID_W { - CH49_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel49 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH49_EVT_ID_SPEC; -impl crate::RegisterSpec for CH49_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch49_evt_id::R`](R) reader structure"] -impl crate::Readable for CH49_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch49_evt_id::W`](W) writer structure"] -impl crate::Writable for CH49_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH49_EVT_ID to value 0"] -impl crate::Resettable for CH49_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch49_task_id.rs b/esp32c6/src/soc_etm/ch49_task_id.rs deleted file mode 100644 index 19f18754d2..0000000000 --- a/esp32c6/src/soc_etm/ch49_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH49_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH49_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH49_TASK_ID` reader - ch49_task_id"] -pub type CH49_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH49_TASK_ID` writer - ch49_task_id"] -pub type CH49_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch49_task_id"] - #[inline(always)] - pub fn ch49_task_id(&self) -> CH49_TASK_ID_R { - CH49_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH49_TASK_ID") - .field( - "ch49_task_id", - &format_args!("{}", self.ch49_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch49_task_id"] - #[inline(always)] - #[must_use] - pub fn ch49_task_id(&mut self) -> CH49_TASK_ID_W { - CH49_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel49 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH49_TASK_ID_SPEC; -impl crate::RegisterSpec for CH49_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch49_task_id::R`](R) reader structure"] -impl crate::Readable for CH49_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch49_task_id::W`](W) writer structure"] -impl crate::Writable for CH49_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH49_TASK_ID to value 0"] -impl crate::Resettable for CH49_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch4_evt_id.rs b/esp32c6/src/soc_etm/ch4_evt_id.rs deleted file mode 100644 index c1f7bfea7d..0000000000 --- a/esp32c6/src/soc_etm/ch4_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH4_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH4_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH4_EVT_ID` reader - ch4_evt_id"] -pub type CH4_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH4_EVT_ID` writer - ch4_evt_id"] -pub type CH4_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch4_evt_id"] - #[inline(always)] - pub fn ch4_evt_id(&self) -> CH4_EVT_ID_R { - CH4_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH4_EVT_ID") - .field("ch4_evt_id", &format_args!("{}", self.ch4_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch4_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch4_evt_id(&mut self) -> CH4_EVT_ID_W { - CH4_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel4 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH4_EVT_ID_SPEC; -impl crate::RegisterSpec for CH4_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch4_evt_id::R`](R) reader structure"] -impl crate::Readable for CH4_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch4_evt_id::W`](W) writer structure"] -impl crate::Writable for CH4_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH4_EVT_ID to value 0"] -impl crate::Resettable for CH4_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch4_task_id.rs b/esp32c6/src/soc_etm/ch4_task_id.rs deleted file mode 100644 index 5c710e4c46..0000000000 --- a/esp32c6/src/soc_etm/ch4_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH4_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH4_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH4_TASK_ID` reader - ch4_task_id"] -pub type CH4_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH4_TASK_ID` writer - ch4_task_id"] -pub type CH4_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch4_task_id"] - #[inline(always)] - pub fn ch4_task_id(&self) -> CH4_TASK_ID_R { - CH4_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH4_TASK_ID") - .field( - "ch4_task_id", - &format_args!("{}", self.ch4_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch4_task_id"] - #[inline(always)] - #[must_use] - pub fn ch4_task_id(&mut self) -> CH4_TASK_ID_W { - CH4_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel4 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH4_TASK_ID_SPEC; -impl crate::RegisterSpec for CH4_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch4_task_id::R`](R) reader structure"] -impl crate::Readable for CH4_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch4_task_id::W`](W) writer structure"] -impl crate::Writable for CH4_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH4_TASK_ID to value 0"] -impl crate::Resettable for CH4_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch5_evt_id.rs b/esp32c6/src/soc_etm/ch5_evt_id.rs deleted file mode 100644 index ebebe618a8..0000000000 --- a/esp32c6/src/soc_etm/ch5_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH5_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH5_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH5_EVT_ID` reader - ch5_evt_id"] -pub type CH5_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH5_EVT_ID` writer - ch5_evt_id"] -pub type CH5_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch5_evt_id"] - #[inline(always)] - pub fn ch5_evt_id(&self) -> CH5_EVT_ID_R { - CH5_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH5_EVT_ID") - .field("ch5_evt_id", &format_args!("{}", self.ch5_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch5_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch5_evt_id(&mut self) -> CH5_EVT_ID_W { - CH5_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel5 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH5_EVT_ID_SPEC; -impl crate::RegisterSpec for CH5_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch5_evt_id::R`](R) reader structure"] -impl crate::Readable for CH5_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch5_evt_id::W`](W) writer structure"] -impl crate::Writable for CH5_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH5_EVT_ID to value 0"] -impl crate::Resettable for CH5_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch5_task_id.rs b/esp32c6/src/soc_etm/ch5_task_id.rs deleted file mode 100644 index fd214a7b8c..0000000000 --- a/esp32c6/src/soc_etm/ch5_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH5_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH5_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH5_TASK_ID` reader - ch5_task_id"] -pub type CH5_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH5_TASK_ID` writer - ch5_task_id"] -pub type CH5_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch5_task_id"] - #[inline(always)] - pub fn ch5_task_id(&self) -> CH5_TASK_ID_R { - CH5_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH5_TASK_ID") - .field( - "ch5_task_id", - &format_args!("{}", self.ch5_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch5_task_id"] - #[inline(always)] - #[must_use] - pub fn ch5_task_id(&mut self) -> CH5_TASK_ID_W { - CH5_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel5 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH5_TASK_ID_SPEC; -impl crate::RegisterSpec for CH5_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch5_task_id::R`](R) reader structure"] -impl crate::Readable for CH5_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch5_task_id::W`](W) writer structure"] -impl crate::Writable for CH5_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH5_TASK_ID to value 0"] -impl crate::Resettable for CH5_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch6_evt_id.rs b/esp32c6/src/soc_etm/ch6_evt_id.rs deleted file mode 100644 index 240dc444fe..0000000000 --- a/esp32c6/src/soc_etm/ch6_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH6_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH6_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH6_EVT_ID` reader - ch6_evt_id"] -pub type CH6_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH6_EVT_ID` writer - ch6_evt_id"] -pub type CH6_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch6_evt_id"] - #[inline(always)] - pub fn ch6_evt_id(&self) -> CH6_EVT_ID_R { - CH6_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH6_EVT_ID") - .field("ch6_evt_id", &format_args!("{}", self.ch6_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch6_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch6_evt_id(&mut self) -> CH6_EVT_ID_W { - CH6_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel6 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH6_EVT_ID_SPEC; -impl crate::RegisterSpec for CH6_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch6_evt_id::R`](R) reader structure"] -impl crate::Readable for CH6_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch6_evt_id::W`](W) writer structure"] -impl crate::Writable for CH6_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH6_EVT_ID to value 0"] -impl crate::Resettable for CH6_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch6_task_id.rs b/esp32c6/src/soc_etm/ch6_task_id.rs deleted file mode 100644 index e22463d96b..0000000000 --- a/esp32c6/src/soc_etm/ch6_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH6_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH6_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH6_TASK_ID` reader - ch6_task_id"] -pub type CH6_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH6_TASK_ID` writer - ch6_task_id"] -pub type CH6_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch6_task_id"] - #[inline(always)] - pub fn ch6_task_id(&self) -> CH6_TASK_ID_R { - CH6_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH6_TASK_ID") - .field( - "ch6_task_id", - &format_args!("{}", self.ch6_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch6_task_id"] - #[inline(always)] - #[must_use] - pub fn ch6_task_id(&mut self) -> CH6_TASK_ID_W { - CH6_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel6 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH6_TASK_ID_SPEC; -impl crate::RegisterSpec for CH6_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch6_task_id::R`](R) reader structure"] -impl crate::Readable for CH6_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch6_task_id::W`](W) writer structure"] -impl crate::Writable for CH6_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH6_TASK_ID to value 0"] -impl crate::Resettable for CH6_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch7_evt_id.rs b/esp32c6/src/soc_etm/ch7_evt_id.rs deleted file mode 100644 index 7a261306f0..0000000000 --- a/esp32c6/src/soc_etm/ch7_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH7_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH7_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH7_EVT_ID` reader - ch7_evt_id"] -pub type CH7_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH7_EVT_ID` writer - ch7_evt_id"] -pub type CH7_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch7_evt_id"] - #[inline(always)] - pub fn ch7_evt_id(&self) -> CH7_EVT_ID_R { - CH7_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH7_EVT_ID") - .field("ch7_evt_id", &format_args!("{}", self.ch7_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch7_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch7_evt_id(&mut self) -> CH7_EVT_ID_W { - CH7_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel7 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH7_EVT_ID_SPEC; -impl crate::RegisterSpec for CH7_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch7_evt_id::R`](R) reader structure"] -impl crate::Readable for CH7_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch7_evt_id::W`](W) writer structure"] -impl crate::Writable for CH7_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH7_EVT_ID to value 0"] -impl crate::Resettable for CH7_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch7_task_id.rs b/esp32c6/src/soc_etm/ch7_task_id.rs deleted file mode 100644 index db157a3ca6..0000000000 --- a/esp32c6/src/soc_etm/ch7_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH7_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH7_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH7_TASK_ID` reader - ch7_task_id"] -pub type CH7_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH7_TASK_ID` writer - ch7_task_id"] -pub type CH7_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch7_task_id"] - #[inline(always)] - pub fn ch7_task_id(&self) -> CH7_TASK_ID_R { - CH7_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH7_TASK_ID") - .field( - "ch7_task_id", - &format_args!("{}", self.ch7_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch7_task_id"] - #[inline(always)] - #[must_use] - pub fn ch7_task_id(&mut self) -> CH7_TASK_ID_W { - CH7_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel7 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH7_TASK_ID_SPEC; -impl crate::RegisterSpec for CH7_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch7_task_id::R`](R) reader structure"] -impl crate::Readable for CH7_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch7_task_id::W`](W) writer structure"] -impl crate::Writable for CH7_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH7_TASK_ID to value 0"] -impl crate::Resettable for CH7_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch8_evt_id.rs b/esp32c6/src/soc_etm/ch8_evt_id.rs deleted file mode 100644 index a4e64b60ab..0000000000 --- a/esp32c6/src/soc_etm/ch8_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH8_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH8_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH8_EVT_ID` reader - ch8_evt_id"] -pub type CH8_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH8_EVT_ID` writer - ch8_evt_id"] -pub type CH8_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch8_evt_id"] - #[inline(always)] - pub fn ch8_evt_id(&self) -> CH8_EVT_ID_R { - CH8_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH8_EVT_ID") - .field("ch8_evt_id", &format_args!("{}", self.ch8_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch8_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch8_evt_id(&mut self) -> CH8_EVT_ID_W { - CH8_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel8 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH8_EVT_ID_SPEC; -impl crate::RegisterSpec for CH8_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch8_evt_id::R`](R) reader structure"] -impl crate::Readable for CH8_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch8_evt_id::W`](W) writer structure"] -impl crate::Writable for CH8_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH8_EVT_ID to value 0"] -impl crate::Resettable for CH8_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch8_task_id.rs b/esp32c6/src/soc_etm/ch8_task_id.rs deleted file mode 100644 index 55d210a12d..0000000000 --- a/esp32c6/src/soc_etm/ch8_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH8_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH8_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH8_TASK_ID` reader - ch8_task_id"] -pub type CH8_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH8_TASK_ID` writer - ch8_task_id"] -pub type CH8_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch8_task_id"] - #[inline(always)] - pub fn ch8_task_id(&self) -> CH8_TASK_ID_R { - CH8_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH8_TASK_ID") - .field( - "ch8_task_id", - &format_args!("{}", self.ch8_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch8_task_id"] - #[inline(always)] - #[must_use] - pub fn ch8_task_id(&mut self) -> CH8_TASK_ID_W { - CH8_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel8 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH8_TASK_ID_SPEC; -impl crate::RegisterSpec for CH8_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch8_task_id::R`](R) reader structure"] -impl crate::Readable for CH8_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch8_task_id::W`](W) writer structure"] -impl crate::Writable for CH8_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH8_TASK_ID to value 0"] -impl crate::Resettable for CH8_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch9_evt_id.rs b/esp32c6/src/soc_etm/ch9_evt_id.rs deleted file mode 100644 index 8a3d188c36..0000000000 --- a/esp32c6/src/soc_etm/ch9_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH9_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH9_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH9_EVT_ID` reader - ch9_evt_id"] -pub type CH9_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH9_EVT_ID` writer - ch9_evt_id"] -pub type CH9_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch9_evt_id"] - #[inline(always)] - pub fn ch9_evt_id(&self) -> CH9_EVT_ID_R { - CH9_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH9_EVT_ID") - .field("ch9_evt_id", &format_args!("{}", self.ch9_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch9_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch9_evt_id(&mut self) -> CH9_EVT_ID_W { - CH9_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel9 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH9_EVT_ID_SPEC; -impl crate::RegisterSpec for CH9_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch9_evt_id::R`](R) reader structure"] -impl crate::Readable for CH9_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch9_evt_id::W`](W) writer structure"] -impl crate::Writable for CH9_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH9_EVT_ID to value 0"] -impl crate::Resettable for CH9_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch9_task_id.rs b/esp32c6/src/soc_etm/ch9_task_id.rs deleted file mode 100644 index 25c37c5565..0000000000 --- a/esp32c6/src/soc_etm/ch9_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH9_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH9_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH9_TASK_ID` reader - ch9_task_id"] -pub type CH9_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH9_TASK_ID` writer - ch9_task_id"] -pub type CH9_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch9_task_id"] - #[inline(always)] - pub fn ch9_task_id(&self) -> CH9_TASK_ID_R { - CH9_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH9_TASK_ID") - .field( - "ch9_task_id", - &format_args!("{}", self.ch9_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch9_task_id"] - #[inline(always)] - #[must_use] - pub fn ch9_task_id(&mut self) -> CH9_TASK_ID_W { - CH9_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel9 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH9_TASK_ID_SPEC; -impl crate::RegisterSpec for CH9_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch9_task_id::R`](R) reader structure"] -impl crate::Readable for CH9_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch9_task_id::W`](W) writer structure"] -impl crate::Writable for CH9_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH9_TASK_ID to value 0"] -impl crate::Resettable for CH9_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32c6/src/soc_etm/ch_ena_ad0.rs b/esp32c6/src/soc_etm/ch_ena_ad0.rs index c9193fc6d1..562f39333c 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad0.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad0.rs @@ -2,294 +2,185 @@ pub type R = crate::R; #[doc = "Register `CH_ENA_AD0` writer"] pub type W = crate::W; -#[doc = "Field `CH_ENA0` reader - ch0 enable"] -pub type CH_ENA0_R = crate::BitReader; -#[doc = "Field `CH_ENA0` writer - ch0 enable"] -pub type CH_ENA0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA1` reader - ch1 enable"] -pub type CH_ENA1_R = crate::BitReader; -#[doc = "Field `CH_ENA1` writer - ch1 enable"] -pub type CH_ENA1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA2` reader - ch2 enable"] -pub type CH_ENA2_R = crate::BitReader; -#[doc = "Field `CH_ENA2` writer - ch2 enable"] -pub type CH_ENA2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA3` reader - ch3 enable"] -pub type CH_ENA3_R = crate::BitReader; -#[doc = "Field `CH_ENA3` writer - ch3 enable"] -pub type CH_ENA3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA4` reader - ch4 enable"] -pub type CH_ENA4_R = crate::BitReader; -#[doc = "Field `CH_ENA4` writer - ch4 enable"] -pub type CH_ENA4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA5` reader - ch5 enable"] -pub type CH_ENA5_R = crate::BitReader; -#[doc = "Field `CH_ENA5` writer - ch5 enable"] -pub type CH_ENA5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA6` reader - ch6 enable"] -pub type CH_ENA6_R = crate::BitReader; -#[doc = "Field `CH_ENA6` writer - ch6 enable"] -pub type CH_ENA6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA7` reader - ch7 enable"] -pub type CH_ENA7_R = crate::BitReader; -#[doc = "Field `CH_ENA7` writer - ch7 enable"] -pub type CH_ENA7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA8` reader - ch8 enable"] -pub type CH_ENA8_R = crate::BitReader; -#[doc = "Field `CH_ENA8` writer - ch8 enable"] -pub type CH_ENA8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA9` reader - ch9 enable"] -pub type CH_ENA9_R = crate::BitReader; -#[doc = "Field `CH_ENA9` writer - ch9 enable"] -pub type CH_ENA9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA10` reader - ch10 enable"] -pub type CH_ENA10_R = crate::BitReader; -#[doc = "Field `CH_ENA10` writer - ch10 enable"] -pub type CH_ENA10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA11` reader - ch11 enable"] -pub type CH_ENA11_R = crate::BitReader; -#[doc = "Field `CH_ENA11` writer - ch11 enable"] -pub type CH_ENA11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA12` reader - ch12 enable"] -pub type CH_ENA12_R = crate::BitReader; -#[doc = "Field `CH_ENA12` writer - ch12 enable"] -pub type CH_ENA12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA13` reader - ch13 enable"] -pub type CH_ENA13_R = crate::BitReader; -#[doc = "Field `CH_ENA13` writer - ch13 enable"] -pub type CH_ENA13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA14` reader - ch14 enable"] -pub type CH_ENA14_R = crate::BitReader; -#[doc = "Field `CH_ENA14` writer - ch14 enable"] -pub type CH_ENA14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA15` reader - ch15 enable"] -pub type CH_ENA15_R = crate::BitReader; -#[doc = "Field `CH_ENA15` writer - ch15 enable"] -pub type CH_ENA15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA16` reader - ch16 enable"] -pub type CH_ENA16_R = crate::BitReader; -#[doc = "Field `CH_ENA16` writer - ch16 enable"] -pub type CH_ENA16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA17` reader - ch17 enable"] -pub type CH_ENA17_R = crate::BitReader; -#[doc = "Field `CH_ENA17` writer - ch17 enable"] -pub type CH_ENA17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA18` reader - ch18 enable"] -pub type CH_ENA18_R = crate::BitReader; -#[doc = "Field `CH_ENA18` writer - ch18 enable"] -pub type CH_ENA18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA19` reader - ch19 enable"] -pub type CH_ENA19_R = crate::BitReader; -#[doc = "Field `CH_ENA19` writer - ch19 enable"] -pub type CH_ENA19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA20` reader - ch20 enable"] -pub type CH_ENA20_R = crate::BitReader; -#[doc = "Field `CH_ENA20` writer - ch20 enable"] -pub type CH_ENA20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA21` reader - ch21 enable"] -pub type CH_ENA21_R = crate::BitReader; -#[doc = "Field `CH_ENA21` writer - ch21 enable"] -pub type CH_ENA21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA22` reader - ch22 enable"] -pub type CH_ENA22_R = crate::BitReader; -#[doc = "Field `CH_ENA22` writer - ch22 enable"] -pub type CH_ENA22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA23` reader - ch23 enable"] -pub type CH_ENA23_R = crate::BitReader; -#[doc = "Field `CH_ENA23` writer - ch23 enable"] -pub type CH_ENA23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA24` reader - ch24 enable"] -pub type CH_ENA24_R = crate::BitReader; -#[doc = "Field `CH_ENA24` writer - ch24 enable"] -pub type CH_ENA24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA25` reader - ch25 enable"] -pub type CH_ENA25_R = crate::BitReader; -#[doc = "Field `CH_ENA25` writer - ch25 enable"] -pub type CH_ENA25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA26` reader - ch26 enable"] -pub type CH_ENA26_R = crate::BitReader; -#[doc = "Field `CH_ENA26` writer - ch26 enable"] -pub type CH_ENA26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA27` reader - ch27 enable"] -pub type CH_ENA27_R = crate::BitReader; -#[doc = "Field `CH_ENA27` writer - ch27 enable"] -pub type CH_ENA27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA28` reader - ch28 enable"] -pub type CH_ENA28_R = crate::BitReader; -#[doc = "Field `CH_ENA28` writer - ch28 enable"] -pub type CH_ENA28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA29` reader - ch29 enable"] -pub type CH_ENA29_R = crate::BitReader; -#[doc = "Field `CH_ENA29` writer - ch29 enable"] -pub type CH_ENA29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA30` reader - ch30 enable"] -pub type CH_ENA30_R = crate::BitReader; -#[doc = "Field `CH_ENA30` writer - ch30 enable"] -pub type CH_ENA30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA31` reader - ch31 enable"] -pub type CH_ENA31_R = crate::BitReader; -#[doc = "Field `CH_ENA31` writer - ch31 enable"] -pub type CH_ENA31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_ENA(0-31)` reader - ch%s enable"] +pub type CH_ENA_R = crate::BitReader; +#[doc = "Field `CH_ENA(0-31)` writer - ch%s enable"] +pub type CH_ENA_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { + #[doc = "ch(0-31) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field"] + #[inline(always)] + pub fn ch_ena(&self, n: u8) -> CH_ENA_R { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_ENA_R::new(((self.bits >> n) & 1) != 0) + } + #[doc = "Iterator for array of:"] + #[doc = "ch(0-31) enable"] + #[inline(always)] + pub fn ch_ena_iter(&self) -> impl Iterator + '_ { + (0..32).map(move |n| CH_ENA_R::new(((self.bits >> n) & 1) != 0)) + } #[doc = "Bit 0 - ch0 enable"] #[inline(always)] - pub fn ch_ena0(&self) -> CH_ENA0_R { - CH_ENA0_R::new((self.bits & 1) != 0) + pub fn ch_ena0(&self) -> CH_ENA_R { + CH_ENA_R::new((self.bits & 1) != 0) } #[doc = "Bit 1 - ch1 enable"] #[inline(always)] - pub fn ch_ena1(&self) -> CH_ENA1_R { - CH_ENA1_R::new(((self.bits >> 1) & 1) != 0) + pub fn ch_ena1(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 1) & 1) != 0) } #[doc = "Bit 2 - ch2 enable"] #[inline(always)] - pub fn ch_ena2(&self) -> CH_ENA2_R { - CH_ENA2_R::new(((self.bits >> 2) & 1) != 0) + pub fn ch_ena2(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 2) & 1) != 0) } #[doc = "Bit 3 - ch3 enable"] #[inline(always)] - pub fn ch_ena3(&self) -> CH_ENA3_R { - CH_ENA3_R::new(((self.bits >> 3) & 1) != 0) + pub fn ch_ena3(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 3) & 1) != 0) } #[doc = "Bit 4 - ch4 enable"] #[inline(always)] - pub fn ch_ena4(&self) -> CH_ENA4_R { - CH_ENA4_R::new(((self.bits >> 4) & 1) != 0) + pub fn ch_ena4(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 4) & 1) != 0) } #[doc = "Bit 5 - ch5 enable"] #[inline(always)] - pub fn ch_ena5(&self) -> CH_ENA5_R { - CH_ENA5_R::new(((self.bits >> 5) & 1) != 0) + pub fn ch_ena5(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 5) & 1) != 0) } #[doc = "Bit 6 - ch6 enable"] #[inline(always)] - pub fn ch_ena6(&self) -> CH_ENA6_R { - CH_ENA6_R::new(((self.bits >> 6) & 1) != 0) + pub fn ch_ena6(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 6) & 1) != 0) } #[doc = "Bit 7 - ch7 enable"] #[inline(always)] - pub fn ch_ena7(&self) -> CH_ENA7_R { - CH_ENA7_R::new(((self.bits >> 7) & 1) != 0) + pub fn ch_ena7(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 7) & 1) != 0) } #[doc = "Bit 8 - ch8 enable"] #[inline(always)] - pub fn ch_ena8(&self) -> CH_ENA8_R { - CH_ENA8_R::new(((self.bits >> 8) & 1) != 0) + pub fn ch_ena8(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 8) & 1) != 0) } #[doc = "Bit 9 - ch9 enable"] #[inline(always)] - pub fn ch_ena9(&self) -> CH_ENA9_R { - CH_ENA9_R::new(((self.bits >> 9) & 1) != 0) + pub fn ch_ena9(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 9) & 1) != 0) } #[doc = "Bit 10 - ch10 enable"] #[inline(always)] - pub fn ch_ena10(&self) -> CH_ENA10_R { - CH_ENA10_R::new(((self.bits >> 10) & 1) != 0) + pub fn ch_ena10(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 10) & 1) != 0) } #[doc = "Bit 11 - ch11 enable"] #[inline(always)] - pub fn ch_ena11(&self) -> CH_ENA11_R { - CH_ENA11_R::new(((self.bits >> 11) & 1) != 0) + pub fn ch_ena11(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 11) & 1) != 0) } #[doc = "Bit 12 - ch12 enable"] #[inline(always)] - pub fn ch_ena12(&self) -> CH_ENA12_R { - CH_ENA12_R::new(((self.bits >> 12) & 1) != 0) + pub fn ch_ena12(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 12) & 1) != 0) } #[doc = "Bit 13 - ch13 enable"] #[inline(always)] - pub fn ch_ena13(&self) -> CH_ENA13_R { - CH_ENA13_R::new(((self.bits >> 13) & 1) != 0) + pub fn ch_ena13(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 13) & 1) != 0) } #[doc = "Bit 14 - ch14 enable"] #[inline(always)] - pub fn ch_ena14(&self) -> CH_ENA14_R { - CH_ENA14_R::new(((self.bits >> 14) & 1) != 0) + pub fn ch_ena14(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 14) & 1) != 0) } #[doc = "Bit 15 - ch15 enable"] #[inline(always)] - pub fn ch_ena15(&self) -> CH_ENA15_R { - CH_ENA15_R::new(((self.bits >> 15) & 1) != 0) + pub fn ch_ena15(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 15) & 1) != 0) } #[doc = "Bit 16 - ch16 enable"] #[inline(always)] - pub fn ch_ena16(&self) -> CH_ENA16_R { - CH_ENA16_R::new(((self.bits >> 16) & 1) != 0) + pub fn ch_ena16(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 16) & 1) != 0) } #[doc = "Bit 17 - ch17 enable"] #[inline(always)] - pub fn ch_ena17(&self) -> CH_ENA17_R { - CH_ENA17_R::new(((self.bits >> 17) & 1) != 0) + pub fn ch_ena17(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 17) & 1) != 0) } #[doc = "Bit 18 - ch18 enable"] #[inline(always)] - pub fn ch_ena18(&self) -> CH_ENA18_R { - CH_ENA18_R::new(((self.bits >> 18) & 1) != 0) + pub fn ch_ena18(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 18) & 1) != 0) } #[doc = "Bit 19 - ch19 enable"] #[inline(always)] - pub fn ch_ena19(&self) -> CH_ENA19_R { - CH_ENA19_R::new(((self.bits >> 19) & 1) != 0) + pub fn ch_ena19(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 19) & 1) != 0) } #[doc = "Bit 20 - ch20 enable"] #[inline(always)] - pub fn ch_ena20(&self) -> CH_ENA20_R { - CH_ENA20_R::new(((self.bits >> 20) & 1) != 0) + pub fn ch_ena20(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 20) & 1) != 0) } #[doc = "Bit 21 - ch21 enable"] #[inline(always)] - pub fn ch_ena21(&self) -> CH_ENA21_R { - CH_ENA21_R::new(((self.bits >> 21) & 1) != 0) + pub fn ch_ena21(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 21) & 1) != 0) } #[doc = "Bit 22 - ch22 enable"] #[inline(always)] - pub fn ch_ena22(&self) -> CH_ENA22_R { - CH_ENA22_R::new(((self.bits >> 22) & 1) != 0) + pub fn ch_ena22(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 22) & 1) != 0) } #[doc = "Bit 23 - ch23 enable"] #[inline(always)] - pub fn ch_ena23(&self) -> CH_ENA23_R { - CH_ENA23_R::new(((self.bits >> 23) & 1) != 0) + pub fn ch_ena23(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 23) & 1) != 0) } #[doc = "Bit 24 - ch24 enable"] #[inline(always)] - pub fn ch_ena24(&self) -> CH_ENA24_R { - CH_ENA24_R::new(((self.bits >> 24) & 1) != 0) + pub fn ch_ena24(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 24) & 1) != 0) } #[doc = "Bit 25 - ch25 enable"] #[inline(always)] - pub fn ch_ena25(&self) -> CH_ENA25_R { - CH_ENA25_R::new(((self.bits >> 25) & 1) != 0) + pub fn ch_ena25(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 25) & 1) != 0) } #[doc = "Bit 26 - ch26 enable"] #[inline(always)] - pub fn ch_ena26(&self) -> CH_ENA26_R { - CH_ENA26_R::new(((self.bits >> 26) & 1) != 0) + pub fn ch_ena26(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 26) & 1) != 0) } #[doc = "Bit 27 - ch27 enable"] #[inline(always)] - pub fn ch_ena27(&self) -> CH_ENA27_R { - CH_ENA27_R::new(((self.bits >> 27) & 1) != 0) + pub fn ch_ena27(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 27) & 1) != 0) } #[doc = "Bit 28 - ch28 enable"] #[inline(always)] - pub fn ch_ena28(&self) -> CH_ENA28_R { - CH_ENA28_R::new(((self.bits >> 28) & 1) != 0) + pub fn ch_ena28(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 28) & 1) != 0) } #[doc = "Bit 29 - ch29 enable"] #[inline(always)] - pub fn ch_ena29(&self) -> CH_ENA29_R { - CH_ENA29_R::new(((self.bits >> 29) & 1) != 0) + pub fn ch_ena29(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 29) & 1) != 0) } #[doc = "Bit 30 - ch30 enable"] #[inline(always)] - pub fn ch_ena30(&self) -> CH_ENA30_R { - CH_ENA30_R::new(((self.bits >> 30) & 1) != 0) + pub fn ch_ena30(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 30) & 1) != 0) } #[doc = "Bit 31 - ch31 enable"] #[inline(always)] - pub fn ch_ena31(&self) -> CH_ENA31_R { - CH_ENA31_R::new(((self.bits >> 31) & 1) != 0) + pub fn ch_ena31(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 31) & 1) != 0) } } #[cfg(feature = "impl-register-debug")] @@ -338,197 +229,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(0-31) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field"] + #[inline(always)] + #[must_use] + pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_ENA_W::new(self, n) + } #[doc = "Bit 0 - ch0 enable"] #[inline(always)] #[must_use] - pub fn ch_ena0(&mut self) -> CH_ENA0_W { - CH_ENA0_W::new(self, 0) + pub fn ch_ena0(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch1 enable"] #[inline(always)] #[must_use] - pub fn ch_ena1(&mut self) -> CH_ENA1_W { - CH_ENA1_W::new(self, 1) + pub fn ch_ena1(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch2 enable"] #[inline(always)] #[must_use] - pub fn ch_ena2(&mut self) -> CH_ENA2_W { - CH_ENA2_W::new(self, 2) + pub fn ch_ena2(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch3 enable"] #[inline(always)] #[must_use] - pub fn ch_ena3(&mut self) -> CH_ENA3_W { - CH_ENA3_W::new(self, 3) + pub fn ch_ena3(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch4 enable"] #[inline(always)] #[must_use] - pub fn ch_ena4(&mut self) -> CH_ENA4_W { - CH_ENA4_W::new(self, 4) + pub fn ch_ena4(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch5 enable"] #[inline(always)] #[must_use] - pub fn ch_ena5(&mut self) -> CH_ENA5_W { - CH_ENA5_W::new(self, 5) + pub fn ch_ena5(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch6 enable"] #[inline(always)] #[must_use] - pub fn ch_ena6(&mut self) -> CH_ENA6_W { - CH_ENA6_W::new(self, 6) + pub fn ch_ena6(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch7 enable"] #[inline(always)] #[must_use] - pub fn ch_ena7(&mut self) -> CH_ENA7_W { - CH_ENA7_W::new(self, 7) + pub fn ch_ena7(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch8 enable"] #[inline(always)] #[must_use] - pub fn ch_ena8(&mut self) -> CH_ENA8_W { - CH_ENA8_W::new(self, 8) + pub fn ch_ena8(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch9 enable"] #[inline(always)] #[must_use] - pub fn ch_ena9(&mut self) -> CH_ENA9_W { - CH_ENA9_W::new(self, 9) + pub fn ch_ena9(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch10 enable"] #[inline(always)] #[must_use] - pub fn ch_ena10(&mut self) -> CH_ENA10_W { - CH_ENA10_W::new(self, 10) + pub fn ch_ena10(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch11 enable"] #[inline(always)] #[must_use] - pub fn ch_ena11(&mut self) -> CH_ENA11_W { - CH_ENA11_W::new(self, 11) + pub fn ch_ena11(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch12 enable"] #[inline(always)] #[must_use] - pub fn ch_ena12(&mut self) -> CH_ENA12_W { - CH_ENA12_W::new(self, 12) + pub fn ch_ena12(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch13 enable"] #[inline(always)] #[must_use] - pub fn ch_ena13(&mut self) -> CH_ENA13_W { - CH_ENA13_W::new(self, 13) + pub fn ch_ena13(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch14 enable"] #[inline(always)] #[must_use] - pub fn ch_ena14(&mut self) -> CH_ENA14_W { - CH_ENA14_W::new(self, 14) + pub fn ch_ena14(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch15 enable"] #[inline(always)] #[must_use] - pub fn ch_ena15(&mut self) -> CH_ENA15_W { - CH_ENA15_W::new(self, 15) + pub fn ch_ena15(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch16 enable"] #[inline(always)] #[must_use] - pub fn ch_ena16(&mut self) -> CH_ENA16_W { - CH_ENA16_W::new(self, 16) + pub fn ch_ena16(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch17 enable"] #[inline(always)] #[must_use] - pub fn ch_ena17(&mut self) -> CH_ENA17_W { - CH_ENA17_W::new(self, 17) + pub fn ch_ena17(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 17) } #[doc = "Bit 18 - ch18 enable"] #[inline(always)] #[must_use] - pub fn ch_ena18(&mut self) -> CH_ENA18_W { - CH_ENA18_W::new(self, 18) + pub fn ch_ena18(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 18) } #[doc = "Bit 19 - ch19 enable"] #[inline(always)] #[must_use] - pub fn ch_ena19(&mut self) -> CH_ENA19_W { - CH_ENA19_W::new(self, 19) + pub fn ch_ena19(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 19) } #[doc = "Bit 20 - ch20 enable"] #[inline(always)] #[must_use] - pub fn ch_ena20(&mut self) -> CH_ENA20_W { - CH_ENA20_W::new(self, 20) + pub fn ch_ena20(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 20) } #[doc = "Bit 21 - ch21 enable"] #[inline(always)] #[must_use] - pub fn ch_ena21(&mut self) -> CH_ENA21_W { - CH_ENA21_W::new(self, 21) + pub fn ch_ena21(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 21) } #[doc = "Bit 22 - ch22 enable"] #[inline(always)] #[must_use] - pub fn ch_ena22(&mut self) -> CH_ENA22_W { - CH_ENA22_W::new(self, 22) + pub fn ch_ena22(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 22) } #[doc = "Bit 23 - ch23 enable"] #[inline(always)] #[must_use] - pub fn ch_ena23(&mut self) -> CH_ENA23_W { - CH_ENA23_W::new(self, 23) + pub fn ch_ena23(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 23) } #[doc = "Bit 24 - ch24 enable"] #[inline(always)] #[must_use] - pub fn ch_ena24(&mut self) -> CH_ENA24_W { - CH_ENA24_W::new(self, 24) + pub fn ch_ena24(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 24) } #[doc = "Bit 25 - ch25 enable"] #[inline(always)] #[must_use] - pub fn ch_ena25(&mut self) -> CH_ENA25_W { - CH_ENA25_W::new(self, 25) + pub fn ch_ena25(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 25) } #[doc = "Bit 26 - ch26 enable"] #[inline(always)] #[must_use] - pub fn ch_ena26(&mut self) -> CH_ENA26_W { - CH_ENA26_W::new(self, 26) + pub fn ch_ena26(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 26) } #[doc = "Bit 27 - ch27 enable"] #[inline(always)] #[must_use] - pub fn ch_ena27(&mut self) -> CH_ENA27_W { - CH_ENA27_W::new(self, 27) + pub fn ch_ena27(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 27) } #[doc = "Bit 28 - ch28 enable"] #[inline(always)] #[must_use] - pub fn ch_ena28(&mut self) -> CH_ENA28_W { - CH_ENA28_W::new(self, 28) + pub fn ch_ena28(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 28) } #[doc = "Bit 29 - ch29 enable"] #[inline(always)] #[must_use] - pub fn ch_ena29(&mut self) -> CH_ENA29_W { - CH_ENA29_W::new(self, 29) + pub fn ch_ena29(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 29) } #[doc = "Bit 30 - ch30 enable"] #[inline(always)] #[must_use] - pub fn ch_ena30(&mut self) -> CH_ENA30_W { - CH_ENA30_W::new(self, 30) + pub fn ch_ena30(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 30) } #[doc = "Bit 31 - ch31 enable"] #[inline(always)] #[must_use] - pub fn ch_ena31(&mut self) -> CH_ENA31_W { - CH_ENA31_W::new(self, 31) + pub fn ch_ena31(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 31) } } #[doc = "channel enable register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_ena_ad0::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs b/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs index 865ac20829..5aca05c25e 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs @@ -1,69 +1,7 @@ #[doc = "Register `CH_ENA_AD0_CLR` writer"] pub type W = crate::W; -#[doc = "Field `CH_CLR0` writer - ch0 clear"] -pub type CH_CLR0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR1` writer - ch1 clear"] -pub type CH_CLR1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR2` writer - ch2 clear"] -pub type CH_CLR2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR3` writer - ch3 clear"] -pub type CH_CLR3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR4` writer - ch4 clear"] -pub type CH_CLR4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR5` writer - ch5 clear"] -pub type CH_CLR5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR6` writer - ch6 clear"] -pub type CH_CLR6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR7` writer - ch7 clear"] -pub type CH_CLR7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR8` writer - ch8 clear"] -pub type CH_CLR8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR9` writer - ch9 clear"] -pub type CH_CLR9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR10` writer - ch10 clear"] -pub type CH_CLR10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR11` writer - ch11 clear"] -pub type CH_CLR11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR12` writer - ch12 clear"] -pub type CH_CLR12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR13` writer - ch13 clear"] -pub type CH_CLR13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR14` writer - ch14 clear"] -pub type CH_CLR14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR15` writer - ch15 clear"] -pub type CH_CLR15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR16` writer - ch16 clear"] -pub type CH_CLR16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR17` writer - ch17 clear"] -pub type CH_CLR17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR18` writer - ch18 clear"] -pub type CH_CLR18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR19` writer - ch19 clear"] -pub type CH_CLR19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR20` writer - ch20 clear"] -pub type CH_CLR20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR21` writer - ch21 clear"] -pub type CH_CLR21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR22` writer - ch22 clear"] -pub type CH_CLR22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR23` writer - ch23 clear"] -pub type CH_CLR23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR24` writer - ch24 clear"] -pub type CH_CLR24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR25` writer - ch25 clear"] -pub type CH_CLR25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR26` writer - ch26 clear"] -pub type CH_CLR26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR27` writer - ch27 clear"] -pub type CH_CLR27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR28` writer - ch28 clear"] -pub type CH_CLR28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR29` writer - ch29 clear"] -pub type CH_CLR29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR30` writer - ch30 clear"] -pub type CH_CLR30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR31` writer - ch31 clear"] -pub type CH_CLR31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_CLR(0-31)` writer - ch%s clear"] +pub type CH_CLR_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -71,197 +9,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(0-31) clear"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_CLR0` field"] + #[inline(always)] + #[must_use] + pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_CLR_W::new(self, n) + } #[doc = "Bit 0 - ch0 clear"] #[inline(always)] #[must_use] - pub fn ch_clr0(&mut self) -> CH_CLR0_W { - CH_CLR0_W::new(self, 0) + pub fn ch_clr0(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch1 clear"] #[inline(always)] #[must_use] - pub fn ch_clr1(&mut self) -> CH_CLR1_W { - CH_CLR1_W::new(self, 1) + pub fn ch_clr1(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch2 clear"] #[inline(always)] #[must_use] - pub fn ch_clr2(&mut self) -> CH_CLR2_W { - CH_CLR2_W::new(self, 2) + pub fn ch_clr2(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch3 clear"] #[inline(always)] #[must_use] - pub fn ch_clr3(&mut self) -> CH_CLR3_W { - CH_CLR3_W::new(self, 3) + pub fn ch_clr3(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch4 clear"] #[inline(always)] #[must_use] - pub fn ch_clr4(&mut self) -> CH_CLR4_W { - CH_CLR4_W::new(self, 4) + pub fn ch_clr4(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch5 clear"] #[inline(always)] #[must_use] - pub fn ch_clr5(&mut self) -> CH_CLR5_W { - CH_CLR5_W::new(self, 5) + pub fn ch_clr5(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch6 clear"] #[inline(always)] #[must_use] - pub fn ch_clr6(&mut self) -> CH_CLR6_W { - CH_CLR6_W::new(self, 6) + pub fn ch_clr6(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch7 clear"] #[inline(always)] #[must_use] - pub fn ch_clr7(&mut self) -> CH_CLR7_W { - CH_CLR7_W::new(self, 7) + pub fn ch_clr7(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch8 clear"] #[inline(always)] #[must_use] - pub fn ch_clr8(&mut self) -> CH_CLR8_W { - CH_CLR8_W::new(self, 8) + pub fn ch_clr8(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch9 clear"] #[inline(always)] #[must_use] - pub fn ch_clr9(&mut self) -> CH_CLR9_W { - CH_CLR9_W::new(self, 9) + pub fn ch_clr9(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch10 clear"] #[inline(always)] #[must_use] - pub fn ch_clr10(&mut self) -> CH_CLR10_W { - CH_CLR10_W::new(self, 10) + pub fn ch_clr10(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch11 clear"] #[inline(always)] #[must_use] - pub fn ch_clr11(&mut self) -> CH_CLR11_W { - CH_CLR11_W::new(self, 11) + pub fn ch_clr11(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch12 clear"] #[inline(always)] #[must_use] - pub fn ch_clr12(&mut self) -> CH_CLR12_W { - CH_CLR12_W::new(self, 12) + pub fn ch_clr12(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch13 clear"] #[inline(always)] #[must_use] - pub fn ch_clr13(&mut self) -> CH_CLR13_W { - CH_CLR13_W::new(self, 13) + pub fn ch_clr13(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch14 clear"] #[inline(always)] #[must_use] - pub fn ch_clr14(&mut self) -> CH_CLR14_W { - CH_CLR14_W::new(self, 14) + pub fn ch_clr14(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch15 clear"] #[inline(always)] #[must_use] - pub fn ch_clr15(&mut self) -> CH_CLR15_W { - CH_CLR15_W::new(self, 15) + pub fn ch_clr15(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch16 clear"] #[inline(always)] #[must_use] - pub fn ch_clr16(&mut self) -> CH_CLR16_W { - CH_CLR16_W::new(self, 16) + pub fn ch_clr16(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch17 clear"] #[inline(always)] #[must_use] - pub fn ch_clr17(&mut self) -> CH_CLR17_W { - CH_CLR17_W::new(self, 17) + pub fn ch_clr17(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 17) } #[doc = "Bit 18 - ch18 clear"] #[inline(always)] #[must_use] - pub fn ch_clr18(&mut self) -> CH_CLR18_W { - CH_CLR18_W::new(self, 18) + pub fn ch_clr18(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 18) } #[doc = "Bit 19 - ch19 clear"] #[inline(always)] #[must_use] - pub fn ch_clr19(&mut self) -> CH_CLR19_W { - CH_CLR19_W::new(self, 19) + pub fn ch_clr19(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 19) } #[doc = "Bit 20 - ch20 clear"] #[inline(always)] #[must_use] - pub fn ch_clr20(&mut self) -> CH_CLR20_W { - CH_CLR20_W::new(self, 20) + pub fn ch_clr20(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 20) } #[doc = "Bit 21 - ch21 clear"] #[inline(always)] #[must_use] - pub fn ch_clr21(&mut self) -> CH_CLR21_W { - CH_CLR21_W::new(self, 21) + pub fn ch_clr21(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 21) } #[doc = "Bit 22 - ch22 clear"] #[inline(always)] #[must_use] - pub fn ch_clr22(&mut self) -> CH_CLR22_W { - CH_CLR22_W::new(self, 22) + pub fn ch_clr22(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 22) } #[doc = "Bit 23 - ch23 clear"] #[inline(always)] #[must_use] - pub fn ch_clr23(&mut self) -> CH_CLR23_W { - CH_CLR23_W::new(self, 23) + pub fn ch_clr23(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 23) } #[doc = "Bit 24 - ch24 clear"] #[inline(always)] #[must_use] - pub fn ch_clr24(&mut self) -> CH_CLR24_W { - CH_CLR24_W::new(self, 24) + pub fn ch_clr24(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 24) } #[doc = "Bit 25 - ch25 clear"] #[inline(always)] #[must_use] - pub fn ch_clr25(&mut self) -> CH_CLR25_W { - CH_CLR25_W::new(self, 25) + pub fn ch_clr25(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 25) } #[doc = "Bit 26 - ch26 clear"] #[inline(always)] #[must_use] - pub fn ch_clr26(&mut self) -> CH_CLR26_W { - CH_CLR26_W::new(self, 26) + pub fn ch_clr26(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 26) } #[doc = "Bit 27 - ch27 clear"] #[inline(always)] #[must_use] - pub fn ch_clr27(&mut self) -> CH_CLR27_W { - CH_CLR27_W::new(self, 27) + pub fn ch_clr27(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 27) } #[doc = "Bit 28 - ch28 clear"] #[inline(always)] #[must_use] - pub fn ch_clr28(&mut self) -> CH_CLR28_W { - CH_CLR28_W::new(self, 28) + pub fn ch_clr28(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 28) } #[doc = "Bit 29 - ch29 clear"] #[inline(always)] #[must_use] - pub fn ch_clr29(&mut self) -> CH_CLR29_W { - CH_CLR29_W::new(self, 29) + pub fn ch_clr29(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 29) } #[doc = "Bit 30 - ch30 clear"] #[inline(always)] #[must_use] - pub fn ch_clr30(&mut self) -> CH_CLR30_W { - CH_CLR30_W::new(self, 30) + pub fn ch_clr30(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 30) } #[doc = "Bit 31 - ch31 clear"] #[inline(always)] #[must_use] - pub fn ch_clr31(&mut self) -> CH_CLR31_W { - CH_CLR31_W::new(self, 31) + pub fn ch_clr31(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 31) } } #[doc = "channel enable clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32c6/src/soc_etm/ch_ena_ad0_set.rs b/esp32c6/src/soc_etm/ch_ena_ad0_set.rs index d1967a18fa..1710af5c86 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad0_set.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad0_set.rs @@ -1,69 +1,7 @@ #[doc = "Register `CH_ENA_AD0_SET` writer"] pub type W = crate::W; -#[doc = "Field `CH_SET0` writer - ch0 set"] -pub type CH_SET0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET1` writer - ch1 set"] -pub type CH_SET1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET2` writer - ch2 set"] -pub type CH_SET2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET3` writer - ch3 set"] -pub type CH_SET3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET4` writer - ch4 set"] -pub type CH_SET4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET5` writer - ch5 set"] -pub type CH_SET5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET6` writer - ch6 set"] -pub type CH_SET6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET7` writer - ch7 set"] -pub type CH_SET7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET8` writer - ch8 set"] -pub type CH_SET8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET9` writer - ch9 set"] -pub type CH_SET9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET10` writer - ch10 set"] -pub type CH_SET10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET11` writer - ch11 set"] -pub type CH_SET11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET12` writer - ch12 set"] -pub type CH_SET12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET13` writer - ch13 set"] -pub type CH_SET13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET14` writer - ch14 set"] -pub type CH_SET14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET15` writer - ch15 set"] -pub type CH_SET15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET16` writer - ch16 set"] -pub type CH_SET16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET17` writer - ch17 set"] -pub type CH_SET17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET18` writer - ch18 set"] -pub type CH_SET18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET19` writer - ch19 set"] -pub type CH_SET19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET20` writer - ch20 set"] -pub type CH_SET20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET21` writer - ch21 set"] -pub type CH_SET21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET22` writer - ch22 set"] -pub type CH_SET22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET23` writer - ch23 set"] -pub type CH_SET23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET24` writer - ch24 set"] -pub type CH_SET24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET25` writer - ch25 set"] -pub type CH_SET25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET26` writer - ch26 set"] -pub type CH_SET26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET27` writer - ch27 set"] -pub type CH_SET27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET28` writer - ch28 set"] -pub type CH_SET28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET29` writer - ch29 set"] -pub type CH_SET29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET30` writer - ch30 set"] -pub type CH_SET30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET31` writer - ch31 set"] -pub type CH_SET31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_SET(0-31)` writer - ch%s set"] +pub type CH_SET_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -71,197 +9,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(0-31) set"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_SET0` field"] + #[inline(always)] + #[must_use] + pub fn ch_set(&mut self, n: u8) -> CH_SET_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_SET_W::new(self, n) + } #[doc = "Bit 0 - ch0 set"] #[inline(always)] #[must_use] - pub fn ch_set0(&mut self) -> CH_SET0_W { - CH_SET0_W::new(self, 0) + pub fn ch_set0(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch1 set"] #[inline(always)] #[must_use] - pub fn ch_set1(&mut self) -> CH_SET1_W { - CH_SET1_W::new(self, 1) + pub fn ch_set1(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch2 set"] #[inline(always)] #[must_use] - pub fn ch_set2(&mut self) -> CH_SET2_W { - CH_SET2_W::new(self, 2) + pub fn ch_set2(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch3 set"] #[inline(always)] #[must_use] - pub fn ch_set3(&mut self) -> CH_SET3_W { - CH_SET3_W::new(self, 3) + pub fn ch_set3(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch4 set"] #[inline(always)] #[must_use] - pub fn ch_set4(&mut self) -> CH_SET4_W { - CH_SET4_W::new(self, 4) + pub fn ch_set4(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch5 set"] #[inline(always)] #[must_use] - pub fn ch_set5(&mut self) -> CH_SET5_W { - CH_SET5_W::new(self, 5) + pub fn ch_set5(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch6 set"] #[inline(always)] #[must_use] - pub fn ch_set6(&mut self) -> CH_SET6_W { - CH_SET6_W::new(self, 6) + pub fn ch_set6(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch7 set"] #[inline(always)] #[must_use] - pub fn ch_set7(&mut self) -> CH_SET7_W { - CH_SET7_W::new(self, 7) + pub fn ch_set7(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch8 set"] #[inline(always)] #[must_use] - pub fn ch_set8(&mut self) -> CH_SET8_W { - CH_SET8_W::new(self, 8) + pub fn ch_set8(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch9 set"] #[inline(always)] #[must_use] - pub fn ch_set9(&mut self) -> CH_SET9_W { - CH_SET9_W::new(self, 9) + pub fn ch_set9(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch10 set"] #[inline(always)] #[must_use] - pub fn ch_set10(&mut self) -> CH_SET10_W { - CH_SET10_W::new(self, 10) + pub fn ch_set10(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch11 set"] #[inline(always)] #[must_use] - pub fn ch_set11(&mut self) -> CH_SET11_W { - CH_SET11_W::new(self, 11) + pub fn ch_set11(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch12 set"] #[inline(always)] #[must_use] - pub fn ch_set12(&mut self) -> CH_SET12_W { - CH_SET12_W::new(self, 12) + pub fn ch_set12(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch13 set"] #[inline(always)] #[must_use] - pub fn ch_set13(&mut self) -> CH_SET13_W { - CH_SET13_W::new(self, 13) + pub fn ch_set13(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch14 set"] #[inline(always)] #[must_use] - pub fn ch_set14(&mut self) -> CH_SET14_W { - CH_SET14_W::new(self, 14) + pub fn ch_set14(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch15 set"] #[inline(always)] #[must_use] - pub fn ch_set15(&mut self) -> CH_SET15_W { - CH_SET15_W::new(self, 15) + pub fn ch_set15(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch16 set"] #[inline(always)] #[must_use] - pub fn ch_set16(&mut self) -> CH_SET16_W { - CH_SET16_W::new(self, 16) + pub fn ch_set16(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch17 set"] #[inline(always)] #[must_use] - pub fn ch_set17(&mut self) -> CH_SET17_W { - CH_SET17_W::new(self, 17) + pub fn ch_set17(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 17) } #[doc = "Bit 18 - ch18 set"] #[inline(always)] #[must_use] - pub fn ch_set18(&mut self) -> CH_SET18_W { - CH_SET18_W::new(self, 18) + pub fn ch_set18(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 18) } #[doc = "Bit 19 - ch19 set"] #[inline(always)] #[must_use] - pub fn ch_set19(&mut self) -> CH_SET19_W { - CH_SET19_W::new(self, 19) + pub fn ch_set19(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 19) } #[doc = "Bit 20 - ch20 set"] #[inline(always)] #[must_use] - pub fn ch_set20(&mut self) -> CH_SET20_W { - CH_SET20_W::new(self, 20) + pub fn ch_set20(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 20) } #[doc = "Bit 21 - ch21 set"] #[inline(always)] #[must_use] - pub fn ch_set21(&mut self) -> CH_SET21_W { - CH_SET21_W::new(self, 21) + pub fn ch_set21(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 21) } #[doc = "Bit 22 - ch22 set"] #[inline(always)] #[must_use] - pub fn ch_set22(&mut self) -> CH_SET22_W { - CH_SET22_W::new(self, 22) + pub fn ch_set22(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 22) } #[doc = "Bit 23 - ch23 set"] #[inline(always)] #[must_use] - pub fn ch_set23(&mut self) -> CH_SET23_W { - CH_SET23_W::new(self, 23) + pub fn ch_set23(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 23) } #[doc = "Bit 24 - ch24 set"] #[inline(always)] #[must_use] - pub fn ch_set24(&mut self) -> CH_SET24_W { - CH_SET24_W::new(self, 24) + pub fn ch_set24(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 24) } #[doc = "Bit 25 - ch25 set"] #[inline(always)] #[must_use] - pub fn ch_set25(&mut self) -> CH_SET25_W { - CH_SET25_W::new(self, 25) + pub fn ch_set25(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 25) } #[doc = "Bit 26 - ch26 set"] #[inline(always)] #[must_use] - pub fn ch_set26(&mut self) -> CH_SET26_W { - CH_SET26_W::new(self, 26) + pub fn ch_set26(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 26) } #[doc = "Bit 27 - ch27 set"] #[inline(always)] #[must_use] - pub fn ch_set27(&mut self) -> CH_SET27_W { - CH_SET27_W::new(self, 27) + pub fn ch_set27(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 27) } #[doc = "Bit 28 - ch28 set"] #[inline(always)] #[must_use] - pub fn ch_set28(&mut self) -> CH_SET28_W { - CH_SET28_W::new(self, 28) + pub fn ch_set28(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 28) } #[doc = "Bit 29 - ch29 set"] #[inline(always)] #[must_use] - pub fn ch_set29(&mut self) -> CH_SET29_W { - CH_SET29_W::new(self, 29) + pub fn ch_set29(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 29) } #[doc = "Bit 30 - ch30 set"] #[inline(always)] #[must_use] - pub fn ch_set30(&mut self) -> CH_SET30_W { - CH_SET30_W::new(self, 30) + pub fn ch_set30(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 30) } #[doc = "Bit 31 - ch31 set"] #[inline(always)] #[must_use] - pub fn ch_set31(&mut self) -> CH_SET31_W { - CH_SET31_W::new(self, 31) + pub fn ch_set31(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 31) } } #[doc = "channel enable set register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0_set::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32c6/src/soc_etm/ch_ena_ad1.rs b/esp32c6/src/soc_etm/ch_ena_ad1.rs index 0947e162bd..81e2dc0d87 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad1.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad1.rs @@ -2,168 +2,115 @@ pub type R = crate::R; #[doc = "Register `CH_ENA_AD1` writer"] pub type W = crate::W; -#[doc = "Field `CH_ENA32` reader - ch32 enable"] -pub type CH_ENA32_R = crate::BitReader; -#[doc = "Field `CH_ENA32` writer - ch32 enable"] -pub type CH_ENA32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA33` reader - ch33 enable"] -pub type CH_ENA33_R = crate::BitReader; -#[doc = "Field `CH_ENA33` writer - ch33 enable"] -pub type CH_ENA33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA34` reader - ch34 enable"] -pub type CH_ENA34_R = crate::BitReader; -#[doc = "Field `CH_ENA34` writer - ch34 enable"] -pub type CH_ENA34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA35` reader - ch35 enable"] -pub type CH_ENA35_R = crate::BitReader; -#[doc = "Field `CH_ENA35` writer - ch35 enable"] -pub type CH_ENA35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA36` reader - ch36 enable"] -pub type CH_ENA36_R = crate::BitReader; -#[doc = "Field `CH_ENA36` writer - ch36 enable"] -pub type CH_ENA36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA37` reader - ch37 enable"] -pub type CH_ENA37_R = crate::BitReader; -#[doc = "Field `CH_ENA37` writer - ch37 enable"] -pub type CH_ENA37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA38` reader - ch38 enable"] -pub type CH_ENA38_R = crate::BitReader; -#[doc = "Field `CH_ENA38` writer - ch38 enable"] -pub type CH_ENA38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA39` reader - ch39 enable"] -pub type CH_ENA39_R = crate::BitReader; -#[doc = "Field `CH_ENA39` writer - ch39 enable"] -pub type CH_ENA39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA40` reader - ch40 enable"] -pub type CH_ENA40_R = crate::BitReader; -#[doc = "Field `CH_ENA40` writer - ch40 enable"] -pub type CH_ENA40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA41` reader - ch41 enable"] -pub type CH_ENA41_R = crate::BitReader; -#[doc = "Field `CH_ENA41` writer - ch41 enable"] -pub type CH_ENA41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA42` reader - ch42 enable"] -pub type CH_ENA42_R = crate::BitReader; -#[doc = "Field `CH_ENA42` writer - ch42 enable"] -pub type CH_ENA42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA43` reader - ch43 enable"] -pub type CH_ENA43_R = crate::BitReader; -#[doc = "Field `CH_ENA43` writer - ch43 enable"] -pub type CH_ENA43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA44` reader - ch44 enable"] -pub type CH_ENA44_R = crate::BitReader; -#[doc = "Field `CH_ENA44` writer - ch44 enable"] -pub type CH_ENA44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA45` reader - ch45 enable"] -pub type CH_ENA45_R = crate::BitReader; -#[doc = "Field `CH_ENA45` writer - ch45 enable"] -pub type CH_ENA45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA46` reader - ch46 enable"] -pub type CH_ENA46_R = crate::BitReader; -#[doc = "Field `CH_ENA46` writer - ch46 enable"] -pub type CH_ENA46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA47` reader - ch47 enable"] -pub type CH_ENA47_R = crate::BitReader; -#[doc = "Field `CH_ENA47` writer - ch47 enable"] -pub type CH_ENA47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA48` reader - ch48 enable"] -pub type CH_ENA48_R = crate::BitReader; -#[doc = "Field `CH_ENA48` writer - ch48 enable"] -pub type CH_ENA48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA49` reader - ch49 enable"] -pub type CH_ENA49_R = crate::BitReader; -#[doc = "Field `CH_ENA49` writer - ch49 enable"] -pub type CH_ENA49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_ENA(32-49)` reader - ch%s enable"] +pub type CH_ENA_R = crate::BitReader; +#[doc = "Field `CH_ENA(32-49)` writer - ch%s enable"] +pub type CH_ENA_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { + #[doc = "ch(32-49) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field"] + #[inline(always)] + pub fn ch_ena(&self, n: u8) -> CH_ENA_R { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_ENA_R::new(((self.bits >> n) & 1) != 0) + } + #[doc = "Iterator for array of:"] + #[doc = "ch(32-49) enable"] + #[inline(always)] + pub fn ch_ena_iter(&self) -> impl Iterator + '_ { + (0..18).map(move |n| CH_ENA_R::new(((self.bits >> n) & 1) != 0)) + } #[doc = "Bit 0 - ch32 enable"] #[inline(always)] - pub fn ch_ena32(&self) -> CH_ENA32_R { - CH_ENA32_R::new((self.bits & 1) != 0) + pub fn ch_ena32(&self) -> CH_ENA_R { + CH_ENA_R::new((self.bits & 1) != 0) } #[doc = "Bit 1 - ch33 enable"] #[inline(always)] - pub fn ch_ena33(&self) -> CH_ENA33_R { - CH_ENA33_R::new(((self.bits >> 1) & 1) != 0) + pub fn ch_ena33(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 1) & 1) != 0) } #[doc = "Bit 2 - ch34 enable"] #[inline(always)] - pub fn ch_ena34(&self) -> CH_ENA34_R { - CH_ENA34_R::new(((self.bits >> 2) & 1) != 0) + pub fn ch_ena34(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 2) & 1) != 0) } #[doc = "Bit 3 - ch35 enable"] #[inline(always)] - pub fn ch_ena35(&self) -> CH_ENA35_R { - CH_ENA35_R::new(((self.bits >> 3) & 1) != 0) + pub fn ch_ena35(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 3) & 1) != 0) } #[doc = "Bit 4 - ch36 enable"] #[inline(always)] - pub fn ch_ena36(&self) -> CH_ENA36_R { - CH_ENA36_R::new(((self.bits >> 4) & 1) != 0) + pub fn ch_ena36(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 4) & 1) != 0) } #[doc = "Bit 5 - ch37 enable"] #[inline(always)] - pub fn ch_ena37(&self) -> CH_ENA37_R { - CH_ENA37_R::new(((self.bits >> 5) & 1) != 0) + pub fn ch_ena37(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 5) & 1) != 0) } #[doc = "Bit 6 - ch38 enable"] #[inline(always)] - pub fn ch_ena38(&self) -> CH_ENA38_R { - CH_ENA38_R::new(((self.bits >> 6) & 1) != 0) + pub fn ch_ena38(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 6) & 1) != 0) } #[doc = "Bit 7 - ch39 enable"] #[inline(always)] - pub fn ch_ena39(&self) -> CH_ENA39_R { - CH_ENA39_R::new(((self.bits >> 7) & 1) != 0) + pub fn ch_ena39(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 7) & 1) != 0) } #[doc = "Bit 8 - ch40 enable"] #[inline(always)] - pub fn ch_ena40(&self) -> CH_ENA40_R { - CH_ENA40_R::new(((self.bits >> 8) & 1) != 0) + pub fn ch_ena40(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 8) & 1) != 0) } #[doc = "Bit 9 - ch41 enable"] #[inline(always)] - pub fn ch_ena41(&self) -> CH_ENA41_R { - CH_ENA41_R::new(((self.bits >> 9) & 1) != 0) + pub fn ch_ena41(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 9) & 1) != 0) } #[doc = "Bit 10 - ch42 enable"] #[inline(always)] - pub fn ch_ena42(&self) -> CH_ENA42_R { - CH_ENA42_R::new(((self.bits >> 10) & 1) != 0) + pub fn ch_ena42(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 10) & 1) != 0) } #[doc = "Bit 11 - ch43 enable"] #[inline(always)] - pub fn ch_ena43(&self) -> CH_ENA43_R { - CH_ENA43_R::new(((self.bits >> 11) & 1) != 0) + pub fn ch_ena43(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 11) & 1) != 0) } #[doc = "Bit 12 - ch44 enable"] #[inline(always)] - pub fn ch_ena44(&self) -> CH_ENA44_R { - CH_ENA44_R::new(((self.bits >> 12) & 1) != 0) + pub fn ch_ena44(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 12) & 1) != 0) } #[doc = "Bit 13 - ch45 enable"] #[inline(always)] - pub fn ch_ena45(&self) -> CH_ENA45_R { - CH_ENA45_R::new(((self.bits >> 13) & 1) != 0) + pub fn ch_ena45(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 13) & 1) != 0) } #[doc = "Bit 14 - ch46 enable"] #[inline(always)] - pub fn ch_ena46(&self) -> CH_ENA46_R { - CH_ENA46_R::new(((self.bits >> 14) & 1) != 0) + pub fn ch_ena46(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 14) & 1) != 0) } #[doc = "Bit 15 - ch47 enable"] #[inline(always)] - pub fn ch_ena47(&self) -> CH_ENA47_R { - CH_ENA47_R::new(((self.bits >> 15) & 1) != 0) + pub fn ch_ena47(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 15) & 1) != 0) } #[doc = "Bit 16 - ch48 enable"] #[inline(always)] - pub fn ch_ena48(&self) -> CH_ENA48_R { - CH_ENA48_R::new(((self.bits >> 16) & 1) != 0) + pub fn ch_ena48(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 16) & 1) != 0) } #[doc = "Bit 17 - ch49 enable"] #[inline(always)] - pub fn ch_ena49(&self) -> CH_ENA49_R { - CH_ENA49_R::new(((self.bits >> 17) & 1) != 0) + pub fn ch_ena49(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 17) & 1) != 0) } } #[cfg(feature = "impl-register-debug")] @@ -198,113 +145,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(32-49) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field"] + #[inline(always)] + #[must_use] + pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_ENA_W::new(self, n) + } #[doc = "Bit 0 - ch32 enable"] #[inline(always)] #[must_use] - pub fn ch_ena32(&mut self) -> CH_ENA32_W { - CH_ENA32_W::new(self, 0) + pub fn ch_ena32(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch33 enable"] #[inline(always)] #[must_use] - pub fn ch_ena33(&mut self) -> CH_ENA33_W { - CH_ENA33_W::new(self, 1) + pub fn ch_ena33(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch34 enable"] #[inline(always)] #[must_use] - pub fn ch_ena34(&mut self) -> CH_ENA34_W { - CH_ENA34_W::new(self, 2) + pub fn ch_ena34(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch35 enable"] #[inline(always)] #[must_use] - pub fn ch_ena35(&mut self) -> CH_ENA35_W { - CH_ENA35_W::new(self, 3) + pub fn ch_ena35(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch36 enable"] #[inline(always)] #[must_use] - pub fn ch_ena36(&mut self) -> CH_ENA36_W { - CH_ENA36_W::new(self, 4) + pub fn ch_ena36(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch37 enable"] #[inline(always)] #[must_use] - pub fn ch_ena37(&mut self) -> CH_ENA37_W { - CH_ENA37_W::new(self, 5) + pub fn ch_ena37(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch38 enable"] #[inline(always)] #[must_use] - pub fn ch_ena38(&mut self) -> CH_ENA38_W { - CH_ENA38_W::new(self, 6) + pub fn ch_ena38(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch39 enable"] #[inline(always)] #[must_use] - pub fn ch_ena39(&mut self) -> CH_ENA39_W { - CH_ENA39_W::new(self, 7) + pub fn ch_ena39(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch40 enable"] #[inline(always)] #[must_use] - pub fn ch_ena40(&mut self) -> CH_ENA40_W { - CH_ENA40_W::new(self, 8) + pub fn ch_ena40(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch41 enable"] #[inline(always)] #[must_use] - pub fn ch_ena41(&mut self) -> CH_ENA41_W { - CH_ENA41_W::new(self, 9) + pub fn ch_ena41(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch42 enable"] #[inline(always)] #[must_use] - pub fn ch_ena42(&mut self) -> CH_ENA42_W { - CH_ENA42_W::new(self, 10) + pub fn ch_ena42(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch43 enable"] #[inline(always)] #[must_use] - pub fn ch_ena43(&mut self) -> CH_ENA43_W { - CH_ENA43_W::new(self, 11) + pub fn ch_ena43(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch44 enable"] #[inline(always)] #[must_use] - pub fn ch_ena44(&mut self) -> CH_ENA44_W { - CH_ENA44_W::new(self, 12) + pub fn ch_ena44(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch45 enable"] #[inline(always)] #[must_use] - pub fn ch_ena45(&mut self) -> CH_ENA45_W { - CH_ENA45_W::new(self, 13) + pub fn ch_ena45(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch46 enable"] #[inline(always)] #[must_use] - pub fn ch_ena46(&mut self) -> CH_ENA46_W { - CH_ENA46_W::new(self, 14) + pub fn ch_ena46(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch47 enable"] #[inline(always)] #[must_use] - pub fn ch_ena47(&mut self) -> CH_ENA47_W { - CH_ENA47_W::new(self, 15) + pub fn ch_ena47(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch48 enable"] #[inline(always)] #[must_use] - pub fn ch_ena48(&mut self) -> CH_ENA48_W { - CH_ENA48_W::new(self, 16) + pub fn ch_ena48(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch49 enable"] #[inline(always)] #[must_use] - pub fn ch_ena49(&mut self) -> CH_ENA49_W { - CH_ENA49_W::new(self, 17) + pub fn ch_ena49(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 17) } } #[doc = "channel enable register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_ena_ad1::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs b/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs index eb4489de36..6abbee53d3 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs @@ -1,41 +1,7 @@ #[doc = "Register `CH_ENA_AD1_CLR` writer"] pub type W = crate::W; -#[doc = "Field `CH_CLR32` writer - ch32 clear"] -pub type CH_CLR32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR33` writer - ch33 clear"] -pub type CH_CLR33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR34` writer - ch34 clear"] -pub type CH_CLR34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR35` writer - ch35 clear"] -pub type CH_CLR35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR36` writer - ch36 clear"] -pub type CH_CLR36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR37` writer - ch37 clear"] -pub type CH_CLR37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR38` writer - ch38 clear"] -pub type CH_CLR38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR39` writer - ch39 clear"] -pub type CH_CLR39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR40` writer - ch40 clear"] -pub type CH_CLR40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR41` writer - ch41 clear"] -pub type CH_CLR41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR42` writer - ch42 clear"] -pub type CH_CLR42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR43` writer - ch43 clear"] -pub type CH_CLR43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR44` writer - ch44 clear"] -pub type CH_CLR44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR45` writer - ch45 clear"] -pub type CH_CLR45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR46` writer - ch46 clear"] -pub type CH_CLR46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR47` writer - ch47 clear"] -pub type CH_CLR47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR48` writer - ch48 clear"] -pub type CH_CLR48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR49` writer - ch49 clear"] -pub type CH_CLR49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_CLR(32-49)` writer - ch%s clear"] +pub type CH_CLR_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -43,113 +9,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(32-49) clear"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_CLR32` field"] + #[inline(always)] + #[must_use] + pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_CLR_W::new(self, n) + } #[doc = "Bit 0 - ch32 clear"] #[inline(always)] #[must_use] - pub fn ch_clr32(&mut self) -> CH_CLR32_W { - CH_CLR32_W::new(self, 0) + pub fn ch_clr32(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch33 clear"] #[inline(always)] #[must_use] - pub fn ch_clr33(&mut self) -> CH_CLR33_W { - CH_CLR33_W::new(self, 1) + pub fn ch_clr33(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch34 clear"] #[inline(always)] #[must_use] - pub fn ch_clr34(&mut self) -> CH_CLR34_W { - CH_CLR34_W::new(self, 2) + pub fn ch_clr34(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch35 clear"] #[inline(always)] #[must_use] - pub fn ch_clr35(&mut self) -> CH_CLR35_W { - CH_CLR35_W::new(self, 3) + pub fn ch_clr35(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch36 clear"] #[inline(always)] #[must_use] - pub fn ch_clr36(&mut self) -> CH_CLR36_W { - CH_CLR36_W::new(self, 4) + pub fn ch_clr36(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch37 clear"] #[inline(always)] #[must_use] - pub fn ch_clr37(&mut self) -> CH_CLR37_W { - CH_CLR37_W::new(self, 5) + pub fn ch_clr37(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch38 clear"] #[inline(always)] #[must_use] - pub fn ch_clr38(&mut self) -> CH_CLR38_W { - CH_CLR38_W::new(self, 6) + pub fn ch_clr38(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch39 clear"] #[inline(always)] #[must_use] - pub fn ch_clr39(&mut self) -> CH_CLR39_W { - CH_CLR39_W::new(self, 7) + pub fn ch_clr39(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch40 clear"] #[inline(always)] #[must_use] - pub fn ch_clr40(&mut self) -> CH_CLR40_W { - CH_CLR40_W::new(self, 8) + pub fn ch_clr40(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch41 clear"] #[inline(always)] #[must_use] - pub fn ch_clr41(&mut self) -> CH_CLR41_W { - CH_CLR41_W::new(self, 9) + pub fn ch_clr41(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch42 clear"] #[inline(always)] #[must_use] - pub fn ch_clr42(&mut self) -> CH_CLR42_W { - CH_CLR42_W::new(self, 10) + pub fn ch_clr42(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch43 clear"] #[inline(always)] #[must_use] - pub fn ch_clr43(&mut self) -> CH_CLR43_W { - CH_CLR43_W::new(self, 11) + pub fn ch_clr43(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch44 clear"] #[inline(always)] #[must_use] - pub fn ch_clr44(&mut self) -> CH_CLR44_W { - CH_CLR44_W::new(self, 12) + pub fn ch_clr44(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch45 clear"] #[inline(always)] #[must_use] - pub fn ch_clr45(&mut self) -> CH_CLR45_W { - CH_CLR45_W::new(self, 13) + pub fn ch_clr45(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch46 clear"] #[inline(always)] #[must_use] - pub fn ch_clr46(&mut self) -> CH_CLR46_W { - CH_CLR46_W::new(self, 14) + pub fn ch_clr46(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch47 clear"] #[inline(always)] #[must_use] - pub fn ch_clr47(&mut self) -> CH_CLR47_W { - CH_CLR47_W::new(self, 15) + pub fn ch_clr47(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch48 clear"] #[inline(always)] #[must_use] - pub fn ch_clr48(&mut self) -> CH_CLR48_W { - CH_CLR48_W::new(self, 16) + pub fn ch_clr48(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch49 clear"] #[inline(always)] #[must_use] - pub fn ch_clr49(&mut self) -> CH_CLR49_W { - CH_CLR49_W::new(self, 17) + pub fn ch_clr49(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 17) } } #[doc = "channel enable clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32c6/src/soc_etm/ch_ena_ad1_set.rs b/esp32c6/src/soc_etm/ch_ena_ad1_set.rs index 29f5c45d59..6d7ad3b41a 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad1_set.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad1_set.rs @@ -1,41 +1,7 @@ #[doc = "Register `CH_ENA_AD1_SET` writer"] pub type W = crate::W; -#[doc = "Field `CH_SET32` writer - ch32 set"] -pub type CH_SET32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET33` writer - ch33 set"] -pub type CH_SET33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET34` writer - ch34 set"] -pub type CH_SET34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET35` writer - ch35 set"] -pub type CH_SET35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET36` writer - ch36 set"] -pub type CH_SET36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET37` writer - ch37 set"] -pub type CH_SET37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET38` writer - ch38 set"] -pub type CH_SET38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET39` writer - ch39 set"] -pub type CH_SET39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET40` writer - ch40 set"] -pub type CH_SET40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET41` writer - ch41 set"] -pub type CH_SET41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET42` writer - ch42 set"] -pub type CH_SET42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET43` writer - ch43 set"] -pub type CH_SET43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET44` writer - ch44 set"] -pub type CH_SET44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET45` writer - ch45 set"] -pub type CH_SET45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET46` writer - ch46 set"] -pub type CH_SET46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET47` writer - ch47 set"] -pub type CH_SET47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET48` writer - ch48 set"] -pub type CH_SET48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET49` writer - ch49 set"] -pub type CH_SET49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_SET(32-49)` writer - ch%s set"] +pub type CH_SET_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -43,113 +9,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(32-49) set"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_SET32` field"] + #[inline(always)] + #[must_use] + pub fn ch_set(&mut self, n: u8) -> CH_SET_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_SET_W::new(self, n) + } #[doc = "Bit 0 - ch32 set"] #[inline(always)] #[must_use] - pub fn ch_set32(&mut self) -> CH_SET32_W { - CH_SET32_W::new(self, 0) + pub fn ch_set32(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch33 set"] #[inline(always)] #[must_use] - pub fn ch_set33(&mut self) -> CH_SET33_W { - CH_SET33_W::new(self, 1) + pub fn ch_set33(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch34 set"] #[inline(always)] #[must_use] - pub fn ch_set34(&mut self) -> CH_SET34_W { - CH_SET34_W::new(self, 2) + pub fn ch_set34(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch35 set"] #[inline(always)] #[must_use] - pub fn ch_set35(&mut self) -> CH_SET35_W { - CH_SET35_W::new(self, 3) + pub fn ch_set35(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch36 set"] #[inline(always)] #[must_use] - pub fn ch_set36(&mut self) -> CH_SET36_W { - CH_SET36_W::new(self, 4) + pub fn ch_set36(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch37 set"] #[inline(always)] #[must_use] - pub fn ch_set37(&mut self) -> CH_SET37_W { - CH_SET37_W::new(self, 5) + pub fn ch_set37(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch38 set"] #[inline(always)] #[must_use] - pub fn ch_set38(&mut self) -> CH_SET38_W { - CH_SET38_W::new(self, 6) + pub fn ch_set38(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch39 set"] #[inline(always)] #[must_use] - pub fn ch_set39(&mut self) -> CH_SET39_W { - CH_SET39_W::new(self, 7) + pub fn ch_set39(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch40 set"] #[inline(always)] #[must_use] - pub fn ch_set40(&mut self) -> CH_SET40_W { - CH_SET40_W::new(self, 8) + pub fn ch_set40(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch41 set"] #[inline(always)] #[must_use] - pub fn ch_set41(&mut self) -> CH_SET41_W { - CH_SET41_W::new(self, 9) + pub fn ch_set41(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch42 set"] #[inline(always)] #[must_use] - pub fn ch_set42(&mut self) -> CH_SET42_W { - CH_SET42_W::new(self, 10) + pub fn ch_set42(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch43 set"] #[inline(always)] #[must_use] - pub fn ch_set43(&mut self) -> CH_SET43_W { - CH_SET43_W::new(self, 11) + pub fn ch_set43(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch44 set"] #[inline(always)] #[must_use] - pub fn ch_set44(&mut self) -> CH_SET44_W { - CH_SET44_W::new(self, 12) + pub fn ch_set44(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch45 set"] #[inline(always)] #[must_use] - pub fn ch_set45(&mut self) -> CH_SET45_W { - CH_SET45_W::new(self, 13) + pub fn ch_set45(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch46 set"] #[inline(always)] #[must_use] - pub fn ch_set46(&mut self) -> CH_SET46_W { - CH_SET46_W::new(self, 14) + pub fn ch_set46(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch47 set"] #[inline(always)] #[must_use] - pub fn ch_set47(&mut self) -> CH_SET47_W { - CH_SET47_W::new(self, 15) + pub fn ch_set47(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch48 set"] #[inline(always)] #[must_use] - pub fn ch_set48(&mut self) -> CH_SET48_W { - CH_SET48_W::new(self, 16) + pub fn ch_set48(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch49 set"] #[inline(always)] #[must_use] - pub fn ch_set49(&mut self) -> CH_SET49_W { - CH_SET49_W::new(self, 17) + pub fn ch_set49(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 17) } } #[doc = "channel enable set register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1_set::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32c6/svd/patches/esp32c6.yaml b/esp32c6/svd/patches/esp32c6.yaml index a71e6f7bce..1556eacf54 100644 --- a/esp32c6/svd/patches/esp32c6.yaml +++ b/esp32c6/svd/patches/esp32c6.yaml @@ -82,6 +82,9 @@ SPI2: MCPWM0: _include: ../../../common_patches/mcpwm_collect.yaml +SOC_ETM: + _include: ../../../common_patches/etm_collect.yaml + DMA: _modify: OUT_CONF0_CH%s: diff --git a/esp32h2/src/soc_etm.rs b/esp32h2/src/soc_etm.rs index a06ebb414f..8e7214d3b1 100644 --- a/esp32h2/src/soc_etm.rs +++ b/esp32h2/src/soc_etm.rs @@ -8,106 +8,7 @@ pub struct RegisterBlock { ch_ena_ad1: CH_ENA_AD1, ch_ena_ad1_set: CH_ENA_AD1_SET, ch_ena_ad1_clr: CH_ENA_AD1_CLR, - ch0_evt_id: CH0_EVT_ID, - ch0_task_id: CH0_TASK_ID, - ch1_evt_id: CH1_EVT_ID, - ch1_task_id: CH1_TASK_ID, - ch2_evt_id: CH2_EVT_ID, - ch2_task_id: CH2_TASK_ID, - ch3_evt_id: CH3_EVT_ID, - ch3_task_id: CH3_TASK_ID, - ch4_evt_id: CH4_EVT_ID, - ch4_task_id: CH4_TASK_ID, - ch5_evt_id: CH5_EVT_ID, - ch5_task_id: CH5_TASK_ID, - ch6_evt_id: CH6_EVT_ID, - ch6_task_id: CH6_TASK_ID, - ch7_evt_id: CH7_EVT_ID, - ch7_task_id: CH7_TASK_ID, - ch8_evt_id: CH8_EVT_ID, - ch8_task_id: CH8_TASK_ID, - ch9_evt_id: CH9_EVT_ID, - ch9_task_id: CH9_TASK_ID, - ch10_evt_id: CH10_EVT_ID, - ch10_task_id: CH10_TASK_ID, - ch11_evt_id: CH11_EVT_ID, - ch11_task_id: CH11_TASK_ID, - ch12_evt_id: CH12_EVT_ID, - ch12_task_id: CH12_TASK_ID, - ch13_evt_id: CH13_EVT_ID, - ch13_task_id: CH13_TASK_ID, - ch14_evt_id: CH14_EVT_ID, - ch14_task_id: CH14_TASK_ID, - ch15_evt_id: CH15_EVT_ID, - ch15_task_id: CH15_TASK_ID, - ch16_evt_id: CH16_EVT_ID, - ch16_task_id: CH16_TASK_ID, - ch17_evt_id: CH17_EVT_ID, - ch17_task_id: CH17_TASK_ID, - ch18_evt_id: CH18_EVT_ID, - ch18_task_id: CH18_TASK_ID, - ch19_evt_id: CH19_EVT_ID, - ch19_task_id: CH19_TASK_ID, - ch20_evt_id: CH20_EVT_ID, - ch20_task_id: CH20_TASK_ID, - ch21_evt_id: CH21_EVT_ID, - ch21_task_id: CH21_TASK_ID, - ch22_evt_id: CH22_EVT_ID, - ch22_task_id: CH22_TASK_ID, - ch23_evt_id: CH23_EVT_ID, - ch23_task_id: CH23_TASK_ID, - ch24_evt_id: CH24_EVT_ID, - ch24_task_id: CH24_TASK_ID, - ch25_evt_id: CH25_EVT_ID, - ch25_task_id: CH25_TASK_ID, - ch26_evt_id: CH26_EVT_ID, - ch26_task_id: CH26_TASK_ID, - ch27_evt_id: CH27_EVT_ID, - ch27_task_id: CH27_TASK_ID, - ch28_evt_id: CH28_EVT_ID, - ch28_task_id: CH28_TASK_ID, - ch29_evt_id: CH29_EVT_ID, - ch29_task_id: CH29_TASK_ID, - ch30_evt_id: CH30_EVT_ID, - ch30_task_id: CH30_TASK_ID, - ch31_evt_id: CH31_EVT_ID, - ch31_task_id: CH31_TASK_ID, - ch32_evt_id: CH32_EVT_ID, - ch32_task_id: CH32_TASK_ID, - ch33_evt_id: CH33_EVT_ID, - ch33_task_id: CH33_TASK_ID, - ch34_evt_id: CH34_EVT_ID, - ch34_task_id: CH34_TASK_ID, - ch35_evt_id: CH35_EVT_ID, - ch35_task_id: CH35_TASK_ID, - ch36_evt_id: CH36_EVT_ID, - ch36_task_id: CH36_TASK_ID, - ch37_evt_id: CH37_EVT_ID, - ch37_task_id: CH37_TASK_ID, - ch38_evt_id: CH38_EVT_ID, - ch38_task_id: CH38_TASK_ID, - ch39_evt_id: CH39_EVT_ID, - ch39_task_id: CH39_TASK_ID, - ch40_evt_id: CH40_EVT_ID, - ch40_task_id: CH40_TASK_ID, - ch41_evt_id: CH41_EVT_ID, - ch41_task_id: CH41_TASK_ID, - ch42_evt_id: CH42_EVT_ID, - ch42_task_id: CH42_TASK_ID, - ch43_evt_id: CH43_EVT_ID, - ch43_task_id: CH43_TASK_ID, - ch44_evt_id: CH44_EVT_ID, - ch44_task_id: CH44_TASK_ID, - ch45_evt_id: CH45_EVT_ID, - ch45_task_id: CH45_TASK_ID, - ch46_evt_id: CH46_EVT_ID, - ch46_task_id: CH46_TASK_ID, - ch47_evt_id: CH47_EVT_ID, - ch47_task_id: CH47_TASK_ID, - ch48_evt_id: CH48_EVT_ID, - ch48_task_id: CH48_TASK_ID, - ch49_evt_id: CH49_EVT_ID, - ch49_task_id: CH49_TASK_ID, + ch: [CH; 50], clk_en: CLK_EN, date: DATE, } @@ -142,505 +43,16 @@ impl RegisterBlock { pub const fn ch_ena_ad1_clr(&self) -> &CH_ENA_AD1_CLR { &self.ch_ena_ad1_clr } - #[doc = "0x18 - channel0 event id register"] + #[doc = "0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] #[inline(always)] - pub const fn ch0_evt_id(&self) -> &CH0_EVT_ID { - &self.ch0_evt_id + pub const fn ch(&self, n: usize) -> &CH { + &self.ch[n] } - #[doc = "0x1c - channel0 task id register"] + #[doc = "Iterator for array of:"] + #[doc = "0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] #[inline(always)] - pub const fn ch0_task_id(&self) -> &CH0_TASK_ID { - &self.ch0_task_id - } - #[doc = "0x20 - channel1 event id register"] - #[inline(always)] - pub const fn ch1_evt_id(&self) -> &CH1_EVT_ID { - &self.ch1_evt_id - } - #[doc = "0x24 - channel1 task id register"] - #[inline(always)] - pub const fn ch1_task_id(&self) -> &CH1_TASK_ID { - &self.ch1_task_id - } - #[doc = "0x28 - channel2 event id register"] - #[inline(always)] - pub const fn ch2_evt_id(&self) -> &CH2_EVT_ID { - &self.ch2_evt_id - } - #[doc = "0x2c - channel2 task id register"] - #[inline(always)] - pub const fn ch2_task_id(&self) -> &CH2_TASK_ID { - &self.ch2_task_id - } - #[doc = "0x30 - channel3 event id register"] - #[inline(always)] - pub const fn ch3_evt_id(&self) -> &CH3_EVT_ID { - &self.ch3_evt_id - } - #[doc = "0x34 - channel3 task id register"] - #[inline(always)] - pub const fn ch3_task_id(&self) -> &CH3_TASK_ID { - &self.ch3_task_id - } - #[doc = "0x38 - channel4 event id register"] - #[inline(always)] - pub const fn ch4_evt_id(&self) -> &CH4_EVT_ID { - &self.ch4_evt_id - } - #[doc = "0x3c - channel4 task id register"] - #[inline(always)] - pub const fn ch4_task_id(&self) -> &CH4_TASK_ID { - &self.ch4_task_id - } - #[doc = "0x40 - channel5 event id register"] - #[inline(always)] - pub const fn ch5_evt_id(&self) -> &CH5_EVT_ID { - &self.ch5_evt_id - } - #[doc = "0x44 - channel5 task id register"] - #[inline(always)] - pub const fn ch5_task_id(&self) -> &CH5_TASK_ID { - &self.ch5_task_id - } - #[doc = "0x48 - channel6 event id register"] - #[inline(always)] - pub const fn ch6_evt_id(&self) -> &CH6_EVT_ID { - &self.ch6_evt_id - } - #[doc = "0x4c - channel6 task id register"] - #[inline(always)] - pub const fn ch6_task_id(&self) -> &CH6_TASK_ID { - &self.ch6_task_id - } - #[doc = "0x50 - channel7 event id register"] - #[inline(always)] - pub const fn ch7_evt_id(&self) -> &CH7_EVT_ID { - &self.ch7_evt_id - } - #[doc = "0x54 - channel7 task id register"] - #[inline(always)] - pub const fn ch7_task_id(&self) -> &CH7_TASK_ID { - &self.ch7_task_id - } - #[doc = "0x58 - channel8 event id register"] - #[inline(always)] - pub const fn ch8_evt_id(&self) -> &CH8_EVT_ID { - &self.ch8_evt_id - } - #[doc = "0x5c - channel8 task id register"] - #[inline(always)] - pub const fn ch8_task_id(&self) -> &CH8_TASK_ID { - &self.ch8_task_id - } - #[doc = "0x60 - channel9 event id register"] - #[inline(always)] - pub const fn ch9_evt_id(&self) -> &CH9_EVT_ID { - &self.ch9_evt_id - } - #[doc = "0x64 - channel9 task id register"] - #[inline(always)] - pub const fn ch9_task_id(&self) -> &CH9_TASK_ID { - &self.ch9_task_id - } - #[doc = "0x68 - channel10 event id register"] - #[inline(always)] - pub const fn ch10_evt_id(&self) -> &CH10_EVT_ID { - &self.ch10_evt_id - } - #[doc = "0x6c - channel10 task id register"] - #[inline(always)] - pub const fn ch10_task_id(&self) -> &CH10_TASK_ID { - &self.ch10_task_id - } - #[doc = "0x70 - channel11 event id register"] - #[inline(always)] - pub const fn ch11_evt_id(&self) -> &CH11_EVT_ID { - &self.ch11_evt_id - } - #[doc = "0x74 - channel11 task id register"] - #[inline(always)] - pub const fn ch11_task_id(&self) -> &CH11_TASK_ID { - &self.ch11_task_id - } - #[doc = "0x78 - channel12 event id register"] - #[inline(always)] - pub const fn ch12_evt_id(&self) -> &CH12_EVT_ID { - &self.ch12_evt_id - } - #[doc = "0x7c - channel12 task id register"] - #[inline(always)] - pub const fn ch12_task_id(&self) -> &CH12_TASK_ID { - &self.ch12_task_id - } - #[doc = "0x80 - channel13 event id register"] - #[inline(always)] - pub const fn ch13_evt_id(&self) -> &CH13_EVT_ID { - &self.ch13_evt_id - } - #[doc = "0x84 - channel13 task id register"] - #[inline(always)] - pub const fn ch13_task_id(&self) -> &CH13_TASK_ID { - &self.ch13_task_id - } - #[doc = "0x88 - channel14 event id register"] - #[inline(always)] - pub const fn ch14_evt_id(&self) -> &CH14_EVT_ID { - &self.ch14_evt_id - } - #[doc = "0x8c - channel14 task id register"] - #[inline(always)] - pub const fn ch14_task_id(&self) -> &CH14_TASK_ID { - &self.ch14_task_id - } - #[doc = "0x90 - channel15 event id register"] - #[inline(always)] - pub const fn ch15_evt_id(&self) -> &CH15_EVT_ID { - &self.ch15_evt_id - } - #[doc = "0x94 - channel15 task id register"] - #[inline(always)] - pub const fn ch15_task_id(&self) -> &CH15_TASK_ID { - &self.ch15_task_id - } - #[doc = "0x98 - channel16 event id register"] - #[inline(always)] - pub const fn ch16_evt_id(&self) -> &CH16_EVT_ID { - &self.ch16_evt_id - } - #[doc = "0x9c - channel16 task id register"] - #[inline(always)] - pub const fn ch16_task_id(&self) -> &CH16_TASK_ID { - &self.ch16_task_id - } - #[doc = "0xa0 - channel17 event id register"] - #[inline(always)] - pub const fn ch17_evt_id(&self) -> &CH17_EVT_ID { - &self.ch17_evt_id - } - #[doc = "0xa4 - channel17 task id register"] - #[inline(always)] - pub const fn ch17_task_id(&self) -> &CH17_TASK_ID { - &self.ch17_task_id - } - #[doc = "0xa8 - channel18 event id register"] - #[inline(always)] - pub const fn ch18_evt_id(&self) -> &CH18_EVT_ID { - &self.ch18_evt_id - } - #[doc = "0xac - channel18 task id register"] - #[inline(always)] - pub const fn ch18_task_id(&self) -> &CH18_TASK_ID { - &self.ch18_task_id - } - #[doc = "0xb0 - channel19 event id register"] - #[inline(always)] - pub const fn ch19_evt_id(&self) -> &CH19_EVT_ID { - &self.ch19_evt_id - } - #[doc = "0xb4 - channel19 task id register"] - #[inline(always)] - pub const fn ch19_task_id(&self) -> &CH19_TASK_ID { - &self.ch19_task_id - } - #[doc = "0xb8 - channel20 event id register"] - #[inline(always)] - pub const fn ch20_evt_id(&self) -> &CH20_EVT_ID { - &self.ch20_evt_id - } - #[doc = "0xbc - channel20 task id register"] - #[inline(always)] - pub const fn ch20_task_id(&self) -> &CH20_TASK_ID { - &self.ch20_task_id - } - #[doc = "0xc0 - channel21 event id register"] - #[inline(always)] - pub const fn ch21_evt_id(&self) -> &CH21_EVT_ID { - &self.ch21_evt_id - } - #[doc = "0xc4 - channel21 task id register"] - #[inline(always)] - pub const fn ch21_task_id(&self) -> &CH21_TASK_ID { - &self.ch21_task_id - } - #[doc = "0xc8 - channel22 event id register"] - #[inline(always)] - pub const fn ch22_evt_id(&self) -> &CH22_EVT_ID { - &self.ch22_evt_id - } - #[doc = "0xcc - channel22 task id register"] - #[inline(always)] - pub const fn ch22_task_id(&self) -> &CH22_TASK_ID { - &self.ch22_task_id - } - #[doc = "0xd0 - channel23 event id register"] - #[inline(always)] - pub const fn ch23_evt_id(&self) -> &CH23_EVT_ID { - &self.ch23_evt_id - } - #[doc = "0xd4 - channel23 task id register"] - #[inline(always)] - pub const fn ch23_task_id(&self) -> &CH23_TASK_ID { - &self.ch23_task_id - } - #[doc = "0xd8 - channel24 event id register"] - #[inline(always)] - pub const fn ch24_evt_id(&self) -> &CH24_EVT_ID { - &self.ch24_evt_id - } - #[doc = "0xdc - channel24 task id register"] - #[inline(always)] - pub const fn ch24_task_id(&self) -> &CH24_TASK_ID { - &self.ch24_task_id - } - #[doc = "0xe0 - channel25 event id register"] - #[inline(always)] - pub const fn ch25_evt_id(&self) -> &CH25_EVT_ID { - &self.ch25_evt_id - } - #[doc = "0xe4 - channel25 task id register"] - #[inline(always)] - pub const fn ch25_task_id(&self) -> &CH25_TASK_ID { - &self.ch25_task_id - } - #[doc = "0xe8 - channel26 event id register"] - #[inline(always)] - pub const fn ch26_evt_id(&self) -> &CH26_EVT_ID { - &self.ch26_evt_id - } - #[doc = "0xec - channel26 task id register"] - #[inline(always)] - pub const fn ch26_task_id(&self) -> &CH26_TASK_ID { - &self.ch26_task_id - } - #[doc = "0xf0 - channel27 event id register"] - #[inline(always)] - pub const fn ch27_evt_id(&self) -> &CH27_EVT_ID { - &self.ch27_evt_id - } - #[doc = "0xf4 - channel27 task id register"] - #[inline(always)] - pub const fn ch27_task_id(&self) -> &CH27_TASK_ID { - &self.ch27_task_id - } - #[doc = "0xf8 - channel28 event id register"] - #[inline(always)] - pub const fn ch28_evt_id(&self) -> &CH28_EVT_ID { - &self.ch28_evt_id - } - #[doc = "0xfc - channel28 task id register"] - #[inline(always)] - pub const fn ch28_task_id(&self) -> &CH28_TASK_ID { - &self.ch28_task_id - } - #[doc = "0x100 - channel29 event id register"] - #[inline(always)] - pub const fn ch29_evt_id(&self) -> &CH29_EVT_ID { - &self.ch29_evt_id - } - #[doc = "0x104 - channel29 task id register"] - #[inline(always)] - pub const fn ch29_task_id(&self) -> &CH29_TASK_ID { - &self.ch29_task_id - } - #[doc = "0x108 - channel30 event id register"] - #[inline(always)] - pub const fn ch30_evt_id(&self) -> &CH30_EVT_ID { - &self.ch30_evt_id - } - #[doc = "0x10c - channel30 task id register"] - #[inline(always)] - pub const fn ch30_task_id(&self) -> &CH30_TASK_ID { - &self.ch30_task_id - } - #[doc = "0x110 - channel31 event id register"] - #[inline(always)] - pub const fn ch31_evt_id(&self) -> &CH31_EVT_ID { - &self.ch31_evt_id - } - #[doc = "0x114 - channel31 task id register"] - #[inline(always)] - pub const fn ch31_task_id(&self) -> &CH31_TASK_ID { - &self.ch31_task_id - } - #[doc = "0x118 - channel32 event id register"] - #[inline(always)] - pub const fn ch32_evt_id(&self) -> &CH32_EVT_ID { - &self.ch32_evt_id - } - #[doc = "0x11c - channel32 task id register"] - #[inline(always)] - pub const fn ch32_task_id(&self) -> &CH32_TASK_ID { - &self.ch32_task_id - } - #[doc = "0x120 - channel33 event id register"] - #[inline(always)] - pub const fn ch33_evt_id(&self) -> &CH33_EVT_ID { - &self.ch33_evt_id - } - #[doc = "0x124 - channel33 task id register"] - #[inline(always)] - pub const fn ch33_task_id(&self) -> &CH33_TASK_ID { - &self.ch33_task_id - } - #[doc = "0x128 - channel34 event id register"] - #[inline(always)] - pub const fn ch34_evt_id(&self) -> &CH34_EVT_ID { - &self.ch34_evt_id - } - #[doc = "0x12c - channel34 task id register"] - #[inline(always)] - pub const fn ch34_task_id(&self) -> &CH34_TASK_ID { - &self.ch34_task_id - } - #[doc = "0x130 - channel35 event id register"] - #[inline(always)] - pub const fn ch35_evt_id(&self) -> &CH35_EVT_ID { - &self.ch35_evt_id - } - #[doc = "0x134 - channel35 task id register"] - #[inline(always)] - pub const fn ch35_task_id(&self) -> &CH35_TASK_ID { - &self.ch35_task_id - } - #[doc = "0x138 - channel36 event id register"] - #[inline(always)] - pub const fn ch36_evt_id(&self) -> &CH36_EVT_ID { - &self.ch36_evt_id - } - #[doc = "0x13c - channel36 task id register"] - #[inline(always)] - pub const fn ch36_task_id(&self) -> &CH36_TASK_ID { - &self.ch36_task_id - } - #[doc = "0x140 - channel37 event id register"] - #[inline(always)] - pub const fn ch37_evt_id(&self) -> &CH37_EVT_ID { - &self.ch37_evt_id - } - #[doc = "0x144 - channel37 task id register"] - #[inline(always)] - pub const fn ch37_task_id(&self) -> &CH37_TASK_ID { - &self.ch37_task_id - } - #[doc = "0x148 - channel38 event id register"] - #[inline(always)] - pub const fn ch38_evt_id(&self) -> &CH38_EVT_ID { - &self.ch38_evt_id - } - #[doc = "0x14c - channel38 task id register"] - #[inline(always)] - pub const fn ch38_task_id(&self) -> &CH38_TASK_ID { - &self.ch38_task_id - } - #[doc = "0x150 - channel39 event id register"] - #[inline(always)] - pub const fn ch39_evt_id(&self) -> &CH39_EVT_ID { - &self.ch39_evt_id - } - #[doc = "0x154 - channel39 task id register"] - #[inline(always)] - pub const fn ch39_task_id(&self) -> &CH39_TASK_ID { - &self.ch39_task_id - } - #[doc = "0x158 - channel40 event id register"] - #[inline(always)] - pub const fn ch40_evt_id(&self) -> &CH40_EVT_ID { - &self.ch40_evt_id - } - #[doc = "0x15c - channel40 task id register"] - #[inline(always)] - pub const fn ch40_task_id(&self) -> &CH40_TASK_ID { - &self.ch40_task_id - } - #[doc = "0x160 - channel41 event id register"] - #[inline(always)] - pub const fn ch41_evt_id(&self) -> &CH41_EVT_ID { - &self.ch41_evt_id - } - #[doc = "0x164 - channel41 task id register"] - #[inline(always)] - pub const fn ch41_task_id(&self) -> &CH41_TASK_ID { - &self.ch41_task_id - } - #[doc = "0x168 - channel42 event id register"] - #[inline(always)] - pub const fn ch42_evt_id(&self) -> &CH42_EVT_ID { - &self.ch42_evt_id - } - #[doc = "0x16c - channel42 task id register"] - #[inline(always)] - pub const fn ch42_task_id(&self) -> &CH42_TASK_ID { - &self.ch42_task_id - } - #[doc = "0x170 - channel43 event id register"] - #[inline(always)] - pub const fn ch43_evt_id(&self) -> &CH43_EVT_ID { - &self.ch43_evt_id - } - #[doc = "0x174 - channel43 task id register"] - #[inline(always)] - pub const fn ch43_task_id(&self) -> &CH43_TASK_ID { - &self.ch43_task_id - } - #[doc = "0x178 - channel44 event id register"] - #[inline(always)] - pub const fn ch44_evt_id(&self) -> &CH44_EVT_ID { - &self.ch44_evt_id - } - #[doc = "0x17c - channel44 task id register"] - #[inline(always)] - pub const fn ch44_task_id(&self) -> &CH44_TASK_ID { - &self.ch44_task_id - } - #[doc = "0x180 - channel45 event id register"] - #[inline(always)] - pub const fn ch45_evt_id(&self) -> &CH45_EVT_ID { - &self.ch45_evt_id - } - #[doc = "0x184 - channel45 task id register"] - #[inline(always)] - pub const fn ch45_task_id(&self) -> &CH45_TASK_ID { - &self.ch45_task_id - } - #[doc = "0x188 - channel46 event id register"] - #[inline(always)] - pub const fn ch46_evt_id(&self) -> &CH46_EVT_ID { - &self.ch46_evt_id - } - #[doc = "0x18c - channel46 task id register"] - #[inline(always)] - pub const fn ch46_task_id(&self) -> &CH46_TASK_ID { - &self.ch46_task_id - } - #[doc = "0x190 - channel47 event id register"] - #[inline(always)] - pub const fn ch47_evt_id(&self) -> &CH47_EVT_ID { - &self.ch47_evt_id - } - #[doc = "0x194 - channel47 task id register"] - #[inline(always)] - pub const fn ch47_task_id(&self) -> &CH47_TASK_ID { - &self.ch47_task_id - } - #[doc = "0x198 - channel48 event id register"] - #[inline(always)] - pub const fn ch48_evt_id(&self) -> &CH48_EVT_ID { - &self.ch48_evt_id - } - #[doc = "0x19c - channel48 task id register"] - #[inline(always)] - pub const fn ch48_task_id(&self) -> &CH48_TASK_ID { - &self.ch48_task_id - } - #[doc = "0x1a0 - channel49 event id register"] - #[inline(always)] - pub const fn ch49_evt_id(&self) -> &CH49_EVT_ID { - &self.ch49_evt_id - } - #[doc = "0x1a4 - channel49 task id register"] - #[inline(always)] - pub const fn ch49_task_id(&self) -> &CH49_TASK_ID { - &self.ch49_task_id + pub fn ch_iter(&self) -> impl Iterator { + self.ch.iter() } #[doc = "0x1a8 - etm clock enable register"] #[inline(always)] @@ -677,406 +89,11 @@ pub mod ch_ena_ad1_set; pub type CH_ENA_AD1_CLR = crate::Reg; #[doc = "channel enable clear register"] pub mod ch_ena_ad1_clr; -#[doc = "CH0_EVT_ID (rw) register accessor: channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch0_evt_id`] module"] -pub type CH0_EVT_ID = crate::Reg; -#[doc = "channel0 event id register"] -pub mod ch0_evt_id; -#[doc = "CH0_TASK_ID (rw) register accessor: channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch0_task_id`] module"] -pub type CH0_TASK_ID = crate::Reg; -#[doc = "channel0 task id register"] -pub mod ch0_task_id; -#[doc = "CH1_EVT_ID (rw) register accessor: channel1 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch1_evt_id`] module"] -pub type CH1_EVT_ID = crate::Reg; -#[doc = "channel1 event id register"] -pub mod ch1_evt_id; -#[doc = "CH1_TASK_ID (rw) register accessor: channel1 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch1_task_id`] module"] -pub type CH1_TASK_ID = crate::Reg; -#[doc = "channel1 task id register"] -pub mod ch1_task_id; -#[doc = "CH2_EVT_ID (rw) register accessor: channel2 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch2_evt_id`] module"] -pub type CH2_EVT_ID = crate::Reg; -#[doc = "channel2 event id register"] -pub mod ch2_evt_id; -#[doc = "CH2_TASK_ID (rw) register accessor: channel2 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch2_task_id`] module"] -pub type CH2_TASK_ID = crate::Reg; -#[doc = "channel2 task id register"] -pub mod ch2_task_id; -#[doc = "CH3_EVT_ID (rw) register accessor: channel3 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch3_evt_id`] module"] -pub type CH3_EVT_ID = crate::Reg; -#[doc = "channel3 event id register"] -pub mod ch3_evt_id; -#[doc = "CH3_TASK_ID (rw) register accessor: channel3 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch3_task_id`] module"] -pub type CH3_TASK_ID = crate::Reg; -#[doc = "channel3 task id register"] -pub mod ch3_task_id; -#[doc = "CH4_EVT_ID (rw) register accessor: channel4 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch4_evt_id`] module"] -pub type CH4_EVT_ID = crate::Reg; -#[doc = "channel4 event id register"] -pub mod ch4_evt_id; -#[doc = "CH4_TASK_ID (rw) register accessor: channel4 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch4_task_id`] module"] -pub type CH4_TASK_ID = crate::Reg; -#[doc = "channel4 task id register"] -pub mod ch4_task_id; -#[doc = "CH5_EVT_ID (rw) register accessor: channel5 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch5_evt_id`] module"] -pub type CH5_EVT_ID = crate::Reg; -#[doc = "channel5 event id register"] -pub mod ch5_evt_id; -#[doc = "CH5_TASK_ID (rw) register accessor: channel5 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch5_task_id`] module"] -pub type CH5_TASK_ID = crate::Reg; -#[doc = "channel5 task id register"] -pub mod ch5_task_id; -#[doc = "CH6_EVT_ID (rw) register accessor: channel6 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch6_evt_id`] module"] -pub type CH6_EVT_ID = crate::Reg; -#[doc = "channel6 event id register"] -pub mod ch6_evt_id; -#[doc = "CH6_TASK_ID (rw) register accessor: channel6 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch6_task_id`] module"] -pub type CH6_TASK_ID = crate::Reg; -#[doc = "channel6 task id register"] -pub mod ch6_task_id; -#[doc = "CH7_EVT_ID (rw) register accessor: channel7 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch7_evt_id`] module"] -pub type CH7_EVT_ID = crate::Reg; -#[doc = "channel7 event id register"] -pub mod ch7_evt_id; -#[doc = "CH7_TASK_ID (rw) register accessor: channel7 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch7_task_id`] module"] -pub type CH7_TASK_ID = crate::Reg; -#[doc = "channel7 task id register"] -pub mod ch7_task_id; -#[doc = "CH8_EVT_ID (rw) register accessor: channel8 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch8_evt_id`] module"] -pub type CH8_EVT_ID = crate::Reg; -#[doc = "channel8 event id register"] -pub mod ch8_evt_id; -#[doc = "CH8_TASK_ID (rw) register accessor: channel8 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch8_task_id`] module"] -pub type CH8_TASK_ID = crate::Reg; -#[doc = "channel8 task id register"] -pub mod ch8_task_id; -#[doc = "CH9_EVT_ID (rw) register accessor: channel9 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch9_evt_id`] module"] -pub type CH9_EVT_ID = crate::Reg; -#[doc = "channel9 event id register"] -pub mod ch9_evt_id; -#[doc = "CH9_TASK_ID (rw) register accessor: channel9 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch9_task_id`] module"] -pub type CH9_TASK_ID = crate::Reg; -#[doc = "channel9 task id register"] -pub mod ch9_task_id; -#[doc = "CH10_EVT_ID (rw) register accessor: channel10 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch10_evt_id`] module"] -pub type CH10_EVT_ID = crate::Reg; -#[doc = "channel10 event id register"] -pub mod ch10_evt_id; -#[doc = "CH10_TASK_ID (rw) register accessor: channel10 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch10_task_id`] module"] -pub type CH10_TASK_ID = crate::Reg; -#[doc = "channel10 task id register"] -pub mod ch10_task_id; -#[doc = "CH11_EVT_ID (rw) register accessor: channel11 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch11_evt_id`] module"] -pub type CH11_EVT_ID = crate::Reg; -#[doc = "channel11 event id register"] -pub mod ch11_evt_id; -#[doc = "CH11_TASK_ID (rw) register accessor: channel11 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch11_task_id`] module"] -pub type CH11_TASK_ID = crate::Reg; -#[doc = "channel11 task id register"] -pub mod ch11_task_id; -#[doc = "CH12_EVT_ID (rw) register accessor: channel12 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch12_evt_id`] module"] -pub type CH12_EVT_ID = crate::Reg; -#[doc = "channel12 event id register"] -pub mod ch12_evt_id; -#[doc = "CH12_TASK_ID (rw) register accessor: channel12 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch12_task_id`] module"] -pub type CH12_TASK_ID = crate::Reg; -#[doc = "channel12 task id register"] -pub mod ch12_task_id; -#[doc = "CH13_EVT_ID (rw) register accessor: channel13 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch13_evt_id`] module"] -pub type CH13_EVT_ID = crate::Reg; -#[doc = "channel13 event id register"] -pub mod ch13_evt_id; -#[doc = "CH13_TASK_ID (rw) register accessor: channel13 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch13_task_id`] module"] -pub type CH13_TASK_ID = crate::Reg; -#[doc = "channel13 task id register"] -pub mod ch13_task_id; -#[doc = "CH14_EVT_ID (rw) register accessor: channel14 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch14_evt_id`] module"] -pub type CH14_EVT_ID = crate::Reg; -#[doc = "channel14 event id register"] -pub mod ch14_evt_id; -#[doc = "CH14_TASK_ID (rw) register accessor: channel14 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch14_task_id`] module"] -pub type CH14_TASK_ID = crate::Reg; -#[doc = "channel14 task id register"] -pub mod ch14_task_id; -#[doc = "CH15_EVT_ID (rw) register accessor: channel15 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch15_evt_id`] module"] -pub type CH15_EVT_ID = crate::Reg; -#[doc = "channel15 event id register"] -pub mod ch15_evt_id; -#[doc = "CH15_TASK_ID (rw) register accessor: channel15 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch15_task_id`] module"] -pub type CH15_TASK_ID = crate::Reg; -#[doc = "channel15 task id register"] -pub mod ch15_task_id; -#[doc = "CH16_EVT_ID (rw) register accessor: channel16 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch16_evt_id`] module"] -pub type CH16_EVT_ID = crate::Reg; -#[doc = "channel16 event id register"] -pub mod ch16_evt_id; -#[doc = "CH16_TASK_ID (rw) register accessor: channel16 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch16_task_id`] module"] -pub type CH16_TASK_ID = crate::Reg; -#[doc = "channel16 task id register"] -pub mod ch16_task_id; -#[doc = "CH17_EVT_ID (rw) register accessor: channel17 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch17_evt_id`] module"] -pub type CH17_EVT_ID = crate::Reg; -#[doc = "channel17 event id register"] -pub mod ch17_evt_id; -#[doc = "CH17_TASK_ID (rw) register accessor: channel17 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch17_task_id`] module"] -pub type CH17_TASK_ID = crate::Reg; -#[doc = "channel17 task id register"] -pub mod ch17_task_id; -#[doc = "CH18_EVT_ID (rw) register accessor: channel18 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch18_evt_id`] module"] -pub type CH18_EVT_ID = crate::Reg; -#[doc = "channel18 event id register"] -pub mod ch18_evt_id; -#[doc = "CH18_TASK_ID (rw) register accessor: channel18 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch18_task_id`] module"] -pub type CH18_TASK_ID = crate::Reg; -#[doc = "channel18 task id register"] -pub mod ch18_task_id; -#[doc = "CH19_EVT_ID (rw) register accessor: channel19 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch19_evt_id`] module"] -pub type CH19_EVT_ID = crate::Reg; -#[doc = "channel19 event id register"] -pub mod ch19_evt_id; -#[doc = "CH19_TASK_ID (rw) register accessor: channel19 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch19_task_id`] module"] -pub type CH19_TASK_ID = crate::Reg; -#[doc = "channel19 task id register"] -pub mod ch19_task_id; -#[doc = "CH20_EVT_ID (rw) register accessor: channel20 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch20_evt_id`] module"] -pub type CH20_EVT_ID = crate::Reg; -#[doc = "channel20 event id register"] -pub mod ch20_evt_id; -#[doc = "CH20_TASK_ID (rw) register accessor: channel20 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch20_task_id`] module"] -pub type CH20_TASK_ID = crate::Reg; -#[doc = "channel20 task id register"] -pub mod ch20_task_id; -#[doc = "CH21_EVT_ID (rw) register accessor: channel21 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch21_evt_id`] module"] -pub type CH21_EVT_ID = crate::Reg; -#[doc = "channel21 event id register"] -pub mod ch21_evt_id; -#[doc = "CH21_TASK_ID (rw) register accessor: channel21 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch21_task_id`] module"] -pub type CH21_TASK_ID = crate::Reg; -#[doc = "channel21 task id register"] -pub mod ch21_task_id; -#[doc = "CH22_EVT_ID (rw) register accessor: channel22 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch22_evt_id`] module"] -pub type CH22_EVT_ID = crate::Reg; -#[doc = "channel22 event id register"] -pub mod ch22_evt_id; -#[doc = "CH22_TASK_ID (rw) register accessor: channel22 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch22_task_id`] module"] -pub type CH22_TASK_ID = crate::Reg; -#[doc = "channel22 task id register"] -pub mod ch22_task_id; -#[doc = "CH23_EVT_ID (rw) register accessor: channel23 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch23_evt_id`] module"] -pub type CH23_EVT_ID = crate::Reg; -#[doc = "channel23 event id register"] -pub mod ch23_evt_id; -#[doc = "CH23_TASK_ID (rw) register accessor: channel23 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch23_task_id`] module"] -pub type CH23_TASK_ID = crate::Reg; -#[doc = "channel23 task id register"] -pub mod ch23_task_id; -#[doc = "CH24_EVT_ID (rw) register accessor: channel24 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch24_evt_id`] module"] -pub type CH24_EVT_ID = crate::Reg; -#[doc = "channel24 event id register"] -pub mod ch24_evt_id; -#[doc = "CH24_TASK_ID (rw) register accessor: channel24 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch24_task_id`] module"] -pub type CH24_TASK_ID = crate::Reg; -#[doc = "channel24 task id register"] -pub mod ch24_task_id; -#[doc = "CH25_EVT_ID (rw) register accessor: channel25 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch25_evt_id`] module"] -pub type CH25_EVT_ID = crate::Reg; -#[doc = "channel25 event id register"] -pub mod ch25_evt_id; -#[doc = "CH25_TASK_ID (rw) register accessor: channel25 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch25_task_id`] module"] -pub type CH25_TASK_ID = crate::Reg; -#[doc = "channel25 task id register"] -pub mod ch25_task_id; -#[doc = "CH26_EVT_ID (rw) register accessor: channel26 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch26_evt_id`] module"] -pub type CH26_EVT_ID = crate::Reg; -#[doc = "channel26 event id register"] -pub mod ch26_evt_id; -#[doc = "CH26_TASK_ID (rw) register accessor: channel26 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch26_task_id`] module"] -pub type CH26_TASK_ID = crate::Reg; -#[doc = "channel26 task id register"] -pub mod ch26_task_id; -#[doc = "CH27_EVT_ID (rw) register accessor: channel27 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch27_evt_id`] module"] -pub type CH27_EVT_ID = crate::Reg; -#[doc = "channel27 event id register"] -pub mod ch27_evt_id; -#[doc = "CH27_TASK_ID (rw) register accessor: channel27 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch27_task_id`] module"] -pub type CH27_TASK_ID = crate::Reg; -#[doc = "channel27 task id register"] -pub mod ch27_task_id; -#[doc = "CH28_EVT_ID (rw) register accessor: channel28 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch28_evt_id`] module"] -pub type CH28_EVT_ID = crate::Reg; -#[doc = "channel28 event id register"] -pub mod ch28_evt_id; -#[doc = "CH28_TASK_ID (rw) register accessor: channel28 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch28_task_id`] module"] -pub type CH28_TASK_ID = crate::Reg; -#[doc = "channel28 task id register"] -pub mod ch28_task_id; -#[doc = "CH29_EVT_ID (rw) register accessor: channel29 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch29_evt_id`] module"] -pub type CH29_EVT_ID = crate::Reg; -#[doc = "channel29 event id register"] -pub mod ch29_evt_id; -#[doc = "CH29_TASK_ID (rw) register accessor: channel29 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch29_task_id`] module"] -pub type CH29_TASK_ID = crate::Reg; -#[doc = "channel29 task id register"] -pub mod ch29_task_id; -#[doc = "CH30_EVT_ID (rw) register accessor: channel30 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch30_evt_id`] module"] -pub type CH30_EVT_ID = crate::Reg; -#[doc = "channel30 event id register"] -pub mod ch30_evt_id; -#[doc = "CH30_TASK_ID (rw) register accessor: channel30 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch30_task_id`] module"] -pub type CH30_TASK_ID = crate::Reg; -#[doc = "channel30 task id register"] -pub mod ch30_task_id; -#[doc = "CH31_EVT_ID (rw) register accessor: channel31 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch31_evt_id`] module"] -pub type CH31_EVT_ID = crate::Reg; -#[doc = "channel31 event id register"] -pub mod ch31_evt_id; -#[doc = "CH31_TASK_ID (rw) register accessor: channel31 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch31_task_id`] module"] -pub type CH31_TASK_ID = crate::Reg; -#[doc = "channel31 task id register"] -pub mod ch31_task_id; -#[doc = "CH32_EVT_ID (rw) register accessor: channel32 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch32_evt_id`] module"] -pub type CH32_EVT_ID = crate::Reg; -#[doc = "channel32 event id register"] -pub mod ch32_evt_id; -#[doc = "CH32_TASK_ID (rw) register accessor: channel32 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch32_task_id`] module"] -pub type CH32_TASK_ID = crate::Reg; -#[doc = "channel32 task id register"] -pub mod ch32_task_id; -#[doc = "CH33_EVT_ID (rw) register accessor: channel33 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch33_evt_id`] module"] -pub type CH33_EVT_ID = crate::Reg; -#[doc = "channel33 event id register"] -pub mod ch33_evt_id; -#[doc = "CH33_TASK_ID (rw) register accessor: channel33 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch33_task_id`] module"] -pub type CH33_TASK_ID = crate::Reg; -#[doc = "channel33 task id register"] -pub mod ch33_task_id; -#[doc = "CH34_EVT_ID (rw) register accessor: channel34 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch34_evt_id`] module"] -pub type CH34_EVT_ID = crate::Reg; -#[doc = "channel34 event id register"] -pub mod ch34_evt_id; -#[doc = "CH34_TASK_ID (rw) register accessor: channel34 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch34_task_id`] module"] -pub type CH34_TASK_ID = crate::Reg; -#[doc = "channel34 task id register"] -pub mod ch34_task_id; -#[doc = "CH35_EVT_ID (rw) register accessor: channel35 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch35_evt_id`] module"] -pub type CH35_EVT_ID = crate::Reg; -#[doc = "channel35 event id register"] -pub mod ch35_evt_id; -#[doc = "CH35_TASK_ID (rw) register accessor: channel35 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch35_task_id`] module"] -pub type CH35_TASK_ID = crate::Reg; -#[doc = "channel35 task id register"] -pub mod ch35_task_id; -#[doc = "CH36_EVT_ID (rw) register accessor: channel36 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch36_evt_id`] module"] -pub type CH36_EVT_ID = crate::Reg; -#[doc = "channel36 event id register"] -pub mod ch36_evt_id; -#[doc = "CH36_TASK_ID (rw) register accessor: channel36 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch36_task_id`] module"] -pub type CH36_TASK_ID = crate::Reg; -#[doc = "channel36 task id register"] -pub mod ch36_task_id; -#[doc = "CH37_EVT_ID (rw) register accessor: channel37 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch37_evt_id`] module"] -pub type CH37_EVT_ID = crate::Reg; -#[doc = "channel37 event id register"] -pub mod ch37_evt_id; -#[doc = "CH37_TASK_ID (rw) register accessor: channel37 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch37_task_id`] module"] -pub type CH37_TASK_ID = crate::Reg; -#[doc = "channel37 task id register"] -pub mod ch37_task_id; -#[doc = "CH38_EVT_ID (rw) register accessor: channel38 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch38_evt_id`] module"] -pub type CH38_EVT_ID = crate::Reg; -#[doc = "channel38 event id register"] -pub mod ch38_evt_id; -#[doc = "CH38_TASK_ID (rw) register accessor: channel38 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch38_task_id`] module"] -pub type CH38_TASK_ID = crate::Reg; -#[doc = "channel38 task id register"] -pub mod ch38_task_id; -#[doc = "CH39_EVT_ID (rw) register accessor: channel39 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch39_evt_id`] module"] -pub type CH39_EVT_ID = crate::Reg; -#[doc = "channel39 event id register"] -pub mod ch39_evt_id; -#[doc = "CH39_TASK_ID (rw) register accessor: channel39 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch39_task_id`] module"] -pub type CH39_TASK_ID = crate::Reg; -#[doc = "channel39 task id register"] -pub mod ch39_task_id; -#[doc = "CH40_EVT_ID (rw) register accessor: channel40 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch40_evt_id`] module"] -pub type CH40_EVT_ID = crate::Reg; -#[doc = "channel40 event id register"] -pub mod ch40_evt_id; -#[doc = "CH40_TASK_ID (rw) register accessor: channel40 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch40_task_id`] module"] -pub type CH40_TASK_ID = crate::Reg; -#[doc = "channel40 task id register"] -pub mod ch40_task_id; -#[doc = "CH41_EVT_ID (rw) register accessor: channel41 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch41_evt_id`] module"] -pub type CH41_EVT_ID = crate::Reg; -#[doc = "channel41 event id register"] -pub mod ch41_evt_id; -#[doc = "CH41_TASK_ID (rw) register accessor: channel41 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch41_task_id`] module"] -pub type CH41_TASK_ID = crate::Reg; -#[doc = "channel41 task id register"] -pub mod ch41_task_id; -#[doc = "CH42_EVT_ID (rw) register accessor: channel42 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch42_evt_id`] module"] -pub type CH42_EVT_ID = crate::Reg; -#[doc = "channel42 event id register"] -pub mod ch42_evt_id; -#[doc = "CH42_TASK_ID (rw) register accessor: channel42 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch42_task_id`] module"] -pub type CH42_TASK_ID = crate::Reg; -#[doc = "channel42 task id register"] -pub mod ch42_task_id; -#[doc = "CH43_EVT_ID (rw) register accessor: channel43 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch43_evt_id`] module"] -pub type CH43_EVT_ID = crate::Reg; -#[doc = "channel43 event id register"] -pub mod ch43_evt_id; -#[doc = "CH43_TASK_ID (rw) register accessor: channel43 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch43_task_id`] module"] -pub type CH43_TASK_ID = crate::Reg; -#[doc = "channel43 task id register"] -pub mod ch43_task_id; -#[doc = "CH44_EVT_ID (rw) register accessor: channel44 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch44_evt_id`] module"] -pub type CH44_EVT_ID = crate::Reg; -#[doc = "channel44 event id register"] -pub mod ch44_evt_id; -#[doc = "CH44_TASK_ID (rw) register accessor: channel44 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch44_task_id`] module"] -pub type CH44_TASK_ID = crate::Reg; -#[doc = "channel44 task id register"] -pub mod ch44_task_id; -#[doc = "CH45_EVT_ID (rw) register accessor: channel45 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch45_evt_id`] module"] -pub type CH45_EVT_ID = crate::Reg; -#[doc = "channel45 event id register"] -pub mod ch45_evt_id; -#[doc = "CH45_TASK_ID (rw) register accessor: channel45 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch45_task_id`] module"] -pub type CH45_TASK_ID = crate::Reg; -#[doc = "channel45 task id register"] -pub mod ch45_task_id; -#[doc = "CH46_EVT_ID (rw) register accessor: channel46 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch46_evt_id`] module"] -pub type CH46_EVT_ID = crate::Reg; -#[doc = "channel46 event id register"] -pub mod ch46_evt_id; -#[doc = "CH46_TASK_ID (rw) register accessor: channel46 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch46_task_id`] module"] -pub type CH46_TASK_ID = crate::Reg; -#[doc = "channel46 task id register"] -pub mod ch46_task_id; -#[doc = "CH47_EVT_ID (rw) register accessor: channel47 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch47_evt_id`] module"] -pub type CH47_EVT_ID = crate::Reg; -#[doc = "channel47 event id register"] -pub mod ch47_evt_id; -#[doc = "CH47_TASK_ID (rw) register accessor: channel47 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch47_task_id`] module"] -pub type CH47_TASK_ID = crate::Reg; -#[doc = "channel47 task id register"] -pub mod ch47_task_id; -#[doc = "CH48_EVT_ID (rw) register accessor: channel48 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch48_evt_id`] module"] -pub type CH48_EVT_ID = crate::Reg; -#[doc = "channel48 event id register"] -pub mod ch48_evt_id; -#[doc = "CH48_TASK_ID (rw) register accessor: channel48 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch48_task_id`] module"] -pub type CH48_TASK_ID = crate::Reg; -#[doc = "channel48 task id register"] -pub mod ch48_task_id; -#[doc = "CH49_EVT_ID (rw) register accessor: channel49 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch49_evt_id`] module"] -pub type CH49_EVT_ID = crate::Reg; -#[doc = "channel49 event id register"] -pub mod ch49_evt_id; -#[doc = "CH49_TASK_ID (rw) register accessor: channel49 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch49_task_id`] module"] -pub type CH49_TASK_ID = crate::Reg; -#[doc = "channel49 task id register"] -pub mod ch49_task_id; +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub use self::ch::CH; +#[doc = r"Cluster"] +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub mod ch; #[doc = "CLK_EN (rw) register accessor: etm clock enable register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`clk_en::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`clk_en::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@clk_en`] module"] pub type CLK_EN = crate::Reg; #[doc = "etm clock enable register"] diff --git a/esp32h2/src/soc_etm/ch.rs b/esp32h2/src/soc_etm/ch.rs new file mode 100644 index 0000000000..7bf1c7218b --- /dev/null +++ b/esp32h2/src/soc_etm/ch.rs @@ -0,0 +1,27 @@ +#[repr(C)] +#[cfg_attr(feature = "impl-register-debug", derive(Debug))] +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub struct CH { + evt_id: EVT_ID, + task_id: TASK_ID, +} +impl CH { + #[doc = "0x00 - channel0 event id register"] + #[inline(always)] + pub const fn evt_id(&self) -> &EVT_ID { + &self.evt_id + } + #[doc = "0x04 - channel0 task id register"] + #[inline(always)] + pub const fn task_id(&self) -> &TASK_ID { + &self.task_id + } +} +#[doc = "EVT_ID (rw) register accessor: channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_id`] module"] +pub type EVT_ID = crate::Reg; +#[doc = "channel0 event id register"] +pub mod evt_id; +#[doc = "TASK_ID (rw) register accessor: channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@task_id`] module"] +pub type TASK_ID = crate::Reg; +#[doc = "channel0 task id register"] +pub mod task_id; diff --git a/esp32h2/src/soc_etm/ch/evt_id.rs b/esp32h2/src/soc_etm/ch/evt_id.rs new file mode 100644 index 0000000000..0835c04224 --- /dev/null +++ b/esp32h2/src/soc_etm/ch/evt_id.rs @@ -0,0 +1,54 @@ +#[doc = "Register `EVT_ID` reader"] +pub type R = crate::R; +#[doc = "Register `EVT_ID` writer"] +pub type W = crate::W; +#[doc = "Field `EVT_ID` reader - ch0_evt_id"] +pub type EVT_ID_R = crate::FieldReader; +#[doc = "Field `EVT_ID` writer - ch0_evt_id"] +pub type EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; +impl R { + #[doc = "Bits 0:7 - ch0_evt_id"] + #[inline(always)] + pub fn evt_id(&self) -> EVT_ID_R { + EVT_ID_R::new((self.bits & 0xff) as u8) + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for R { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + f.debug_struct("EVT_ID") + .field("evt_id", &format_args!("{}", self.evt_id().bits())) + .finish() + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for crate::generic::Reg { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + core::fmt::Debug::fmt(&self.read(), f) + } +} +impl W { + #[doc = "Bits 0:7 - ch0_evt_id"] + #[inline(always)] + #[must_use] + pub fn evt_id(&mut self) -> EVT_ID_W { + EVT_ID_W::new(self, 0) + } +} +#[doc = "channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +pub struct EVT_ID_SPEC; +impl crate::RegisterSpec for EVT_ID_SPEC { + type Ux = u32; +} +#[doc = "`read()` method returns [`evt_id::R`](R) reader structure"] +impl crate::Readable for EVT_ID_SPEC {} +#[doc = "`write(|w| ..)` method takes [`evt_id::W`](W) writer structure"] +impl crate::Writable for EVT_ID_SPEC { + type Safety = crate::Unsafe; + const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; +} +#[doc = "`reset()` method sets EVT_ID to value 0"] +impl crate::Resettable for EVT_ID_SPEC { + const RESET_VALUE: u32 = 0; +} diff --git a/esp32h2/src/soc_etm/ch/task_id.rs b/esp32h2/src/soc_etm/ch/task_id.rs new file mode 100644 index 0000000000..d59784f09b --- /dev/null +++ b/esp32h2/src/soc_etm/ch/task_id.rs @@ -0,0 +1,54 @@ +#[doc = "Register `TASK_ID` reader"] +pub type R = crate::R; +#[doc = "Register `TASK_ID` writer"] +pub type W = crate::W; +#[doc = "Field `TASK_ID` reader - ch0_task_id"] +pub type TASK_ID_R = crate::FieldReader; +#[doc = "Field `TASK_ID` writer - ch0_task_id"] +pub type TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; +impl R { + #[doc = "Bits 0:7 - ch0_task_id"] + #[inline(always)] + pub fn task_id(&self) -> TASK_ID_R { + TASK_ID_R::new((self.bits & 0xff) as u8) + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for R { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + f.debug_struct("TASK_ID") + .field("task_id", &format_args!("{}", self.task_id().bits())) + .finish() + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for crate::generic::Reg { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + core::fmt::Debug::fmt(&self.read(), f) + } +} +impl W { + #[doc = "Bits 0:7 - ch0_task_id"] + #[inline(always)] + #[must_use] + pub fn task_id(&mut self) -> TASK_ID_W { + TASK_ID_W::new(self, 0) + } +} +#[doc = "channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +pub struct TASK_ID_SPEC; +impl crate::RegisterSpec for TASK_ID_SPEC { + type Ux = u32; +} +#[doc = "`read()` method returns [`task_id::R`](R) reader structure"] +impl crate::Readable for TASK_ID_SPEC {} +#[doc = "`write(|w| ..)` method takes [`task_id::W`](W) writer structure"] +impl crate::Writable for TASK_ID_SPEC { + type Safety = crate::Unsafe; + const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; +} +#[doc = "`reset()` method sets TASK_ID to value 0"] +impl crate::Resettable for TASK_ID_SPEC { + const RESET_VALUE: u32 = 0; +} diff --git a/esp32h2/src/soc_etm/ch0_evt_id.rs b/esp32h2/src/soc_etm/ch0_evt_id.rs deleted file mode 100644 index cd874b6ff9..0000000000 --- a/esp32h2/src/soc_etm/ch0_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH0_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH0_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH0_EVT_ID` reader - ch0_evt_id"] -pub type CH0_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH0_EVT_ID` writer - ch0_evt_id"] -pub type CH0_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch0_evt_id"] - #[inline(always)] - pub fn ch0_evt_id(&self) -> CH0_EVT_ID_R { - CH0_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH0_EVT_ID") - .field("ch0_evt_id", &format_args!("{}", self.ch0_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch0_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch0_evt_id(&mut self) -> CH0_EVT_ID_W { - CH0_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH0_EVT_ID_SPEC; -impl crate::RegisterSpec for CH0_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch0_evt_id::R`](R) reader structure"] -impl crate::Readable for CH0_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch0_evt_id::W`](W) writer structure"] -impl crate::Writable for CH0_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH0_EVT_ID to value 0"] -impl crate::Resettable for CH0_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch0_task_id.rs b/esp32h2/src/soc_etm/ch0_task_id.rs deleted file mode 100644 index 7d040f8659..0000000000 --- a/esp32h2/src/soc_etm/ch0_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH0_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH0_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH0_TASK_ID` reader - ch0_task_id"] -pub type CH0_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH0_TASK_ID` writer - ch0_task_id"] -pub type CH0_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch0_task_id"] - #[inline(always)] - pub fn ch0_task_id(&self) -> CH0_TASK_ID_R { - CH0_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH0_TASK_ID") - .field( - "ch0_task_id", - &format_args!("{}", self.ch0_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch0_task_id"] - #[inline(always)] - #[must_use] - pub fn ch0_task_id(&mut self) -> CH0_TASK_ID_W { - CH0_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH0_TASK_ID_SPEC; -impl crate::RegisterSpec for CH0_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch0_task_id::R`](R) reader structure"] -impl crate::Readable for CH0_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch0_task_id::W`](W) writer structure"] -impl crate::Writable for CH0_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH0_TASK_ID to value 0"] -impl crate::Resettable for CH0_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch10_evt_id.rs b/esp32h2/src/soc_etm/ch10_evt_id.rs deleted file mode 100644 index a8b57e8405..0000000000 --- a/esp32h2/src/soc_etm/ch10_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH10_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH10_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH10_EVT_ID` reader - ch10_evt_id"] -pub type CH10_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH10_EVT_ID` writer - ch10_evt_id"] -pub type CH10_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch10_evt_id"] - #[inline(always)] - pub fn ch10_evt_id(&self) -> CH10_EVT_ID_R { - CH10_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH10_EVT_ID") - .field( - "ch10_evt_id", - &format_args!("{}", self.ch10_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch10_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch10_evt_id(&mut self) -> CH10_EVT_ID_W { - CH10_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel10 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH10_EVT_ID_SPEC; -impl crate::RegisterSpec for CH10_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch10_evt_id::R`](R) reader structure"] -impl crate::Readable for CH10_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch10_evt_id::W`](W) writer structure"] -impl crate::Writable for CH10_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH10_EVT_ID to value 0"] -impl crate::Resettable for CH10_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch10_task_id.rs b/esp32h2/src/soc_etm/ch10_task_id.rs deleted file mode 100644 index 61b8b1e002..0000000000 --- a/esp32h2/src/soc_etm/ch10_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH10_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH10_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH10_TASK_ID` reader - ch10_task_id"] -pub type CH10_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH10_TASK_ID` writer - ch10_task_id"] -pub type CH10_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch10_task_id"] - #[inline(always)] - pub fn ch10_task_id(&self) -> CH10_TASK_ID_R { - CH10_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH10_TASK_ID") - .field( - "ch10_task_id", - &format_args!("{}", self.ch10_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch10_task_id"] - #[inline(always)] - #[must_use] - pub fn ch10_task_id(&mut self) -> CH10_TASK_ID_W { - CH10_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel10 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH10_TASK_ID_SPEC; -impl crate::RegisterSpec for CH10_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch10_task_id::R`](R) reader structure"] -impl crate::Readable for CH10_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch10_task_id::W`](W) writer structure"] -impl crate::Writable for CH10_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH10_TASK_ID to value 0"] -impl crate::Resettable for CH10_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch11_evt_id.rs b/esp32h2/src/soc_etm/ch11_evt_id.rs deleted file mode 100644 index 1d5f2e5717..0000000000 --- a/esp32h2/src/soc_etm/ch11_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH11_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH11_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH11_EVT_ID` reader - ch11_evt_id"] -pub type CH11_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH11_EVT_ID` writer - ch11_evt_id"] -pub type CH11_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch11_evt_id"] - #[inline(always)] - pub fn ch11_evt_id(&self) -> CH11_EVT_ID_R { - CH11_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH11_EVT_ID") - .field( - "ch11_evt_id", - &format_args!("{}", self.ch11_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch11_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch11_evt_id(&mut self) -> CH11_EVT_ID_W { - CH11_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel11 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH11_EVT_ID_SPEC; -impl crate::RegisterSpec for CH11_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch11_evt_id::R`](R) reader structure"] -impl crate::Readable for CH11_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch11_evt_id::W`](W) writer structure"] -impl crate::Writable for CH11_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH11_EVT_ID to value 0"] -impl crate::Resettable for CH11_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch11_task_id.rs b/esp32h2/src/soc_etm/ch11_task_id.rs deleted file mode 100644 index 3026aad903..0000000000 --- a/esp32h2/src/soc_etm/ch11_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH11_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH11_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH11_TASK_ID` reader - ch11_task_id"] -pub type CH11_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH11_TASK_ID` writer - ch11_task_id"] -pub type CH11_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch11_task_id"] - #[inline(always)] - pub fn ch11_task_id(&self) -> CH11_TASK_ID_R { - CH11_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH11_TASK_ID") - .field( - "ch11_task_id", - &format_args!("{}", self.ch11_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch11_task_id"] - #[inline(always)] - #[must_use] - pub fn ch11_task_id(&mut self) -> CH11_TASK_ID_W { - CH11_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel11 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH11_TASK_ID_SPEC; -impl crate::RegisterSpec for CH11_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch11_task_id::R`](R) reader structure"] -impl crate::Readable for CH11_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch11_task_id::W`](W) writer structure"] -impl crate::Writable for CH11_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH11_TASK_ID to value 0"] -impl crate::Resettable for CH11_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch12_evt_id.rs b/esp32h2/src/soc_etm/ch12_evt_id.rs deleted file mode 100644 index e2a6f989b4..0000000000 --- a/esp32h2/src/soc_etm/ch12_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH12_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH12_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH12_EVT_ID` reader - ch12_evt_id"] -pub type CH12_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH12_EVT_ID` writer - ch12_evt_id"] -pub type CH12_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch12_evt_id"] - #[inline(always)] - pub fn ch12_evt_id(&self) -> CH12_EVT_ID_R { - CH12_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH12_EVT_ID") - .field( - "ch12_evt_id", - &format_args!("{}", self.ch12_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch12_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch12_evt_id(&mut self) -> CH12_EVT_ID_W { - CH12_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel12 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH12_EVT_ID_SPEC; -impl crate::RegisterSpec for CH12_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch12_evt_id::R`](R) reader structure"] -impl crate::Readable for CH12_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch12_evt_id::W`](W) writer structure"] -impl crate::Writable for CH12_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH12_EVT_ID to value 0"] -impl crate::Resettable for CH12_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch12_task_id.rs b/esp32h2/src/soc_etm/ch12_task_id.rs deleted file mode 100644 index af5d7422c4..0000000000 --- a/esp32h2/src/soc_etm/ch12_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH12_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH12_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH12_TASK_ID` reader - ch12_task_id"] -pub type CH12_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH12_TASK_ID` writer - ch12_task_id"] -pub type CH12_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch12_task_id"] - #[inline(always)] - pub fn ch12_task_id(&self) -> CH12_TASK_ID_R { - CH12_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH12_TASK_ID") - .field( - "ch12_task_id", - &format_args!("{}", self.ch12_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch12_task_id"] - #[inline(always)] - #[must_use] - pub fn ch12_task_id(&mut self) -> CH12_TASK_ID_W { - CH12_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel12 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH12_TASK_ID_SPEC; -impl crate::RegisterSpec for CH12_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch12_task_id::R`](R) reader structure"] -impl crate::Readable for CH12_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch12_task_id::W`](W) writer structure"] -impl crate::Writable for CH12_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH12_TASK_ID to value 0"] -impl crate::Resettable for CH12_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch13_evt_id.rs b/esp32h2/src/soc_etm/ch13_evt_id.rs deleted file mode 100644 index 85c40000b0..0000000000 --- a/esp32h2/src/soc_etm/ch13_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH13_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH13_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH13_EVT_ID` reader - ch13_evt_id"] -pub type CH13_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH13_EVT_ID` writer - ch13_evt_id"] -pub type CH13_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch13_evt_id"] - #[inline(always)] - pub fn ch13_evt_id(&self) -> CH13_EVT_ID_R { - CH13_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH13_EVT_ID") - .field( - "ch13_evt_id", - &format_args!("{}", self.ch13_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch13_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch13_evt_id(&mut self) -> CH13_EVT_ID_W { - CH13_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel13 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH13_EVT_ID_SPEC; -impl crate::RegisterSpec for CH13_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch13_evt_id::R`](R) reader structure"] -impl crate::Readable for CH13_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch13_evt_id::W`](W) writer structure"] -impl crate::Writable for CH13_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH13_EVT_ID to value 0"] -impl crate::Resettable for CH13_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch13_task_id.rs b/esp32h2/src/soc_etm/ch13_task_id.rs deleted file mode 100644 index 758d634864..0000000000 --- a/esp32h2/src/soc_etm/ch13_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH13_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH13_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH13_TASK_ID` reader - ch13_task_id"] -pub type CH13_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH13_TASK_ID` writer - ch13_task_id"] -pub type CH13_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch13_task_id"] - #[inline(always)] - pub fn ch13_task_id(&self) -> CH13_TASK_ID_R { - CH13_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH13_TASK_ID") - .field( - "ch13_task_id", - &format_args!("{}", self.ch13_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch13_task_id"] - #[inline(always)] - #[must_use] - pub fn ch13_task_id(&mut self) -> CH13_TASK_ID_W { - CH13_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel13 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH13_TASK_ID_SPEC; -impl crate::RegisterSpec for CH13_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch13_task_id::R`](R) reader structure"] -impl crate::Readable for CH13_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch13_task_id::W`](W) writer structure"] -impl crate::Writable for CH13_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH13_TASK_ID to value 0"] -impl crate::Resettable for CH13_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch14_evt_id.rs b/esp32h2/src/soc_etm/ch14_evt_id.rs deleted file mode 100644 index c57e46e4e4..0000000000 --- a/esp32h2/src/soc_etm/ch14_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH14_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH14_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH14_EVT_ID` reader - ch14_evt_id"] -pub type CH14_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH14_EVT_ID` writer - ch14_evt_id"] -pub type CH14_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch14_evt_id"] - #[inline(always)] - pub fn ch14_evt_id(&self) -> CH14_EVT_ID_R { - CH14_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH14_EVT_ID") - .field( - "ch14_evt_id", - &format_args!("{}", self.ch14_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch14_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch14_evt_id(&mut self) -> CH14_EVT_ID_W { - CH14_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel14 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH14_EVT_ID_SPEC; -impl crate::RegisterSpec for CH14_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch14_evt_id::R`](R) reader structure"] -impl crate::Readable for CH14_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch14_evt_id::W`](W) writer structure"] -impl crate::Writable for CH14_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH14_EVT_ID to value 0"] -impl crate::Resettable for CH14_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch14_task_id.rs b/esp32h2/src/soc_etm/ch14_task_id.rs deleted file mode 100644 index bdadccb14d..0000000000 --- a/esp32h2/src/soc_etm/ch14_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH14_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH14_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH14_TASK_ID` reader - ch14_task_id"] -pub type CH14_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH14_TASK_ID` writer - ch14_task_id"] -pub type CH14_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch14_task_id"] - #[inline(always)] - pub fn ch14_task_id(&self) -> CH14_TASK_ID_R { - CH14_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH14_TASK_ID") - .field( - "ch14_task_id", - &format_args!("{}", self.ch14_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch14_task_id"] - #[inline(always)] - #[must_use] - pub fn ch14_task_id(&mut self) -> CH14_TASK_ID_W { - CH14_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel14 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH14_TASK_ID_SPEC; -impl crate::RegisterSpec for CH14_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch14_task_id::R`](R) reader structure"] -impl crate::Readable for CH14_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch14_task_id::W`](W) writer structure"] -impl crate::Writable for CH14_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH14_TASK_ID to value 0"] -impl crate::Resettable for CH14_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch15_evt_id.rs b/esp32h2/src/soc_etm/ch15_evt_id.rs deleted file mode 100644 index 9858f2f260..0000000000 --- a/esp32h2/src/soc_etm/ch15_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH15_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH15_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH15_EVT_ID` reader - ch15_evt_id"] -pub type CH15_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH15_EVT_ID` writer - ch15_evt_id"] -pub type CH15_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch15_evt_id"] - #[inline(always)] - pub fn ch15_evt_id(&self) -> CH15_EVT_ID_R { - CH15_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH15_EVT_ID") - .field( - "ch15_evt_id", - &format_args!("{}", self.ch15_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch15_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch15_evt_id(&mut self) -> CH15_EVT_ID_W { - CH15_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel15 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH15_EVT_ID_SPEC; -impl crate::RegisterSpec for CH15_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch15_evt_id::R`](R) reader structure"] -impl crate::Readable for CH15_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch15_evt_id::W`](W) writer structure"] -impl crate::Writable for CH15_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH15_EVT_ID to value 0"] -impl crate::Resettable for CH15_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch15_task_id.rs b/esp32h2/src/soc_etm/ch15_task_id.rs deleted file mode 100644 index 231a336dca..0000000000 --- a/esp32h2/src/soc_etm/ch15_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH15_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH15_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH15_TASK_ID` reader - ch15_task_id"] -pub type CH15_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH15_TASK_ID` writer - ch15_task_id"] -pub type CH15_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch15_task_id"] - #[inline(always)] - pub fn ch15_task_id(&self) -> CH15_TASK_ID_R { - CH15_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH15_TASK_ID") - .field( - "ch15_task_id", - &format_args!("{}", self.ch15_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch15_task_id"] - #[inline(always)] - #[must_use] - pub fn ch15_task_id(&mut self) -> CH15_TASK_ID_W { - CH15_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel15 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH15_TASK_ID_SPEC; -impl crate::RegisterSpec for CH15_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch15_task_id::R`](R) reader structure"] -impl crate::Readable for CH15_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch15_task_id::W`](W) writer structure"] -impl crate::Writable for CH15_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH15_TASK_ID to value 0"] -impl crate::Resettable for CH15_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch16_evt_id.rs b/esp32h2/src/soc_etm/ch16_evt_id.rs deleted file mode 100644 index a1d88c55ad..0000000000 --- a/esp32h2/src/soc_etm/ch16_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH16_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH16_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH16_EVT_ID` reader - ch16_evt_id"] -pub type CH16_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH16_EVT_ID` writer - ch16_evt_id"] -pub type CH16_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch16_evt_id"] - #[inline(always)] - pub fn ch16_evt_id(&self) -> CH16_EVT_ID_R { - CH16_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH16_EVT_ID") - .field( - "ch16_evt_id", - &format_args!("{}", self.ch16_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch16_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch16_evt_id(&mut self) -> CH16_EVT_ID_W { - CH16_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel16 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH16_EVT_ID_SPEC; -impl crate::RegisterSpec for CH16_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch16_evt_id::R`](R) reader structure"] -impl crate::Readable for CH16_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch16_evt_id::W`](W) writer structure"] -impl crate::Writable for CH16_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH16_EVT_ID to value 0"] -impl crate::Resettable for CH16_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch16_task_id.rs b/esp32h2/src/soc_etm/ch16_task_id.rs deleted file mode 100644 index 2981f7f165..0000000000 --- a/esp32h2/src/soc_etm/ch16_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH16_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH16_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH16_TASK_ID` reader - ch16_task_id"] -pub type CH16_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH16_TASK_ID` writer - ch16_task_id"] -pub type CH16_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch16_task_id"] - #[inline(always)] - pub fn ch16_task_id(&self) -> CH16_TASK_ID_R { - CH16_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH16_TASK_ID") - .field( - "ch16_task_id", - &format_args!("{}", self.ch16_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch16_task_id"] - #[inline(always)] - #[must_use] - pub fn ch16_task_id(&mut self) -> CH16_TASK_ID_W { - CH16_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel16 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH16_TASK_ID_SPEC; -impl crate::RegisterSpec for CH16_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch16_task_id::R`](R) reader structure"] -impl crate::Readable for CH16_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch16_task_id::W`](W) writer structure"] -impl crate::Writable for CH16_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH16_TASK_ID to value 0"] -impl crate::Resettable for CH16_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch17_evt_id.rs b/esp32h2/src/soc_etm/ch17_evt_id.rs deleted file mode 100644 index 7a8457f8c6..0000000000 --- a/esp32h2/src/soc_etm/ch17_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH17_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH17_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH17_EVT_ID` reader - ch17_evt_id"] -pub type CH17_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH17_EVT_ID` writer - ch17_evt_id"] -pub type CH17_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch17_evt_id"] - #[inline(always)] - pub fn ch17_evt_id(&self) -> CH17_EVT_ID_R { - CH17_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH17_EVT_ID") - .field( - "ch17_evt_id", - &format_args!("{}", self.ch17_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch17_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch17_evt_id(&mut self) -> CH17_EVT_ID_W { - CH17_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel17 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH17_EVT_ID_SPEC; -impl crate::RegisterSpec for CH17_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch17_evt_id::R`](R) reader structure"] -impl crate::Readable for CH17_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch17_evt_id::W`](W) writer structure"] -impl crate::Writable for CH17_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH17_EVT_ID to value 0"] -impl crate::Resettable for CH17_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch17_task_id.rs b/esp32h2/src/soc_etm/ch17_task_id.rs deleted file mode 100644 index 15d486562a..0000000000 --- a/esp32h2/src/soc_etm/ch17_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH17_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH17_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH17_TASK_ID` reader - ch17_task_id"] -pub type CH17_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH17_TASK_ID` writer - ch17_task_id"] -pub type CH17_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch17_task_id"] - #[inline(always)] - pub fn ch17_task_id(&self) -> CH17_TASK_ID_R { - CH17_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH17_TASK_ID") - .field( - "ch17_task_id", - &format_args!("{}", self.ch17_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch17_task_id"] - #[inline(always)] - #[must_use] - pub fn ch17_task_id(&mut self) -> CH17_TASK_ID_W { - CH17_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel17 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH17_TASK_ID_SPEC; -impl crate::RegisterSpec for CH17_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch17_task_id::R`](R) reader structure"] -impl crate::Readable for CH17_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch17_task_id::W`](W) writer structure"] -impl crate::Writable for CH17_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH17_TASK_ID to value 0"] -impl crate::Resettable for CH17_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch18_evt_id.rs b/esp32h2/src/soc_etm/ch18_evt_id.rs deleted file mode 100644 index e692f18f17..0000000000 --- a/esp32h2/src/soc_etm/ch18_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH18_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH18_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH18_EVT_ID` reader - ch18_evt_id"] -pub type CH18_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH18_EVT_ID` writer - ch18_evt_id"] -pub type CH18_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch18_evt_id"] - #[inline(always)] - pub fn ch18_evt_id(&self) -> CH18_EVT_ID_R { - CH18_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH18_EVT_ID") - .field( - "ch18_evt_id", - &format_args!("{}", self.ch18_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch18_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch18_evt_id(&mut self) -> CH18_EVT_ID_W { - CH18_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel18 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH18_EVT_ID_SPEC; -impl crate::RegisterSpec for CH18_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch18_evt_id::R`](R) reader structure"] -impl crate::Readable for CH18_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch18_evt_id::W`](W) writer structure"] -impl crate::Writable for CH18_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH18_EVT_ID to value 0"] -impl crate::Resettable for CH18_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch18_task_id.rs b/esp32h2/src/soc_etm/ch18_task_id.rs deleted file mode 100644 index 043d9f3133..0000000000 --- a/esp32h2/src/soc_etm/ch18_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH18_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH18_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH18_TASK_ID` reader - ch18_task_id"] -pub type CH18_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH18_TASK_ID` writer - ch18_task_id"] -pub type CH18_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch18_task_id"] - #[inline(always)] - pub fn ch18_task_id(&self) -> CH18_TASK_ID_R { - CH18_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH18_TASK_ID") - .field( - "ch18_task_id", - &format_args!("{}", self.ch18_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch18_task_id"] - #[inline(always)] - #[must_use] - pub fn ch18_task_id(&mut self) -> CH18_TASK_ID_W { - CH18_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel18 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH18_TASK_ID_SPEC; -impl crate::RegisterSpec for CH18_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch18_task_id::R`](R) reader structure"] -impl crate::Readable for CH18_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch18_task_id::W`](W) writer structure"] -impl crate::Writable for CH18_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH18_TASK_ID to value 0"] -impl crate::Resettable for CH18_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch19_evt_id.rs b/esp32h2/src/soc_etm/ch19_evt_id.rs deleted file mode 100644 index 76e87bbd60..0000000000 --- a/esp32h2/src/soc_etm/ch19_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH19_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH19_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH19_EVT_ID` reader - ch19_evt_id"] -pub type CH19_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH19_EVT_ID` writer - ch19_evt_id"] -pub type CH19_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch19_evt_id"] - #[inline(always)] - pub fn ch19_evt_id(&self) -> CH19_EVT_ID_R { - CH19_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH19_EVT_ID") - .field( - "ch19_evt_id", - &format_args!("{}", self.ch19_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch19_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch19_evt_id(&mut self) -> CH19_EVT_ID_W { - CH19_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel19 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH19_EVT_ID_SPEC; -impl crate::RegisterSpec for CH19_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch19_evt_id::R`](R) reader structure"] -impl crate::Readable for CH19_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch19_evt_id::W`](W) writer structure"] -impl crate::Writable for CH19_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH19_EVT_ID to value 0"] -impl crate::Resettable for CH19_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch19_task_id.rs b/esp32h2/src/soc_etm/ch19_task_id.rs deleted file mode 100644 index 1ffd93ac3d..0000000000 --- a/esp32h2/src/soc_etm/ch19_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH19_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH19_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH19_TASK_ID` reader - ch19_task_id"] -pub type CH19_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH19_TASK_ID` writer - ch19_task_id"] -pub type CH19_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch19_task_id"] - #[inline(always)] - pub fn ch19_task_id(&self) -> CH19_TASK_ID_R { - CH19_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH19_TASK_ID") - .field( - "ch19_task_id", - &format_args!("{}", self.ch19_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch19_task_id"] - #[inline(always)] - #[must_use] - pub fn ch19_task_id(&mut self) -> CH19_TASK_ID_W { - CH19_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel19 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH19_TASK_ID_SPEC; -impl crate::RegisterSpec for CH19_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch19_task_id::R`](R) reader structure"] -impl crate::Readable for CH19_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch19_task_id::W`](W) writer structure"] -impl crate::Writable for CH19_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH19_TASK_ID to value 0"] -impl crate::Resettable for CH19_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch1_evt_id.rs b/esp32h2/src/soc_etm/ch1_evt_id.rs deleted file mode 100644 index dfd9853762..0000000000 --- a/esp32h2/src/soc_etm/ch1_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH1_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH1_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH1_EVT_ID` reader - ch1_evt_id"] -pub type CH1_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH1_EVT_ID` writer - ch1_evt_id"] -pub type CH1_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch1_evt_id"] - #[inline(always)] - pub fn ch1_evt_id(&self) -> CH1_EVT_ID_R { - CH1_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH1_EVT_ID") - .field("ch1_evt_id", &format_args!("{}", self.ch1_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch1_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch1_evt_id(&mut self) -> CH1_EVT_ID_W { - CH1_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel1 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH1_EVT_ID_SPEC; -impl crate::RegisterSpec for CH1_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch1_evt_id::R`](R) reader structure"] -impl crate::Readable for CH1_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch1_evt_id::W`](W) writer structure"] -impl crate::Writable for CH1_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH1_EVT_ID to value 0"] -impl crate::Resettable for CH1_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch1_task_id.rs b/esp32h2/src/soc_etm/ch1_task_id.rs deleted file mode 100644 index 382455443f..0000000000 --- a/esp32h2/src/soc_etm/ch1_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH1_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH1_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH1_TASK_ID` reader - ch1_task_id"] -pub type CH1_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH1_TASK_ID` writer - ch1_task_id"] -pub type CH1_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch1_task_id"] - #[inline(always)] - pub fn ch1_task_id(&self) -> CH1_TASK_ID_R { - CH1_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH1_TASK_ID") - .field( - "ch1_task_id", - &format_args!("{}", self.ch1_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch1_task_id"] - #[inline(always)] - #[must_use] - pub fn ch1_task_id(&mut self) -> CH1_TASK_ID_W { - CH1_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel1 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH1_TASK_ID_SPEC; -impl crate::RegisterSpec for CH1_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch1_task_id::R`](R) reader structure"] -impl crate::Readable for CH1_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch1_task_id::W`](W) writer structure"] -impl crate::Writable for CH1_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH1_TASK_ID to value 0"] -impl crate::Resettable for CH1_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch20_evt_id.rs b/esp32h2/src/soc_etm/ch20_evt_id.rs deleted file mode 100644 index 272621a1b7..0000000000 --- a/esp32h2/src/soc_etm/ch20_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH20_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH20_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH20_EVT_ID` reader - ch20_evt_id"] -pub type CH20_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH20_EVT_ID` writer - ch20_evt_id"] -pub type CH20_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch20_evt_id"] - #[inline(always)] - pub fn ch20_evt_id(&self) -> CH20_EVT_ID_R { - CH20_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH20_EVT_ID") - .field( - "ch20_evt_id", - &format_args!("{}", self.ch20_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch20_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch20_evt_id(&mut self) -> CH20_EVT_ID_W { - CH20_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel20 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH20_EVT_ID_SPEC; -impl crate::RegisterSpec for CH20_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch20_evt_id::R`](R) reader structure"] -impl crate::Readable for CH20_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch20_evt_id::W`](W) writer structure"] -impl crate::Writable for CH20_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH20_EVT_ID to value 0"] -impl crate::Resettable for CH20_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch20_task_id.rs b/esp32h2/src/soc_etm/ch20_task_id.rs deleted file mode 100644 index 733d60c609..0000000000 --- a/esp32h2/src/soc_etm/ch20_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH20_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH20_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH20_TASK_ID` reader - ch20_task_id"] -pub type CH20_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH20_TASK_ID` writer - ch20_task_id"] -pub type CH20_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch20_task_id"] - #[inline(always)] - pub fn ch20_task_id(&self) -> CH20_TASK_ID_R { - CH20_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH20_TASK_ID") - .field( - "ch20_task_id", - &format_args!("{}", self.ch20_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch20_task_id"] - #[inline(always)] - #[must_use] - pub fn ch20_task_id(&mut self) -> CH20_TASK_ID_W { - CH20_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel20 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH20_TASK_ID_SPEC; -impl crate::RegisterSpec for CH20_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch20_task_id::R`](R) reader structure"] -impl crate::Readable for CH20_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch20_task_id::W`](W) writer structure"] -impl crate::Writable for CH20_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH20_TASK_ID to value 0"] -impl crate::Resettable for CH20_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch21_evt_id.rs b/esp32h2/src/soc_etm/ch21_evt_id.rs deleted file mode 100644 index 3f9bc2a020..0000000000 --- a/esp32h2/src/soc_etm/ch21_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH21_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH21_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH21_EVT_ID` reader - ch21_evt_id"] -pub type CH21_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH21_EVT_ID` writer - ch21_evt_id"] -pub type CH21_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch21_evt_id"] - #[inline(always)] - pub fn ch21_evt_id(&self) -> CH21_EVT_ID_R { - CH21_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH21_EVT_ID") - .field( - "ch21_evt_id", - &format_args!("{}", self.ch21_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch21_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch21_evt_id(&mut self) -> CH21_EVT_ID_W { - CH21_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel21 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH21_EVT_ID_SPEC; -impl crate::RegisterSpec for CH21_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch21_evt_id::R`](R) reader structure"] -impl crate::Readable for CH21_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch21_evt_id::W`](W) writer structure"] -impl crate::Writable for CH21_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH21_EVT_ID to value 0"] -impl crate::Resettable for CH21_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch21_task_id.rs b/esp32h2/src/soc_etm/ch21_task_id.rs deleted file mode 100644 index 7a3a5cc033..0000000000 --- a/esp32h2/src/soc_etm/ch21_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH21_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH21_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH21_TASK_ID` reader - ch21_task_id"] -pub type CH21_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH21_TASK_ID` writer - ch21_task_id"] -pub type CH21_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch21_task_id"] - #[inline(always)] - pub fn ch21_task_id(&self) -> CH21_TASK_ID_R { - CH21_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH21_TASK_ID") - .field( - "ch21_task_id", - &format_args!("{}", self.ch21_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch21_task_id"] - #[inline(always)] - #[must_use] - pub fn ch21_task_id(&mut self) -> CH21_TASK_ID_W { - CH21_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel21 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH21_TASK_ID_SPEC; -impl crate::RegisterSpec for CH21_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch21_task_id::R`](R) reader structure"] -impl crate::Readable for CH21_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch21_task_id::W`](W) writer structure"] -impl crate::Writable for CH21_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH21_TASK_ID to value 0"] -impl crate::Resettable for CH21_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch22_evt_id.rs b/esp32h2/src/soc_etm/ch22_evt_id.rs deleted file mode 100644 index fade244b08..0000000000 --- a/esp32h2/src/soc_etm/ch22_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH22_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH22_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH22_EVT_ID` reader - ch22_evt_id"] -pub type CH22_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH22_EVT_ID` writer - ch22_evt_id"] -pub type CH22_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch22_evt_id"] - #[inline(always)] - pub fn ch22_evt_id(&self) -> CH22_EVT_ID_R { - CH22_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH22_EVT_ID") - .field( - "ch22_evt_id", - &format_args!("{}", self.ch22_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch22_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch22_evt_id(&mut self) -> CH22_EVT_ID_W { - CH22_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel22 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH22_EVT_ID_SPEC; -impl crate::RegisterSpec for CH22_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch22_evt_id::R`](R) reader structure"] -impl crate::Readable for CH22_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch22_evt_id::W`](W) writer structure"] -impl crate::Writable for CH22_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH22_EVT_ID to value 0"] -impl crate::Resettable for CH22_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch22_task_id.rs b/esp32h2/src/soc_etm/ch22_task_id.rs deleted file mode 100644 index 982e44c5d2..0000000000 --- a/esp32h2/src/soc_etm/ch22_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH22_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH22_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH22_TASK_ID` reader - ch22_task_id"] -pub type CH22_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH22_TASK_ID` writer - ch22_task_id"] -pub type CH22_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch22_task_id"] - #[inline(always)] - pub fn ch22_task_id(&self) -> CH22_TASK_ID_R { - CH22_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH22_TASK_ID") - .field( - "ch22_task_id", - &format_args!("{}", self.ch22_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch22_task_id"] - #[inline(always)] - #[must_use] - pub fn ch22_task_id(&mut self) -> CH22_TASK_ID_W { - CH22_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel22 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH22_TASK_ID_SPEC; -impl crate::RegisterSpec for CH22_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch22_task_id::R`](R) reader structure"] -impl crate::Readable for CH22_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch22_task_id::W`](W) writer structure"] -impl crate::Writable for CH22_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH22_TASK_ID to value 0"] -impl crate::Resettable for CH22_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch23_evt_id.rs b/esp32h2/src/soc_etm/ch23_evt_id.rs deleted file mode 100644 index 8e25306c69..0000000000 --- a/esp32h2/src/soc_etm/ch23_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH23_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH23_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH23_EVT_ID` reader - ch23_evt_id"] -pub type CH23_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH23_EVT_ID` writer - ch23_evt_id"] -pub type CH23_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch23_evt_id"] - #[inline(always)] - pub fn ch23_evt_id(&self) -> CH23_EVT_ID_R { - CH23_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH23_EVT_ID") - .field( - "ch23_evt_id", - &format_args!("{}", self.ch23_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch23_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch23_evt_id(&mut self) -> CH23_EVT_ID_W { - CH23_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel23 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH23_EVT_ID_SPEC; -impl crate::RegisterSpec for CH23_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch23_evt_id::R`](R) reader structure"] -impl crate::Readable for CH23_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch23_evt_id::W`](W) writer structure"] -impl crate::Writable for CH23_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH23_EVT_ID to value 0"] -impl crate::Resettable for CH23_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch23_task_id.rs b/esp32h2/src/soc_etm/ch23_task_id.rs deleted file mode 100644 index c08570e9d4..0000000000 --- a/esp32h2/src/soc_etm/ch23_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH23_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH23_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH23_TASK_ID` reader - ch23_task_id"] -pub type CH23_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH23_TASK_ID` writer - ch23_task_id"] -pub type CH23_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch23_task_id"] - #[inline(always)] - pub fn ch23_task_id(&self) -> CH23_TASK_ID_R { - CH23_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH23_TASK_ID") - .field( - "ch23_task_id", - &format_args!("{}", self.ch23_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch23_task_id"] - #[inline(always)] - #[must_use] - pub fn ch23_task_id(&mut self) -> CH23_TASK_ID_W { - CH23_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel23 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH23_TASK_ID_SPEC; -impl crate::RegisterSpec for CH23_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch23_task_id::R`](R) reader structure"] -impl crate::Readable for CH23_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch23_task_id::W`](W) writer structure"] -impl crate::Writable for CH23_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH23_TASK_ID to value 0"] -impl crate::Resettable for CH23_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch24_evt_id.rs b/esp32h2/src/soc_etm/ch24_evt_id.rs deleted file mode 100644 index 172b9968a6..0000000000 --- a/esp32h2/src/soc_etm/ch24_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH24_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH24_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH24_EVT_ID` reader - ch24_evt_id"] -pub type CH24_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH24_EVT_ID` writer - ch24_evt_id"] -pub type CH24_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch24_evt_id"] - #[inline(always)] - pub fn ch24_evt_id(&self) -> CH24_EVT_ID_R { - CH24_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH24_EVT_ID") - .field( - "ch24_evt_id", - &format_args!("{}", self.ch24_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch24_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch24_evt_id(&mut self) -> CH24_EVT_ID_W { - CH24_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel24 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH24_EVT_ID_SPEC; -impl crate::RegisterSpec for CH24_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch24_evt_id::R`](R) reader structure"] -impl crate::Readable for CH24_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch24_evt_id::W`](W) writer structure"] -impl crate::Writable for CH24_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH24_EVT_ID to value 0"] -impl crate::Resettable for CH24_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch24_task_id.rs b/esp32h2/src/soc_etm/ch24_task_id.rs deleted file mode 100644 index 5780eec590..0000000000 --- a/esp32h2/src/soc_etm/ch24_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH24_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH24_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH24_TASK_ID` reader - ch24_task_id"] -pub type CH24_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH24_TASK_ID` writer - ch24_task_id"] -pub type CH24_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch24_task_id"] - #[inline(always)] - pub fn ch24_task_id(&self) -> CH24_TASK_ID_R { - CH24_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH24_TASK_ID") - .field( - "ch24_task_id", - &format_args!("{}", self.ch24_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch24_task_id"] - #[inline(always)] - #[must_use] - pub fn ch24_task_id(&mut self) -> CH24_TASK_ID_W { - CH24_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel24 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH24_TASK_ID_SPEC; -impl crate::RegisterSpec for CH24_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch24_task_id::R`](R) reader structure"] -impl crate::Readable for CH24_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch24_task_id::W`](W) writer structure"] -impl crate::Writable for CH24_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH24_TASK_ID to value 0"] -impl crate::Resettable for CH24_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch25_evt_id.rs b/esp32h2/src/soc_etm/ch25_evt_id.rs deleted file mode 100644 index bd80d0b028..0000000000 --- a/esp32h2/src/soc_etm/ch25_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH25_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH25_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH25_EVT_ID` reader - ch25_evt_id"] -pub type CH25_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH25_EVT_ID` writer - ch25_evt_id"] -pub type CH25_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch25_evt_id"] - #[inline(always)] - pub fn ch25_evt_id(&self) -> CH25_EVT_ID_R { - CH25_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH25_EVT_ID") - .field( - "ch25_evt_id", - &format_args!("{}", self.ch25_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch25_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch25_evt_id(&mut self) -> CH25_EVT_ID_W { - CH25_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel25 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH25_EVT_ID_SPEC; -impl crate::RegisterSpec for CH25_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch25_evt_id::R`](R) reader structure"] -impl crate::Readable for CH25_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch25_evt_id::W`](W) writer structure"] -impl crate::Writable for CH25_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH25_EVT_ID to value 0"] -impl crate::Resettable for CH25_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch25_task_id.rs b/esp32h2/src/soc_etm/ch25_task_id.rs deleted file mode 100644 index 7cf61ee434..0000000000 --- a/esp32h2/src/soc_etm/ch25_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH25_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH25_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH25_TASK_ID` reader - ch25_task_id"] -pub type CH25_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH25_TASK_ID` writer - ch25_task_id"] -pub type CH25_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch25_task_id"] - #[inline(always)] - pub fn ch25_task_id(&self) -> CH25_TASK_ID_R { - CH25_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH25_TASK_ID") - .field( - "ch25_task_id", - &format_args!("{}", self.ch25_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch25_task_id"] - #[inline(always)] - #[must_use] - pub fn ch25_task_id(&mut self) -> CH25_TASK_ID_W { - CH25_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel25 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH25_TASK_ID_SPEC; -impl crate::RegisterSpec for CH25_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch25_task_id::R`](R) reader structure"] -impl crate::Readable for CH25_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch25_task_id::W`](W) writer structure"] -impl crate::Writable for CH25_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH25_TASK_ID to value 0"] -impl crate::Resettable for CH25_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch26_evt_id.rs b/esp32h2/src/soc_etm/ch26_evt_id.rs deleted file mode 100644 index 684a1373b1..0000000000 --- a/esp32h2/src/soc_etm/ch26_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH26_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH26_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH26_EVT_ID` reader - ch26_evt_id"] -pub type CH26_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH26_EVT_ID` writer - ch26_evt_id"] -pub type CH26_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch26_evt_id"] - #[inline(always)] - pub fn ch26_evt_id(&self) -> CH26_EVT_ID_R { - CH26_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH26_EVT_ID") - .field( - "ch26_evt_id", - &format_args!("{}", self.ch26_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch26_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch26_evt_id(&mut self) -> CH26_EVT_ID_W { - CH26_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel26 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH26_EVT_ID_SPEC; -impl crate::RegisterSpec for CH26_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch26_evt_id::R`](R) reader structure"] -impl crate::Readable for CH26_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch26_evt_id::W`](W) writer structure"] -impl crate::Writable for CH26_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH26_EVT_ID to value 0"] -impl crate::Resettable for CH26_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch26_task_id.rs b/esp32h2/src/soc_etm/ch26_task_id.rs deleted file mode 100644 index 59504a7688..0000000000 --- a/esp32h2/src/soc_etm/ch26_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH26_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH26_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH26_TASK_ID` reader - ch26_task_id"] -pub type CH26_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH26_TASK_ID` writer - ch26_task_id"] -pub type CH26_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch26_task_id"] - #[inline(always)] - pub fn ch26_task_id(&self) -> CH26_TASK_ID_R { - CH26_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH26_TASK_ID") - .field( - "ch26_task_id", - &format_args!("{}", self.ch26_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch26_task_id"] - #[inline(always)] - #[must_use] - pub fn ch26_task_id(&mut self) -> CH26_TASK_ID_W { - CH26_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel26 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH26_TASK_ID_SPEC; -impl crate::RegisterSpec for CH26_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch26_task_id::R`](R) reader structure"] -impl crate::Readable for CH26_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch26_task_id::W`](W) writer structure"] -impl crate::Writable for CH26_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH26_TASK_ID to value 0"] -impl crate::Resettable for CH26_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch27_evt_id.rs b/esp32h2/src/soc_etm/ch27_evt_id.rs deleted file mode 100644 index 8b6f17c092..0000000000 --- a/esp32h2/src/soc_etm/ch27_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH27_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH27_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH27_EVT_ID` reader - ch27_evt_id"] -pub type CH27_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH27_EVT_ID` writer - ch27_evt_id"] -pub type CH27_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch27_evt_id"] - #[inline(always)] - pub fn ch27_evt_id(&self) -> CH27_EVT_ID_R { - CH27_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH27_EVT_ID") - .field( - "ch27_evt_id", - &format_args!("{}", self.ch27_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch27_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch27_evt_id(&mut self) -> CH27_EVT_ID_W { - CH27_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel27 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH27_EVT_ID_SPEC; -impl crate::RegisterSpec for CH27_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch27_evt_id::R`](R) reader structure"] -impl crate::Readable for CH27_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch27_evt_id::W`](W) writer structure"] -impl crate::Writable for CH27_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH27_EVT_ID to value 0"] -impl crate::Resettable for CH27_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch27_task_id.rs b/esp32h2/src/soc_etm/ch27_task_id.rs deleted file mode 100644 index dd7e6429a0..0000000000 --- a/esp32h2/src/soc_etm/ch27_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH27_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH27_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH27_TASK_ID` reader - ch27_task_id"] -pub type CH27_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH27_TASK_ID` writer - ch27_task_id"] -pub type CH27_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch27_task_id"] - #[inline(always)] - pub fn ch27_task_id(&self) -> CH27_TASK_ID_R { - CH27_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH27_TASK_ID") - .field( - "ch27_task_id", - &format_args!("{}", self.ch27_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch27_task_id"] - #[inline(always)] - #[must_use] - pub fn ch27_task_id(&mut self) -> CH27_TASK_ID_W { - CH27_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel27 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH27_TASK_ID_SPEC; -impl crate::RegisterSpec for CH27_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch27_task_id::R`](R) reader structure"] -impl crate::Readable for CH27_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch27_task_id::W`](W) writer structure"] -impl crate::Writable for CH27_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH27_TASK_ID to value 0"] -impl crate::Resettable for CH27_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch28_evt_id.rs b/esp32h2/src/soc_etm/ch28_evt_id.rs deleted file mode 100644 index 4266f652a8..0000000000 --- a/esp32h2/src/soc_etm/ch28_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH28_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH28_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH28_EVT_ID` reader - ch28_evt_id"] -pub type CH28_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH28_EVT_ID` writer - ch28_evt_id"] -pub type CH28_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch28_evt_id"] - #[inline(always)] - pub fn ch28_evt_id(&self) -> CH28_EVT_ID_R { - CH28_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH28_EVT_ID") - .field( - "ch28_evt_id", - &format_args!("{}", self.ch28_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch28_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch28_evt_id(&mut self) -> CH28_EVT_ID_W { - CH28_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel28 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH28_EVT_ID_SPEC; -impl crate::RegisterSpec for CH28_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch28_evt_id::R`](R) reader structure"] -impl crate::Readable for CH28_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch28_evt_id::W`](W) writer structure"] -impl crate::Writable for CH28_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH28_EVT_ID to value 0"] -impl crate::Resettable for CH28_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch28_task_id.rs b/esp32h2/src/soc_etm/ch28_task_id.rs deleted file mode 100644 index 4a1557d192..0000000000 --- a/esp32h2/src/soc_etm/ch28_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH28_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH28_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH28_TASK_ID` reader - ch28_task_id"] -pub type CH28_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH28_TASK_ID` writer - ch28_task_id"] -pub type CH28_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch28_task_id"] - #[inline(always)] - pub fn ch28_task_id(&self) -> CH28_TASK_ID_R { - CH28_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH28_TASK_ID") - .field( - "ch28_task_id", - &format_args!("{}", self.ch28_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch28_task_id"] - #[inline(always)] - #[must_use] - pub fn ch28_task_id(&mut self) -> CH28_TASK_ID_W { - CH28_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel28 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH28_TASK_ID_SPEC; -impl crate::RegisterSpec for CH28_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch28_task_id::R`](R) reader structure"] -impl crate::Readable for CH28_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch28_task_id::W`](W) writer structure"] -impl crate::Writable for CH28_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH28_TASK_ID to value 0"] -impl crate::Resettable for CH28_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch29_evt_id.rs b/esp32h2/src/soc_etm/ch29_evt_id.rs deleted file mode 100644 index 95609ed75e..0000000000 --- a/esp32h2/src/soc_etm/ch29_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH29_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH29_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH29_EVT_ID` reader - ch29_evt_id"] -pub type CH29_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH29_EVT_ID` writer - ch29_evt_id"] -pub type CH29_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch29_evt_id"] - #[inline(always)] - pub fn ch29_evt_id(&self) -> CH29_EVT_ID_R { - CH29_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH29_EVT_ID") - .field( - "ch29_evt_id", - &format_args!("{}", self.ch29_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch29_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch29_evt_id(&mut self) -> CH29_EVT_ID_W { - CH29_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel29 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH29_EVT_ID_SPEC; -impl crate::RegisterSpec for CH29_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch29_evt_id::R`](R) reader structure"] -impl crate::Readable for CH29_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch29_evt_id::W`](W) writer structure"] -impl crate::Writable for CH29_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH29_EVT_ID to value 0"] -impl crate::Resettable for CH29_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch29_task_id.rs b/esp32h2/src/soc_etm/ch29_task_id.rs deleted file mode 100644 index b82dc210ae..0000000000 --- a/esp32h2/src/soc_etm/ch29_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH29_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH29_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH29_TASK_ID` reader - ch29_task_id"] -pub type CH29_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH29_TASK_ID` writer - ch29_task_id"] -pub type CH29_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch29_task_id"] - #[inline(always)] - pub fn ch29_task_id(&self) -> CH29_TASK_ID_R { - CH29_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH29_TASK_ID") - .field( - "ch29_task_id", - &format_args!("{}", self.ch29_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch29_task_id"] - #[inline(always)] - #[must_use] - pub fn ch29_task_id(&mut self) -> CH29_TASK_ID_W { - CH29_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel29 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH29_TASK_ID_SPEC; -impl crate::RegisterSpec for CH29_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch29_task_id::R`](R) reader structure"] -impl crate::Readable for CH29_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch29_task_id::W`](W) writer structure"] -impl crate::Writable for CH29_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH29_TASK_ID to value 0"] -impl crate::Resettable for CH29_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch2_evt_id.rs b/esp32h2/src/soc_etm/ch2_evt_id.rs deleted file mode 100644 index cc67816406..0000000000 --- a/esp32h2/src/soc_etm/ch2_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH2_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH2_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH2_EVT_ID` reader - ch2_evt_id"] -pub type CH2_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH2_EVT_ID` writer - ch2_evt_id"] -pub type CH2_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch2_evt_id"] - #[inline(always)] - pub fn ch2_evt_id(&self) -> CH2_EVT_ID_R { - CH2_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH2_EVT_ID") - .field("ch2_evt_id", &format_args!("{}", self.ch2_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch2_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch2_evt_id(&mut self) -> CH2_EVT_ID_W { - CH2_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel2 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH2_EVT_ID_SPEC; -impl crate::RegisterSpec for CH2_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch2_evt_id::R`](R) reader structure"] -impl crate::Readable for CH2_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch2_evt_id::W`](W) writer structure"] -impl crate::Writable for CH2_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH2_EVT_ID to value 0"] -impl crate::Resettable for CH2_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch2_task_id.rs b/esp32h2/src/soc_etm/ch2_task_id.rs deleted file mode 100644 index 14e1f7e6cc..0000000000 --- a/esp32h2/src/soc_etm/ch2_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH2_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH2_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH2_TASK_ID` reader - ch2_task_id"] -pub type CH2_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH2_TASK_ID` writer - ch2_task_id"] -pub type CH2_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch2_task_id"] - #[inline(always)] - pub fn ch2_task_id(&self) -> CH2_TASK_ID_R { - CH2_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH2_TASK_ID") - .field( - "ch2_task_id", - &format_args!("{}", self.ch2_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch2_task_id"] - #[inline(always)] - #[must_use] - pub fn ch2_task_id(&mut self) -> CH2_TASK_ID_W { - CH2_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel2 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH2_TASK_ID_SPEC; -impl crate::RegisterSpec for CH2_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch2_task_id::R`](R) reader structure"] -impl crate::Readable for CH2_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch2_task_id::W`](W) writer structure"] -impl crate::Writable for CH2_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH2_TASK_ID to value 0"] -impl crate::Resettable for CH2_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch30_evt_id.rs b/esp32h2/src/soc_etm/ch30_evt_id.rs deleted file mode 100644 index b0aaa5417d..0000000000 --- a/esp32h2/src/soc_etm/ch30_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH30_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH30_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH30_EVT_ID` reader - ch30_evt_id"] -pub type CH30_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH30_EVT_ID` writer - ch30_evt_id"] -pub type CH30_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch30_evt_id"] - #[inline(always)] - pub fn ch30_evt_id(&self) -> CH30_EVT_ID_R { - CH30_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH30_EVT_ID") - .field( - "ch30_evt_id", - &format_args!("{}", self.ch30_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch30_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch30_evt_id(&mut self) -> CH30_EVT_ID_W { - CH30_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel30 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH30_EVT_ID_SPEC; -impl crate::RegisterSpec for CH30_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch30_evt_id::R`](R) reader structure"] -impl crate::Readable for CH30_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch30_evt_id::W`](W) writer structure"] -impl crate::Writable for CH30_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH30_EVT_ID to value 0"] -impl crate::Resettable for CH30_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch30_task_id.rs b/esp32h2/src/soc_etm/ch30_task_id.rs deleted file mode 100644 index 32c80ecd78..0000000000 --- a/esp32h2/src/soc_etm/ch30_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH30_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH30_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH30_TASK_ID` reader - ch30_task_id"] -pub type CH30_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH30_TASK_ID` writer - ch30_task_id"] -pub type CH30_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch30_task_id"] - #[inline(always)] - pub fn ch30_task_id(&self) -> CH30_TASK_ID_R { - CH30_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH30_TASK_ID") - .field( - "ch30_task_id", - &format_args!("{}", self.ch30_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch30_task_id"] - #[inline(always)] - #[must_use] - pub fn ch30_task_id(&mut self) -> CH30_TASK_ID_W { - CH30_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel30 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH30_TASK_ID_SPEC; -impl crate::RegisterSpec for CH30_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch30_task_id::R`](R) reader structure"] -impl crate::Readable for CH30_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch30_task_id::W`](W) writer structure"] -impl crate::Writable for CH30_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH30_TASK_ID to value 0"] -impl crate::Resettable for CH30_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch31_evt_id.rs b/esp32h2/src/soc_etm/ch31_evt_id.rs deleted file mode 100644 index 950bd8a933..0000000000 --- a/esp32h2/src/soc_etm/ch31_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH31_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH31_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH31_EVT_ID` reader - ch31_evt_id"] -pub type CH31_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH31_EVT_ID` writer - ch31_evt_id"] -pub type CH31_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch31_evt_id"] - #[inline(always)] - pub fn ch31_evt_id(&self) -> CH31_EVT_ID_R { - CH31_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH31_EVT_ID") - .field( - "ch31_evt_id", - &format_args!("{}", self.ch31_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch31_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch31_evt_id(&mut self) -> CH31_EVT_ID_W { - CH31_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel31 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH31_EVT_ID_SPEC; -impl crate::RegisterSpec for CH31_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch31_evt_id::R`](R) reader structure"] -impl crate::Readable for CH31_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch31_evt_id::W`](W) writer structure"] -impl crate::Writable for CH31_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH31_EVT_ID to value 0"] -impl crate::Resettable for CH31_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch31_task_id.rs b/esp32h2/src/soc_etm/ch31_task_id.rs deleted file mode 100644 index 4da0f2d951..0000000000 --- a/esp32h2/src/soc_etm/ch31_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH31_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH31_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH31_TASK_ID` reader - ch31_task_id"] -pub type CH31_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH31_TASK_ID` writer - ch31_task_id"] -pub type CH31_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch31_task_id"] - #[inline(always)] - pub fn ch31_task_id(&self) -> CH31_TASK_ID_R { - CH31_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH31_TASK_ID") - .field( - "ch31_task_id", - &format_args!("{}", self.ch31_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch31_task_id"] - #[inline(always)] - #[must_use] - pub fn ch31_task_id(&mut self) -> CH31_TASK_ID_W { - CH31_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel31 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH31_TASK_ID_SPEC; -impl crate::RegisterSpec for CH31_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch31_task_id::R`](R) reader structure"] -impl crate::Readable for CH31_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch31_task_id::W`](W) writer structure"] -impl crate::Writable for CH31_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH31_TASK_ID to value 0"] -impl crate::Resettable for CH31_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch32_evt_id.rs b/esp32h2/src/soc_etm/ch32_evt_id.rs deleted file mode 100644 index ee04ea400f..0000000000 --- a/esp32h2/src/soc_etm/ch32_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH32_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH32_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH32_EVT_ID` reader - ch32_evt_id"] -pub type CH32_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH32_EVT_ID` writer - ch32_evt_id"] -pub type CH32_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch32_evt_id"] - #[inline(always)] - pub fn ch32_evt_id(&self) -> CH32_EVT_ID_R { - CH32_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH32_EVT_ID") - .field( - "ch32_evt_id", - &format_args!("{}", self.ch32_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch32_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch32_evt_id(&mut self) -> CH32_EVT_ID_W { - CH32_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel32 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH32_EVT_ID_SPEC; -impl crate::RegisterSpec for CH32_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch32_evt_id::R`](R) reader structure"] -impl crate::Readable for CH32_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch32_evt_id::W`](W) writer structure"] -impl crate::Writable for CH32_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH32_EVT_ID to value 0"] -impl crate::Resettable for CH32_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch32_task_id.rs b/esp32h2/src/soc_etm/ch32_task_id.rs deleted file mode 100644 index cfd6fd8ed4..0000000000 --- a/esp32h2/src/soc_etm/ch32_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH32_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH32_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH32_TASK_ID` reader - ch32_task_id"] -pub type CH32_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH32_TASK_ID` writer - ch32_task_id"] -pub type CH32_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch32_task_id"] - #[inline(always)] - pub fn ch32_task_id(&self) -> CH32_TASK_ID_R { - CH32_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH32_TASK_ID") - .field( - "ch32_task_id", - &format_args!("{}", self.ch32_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch32_task_id"] - #[inline(always)] - #[must_use] - pub fn ch32_task_id(&mut self) -> CH32_TASK_ID_W { - CH32_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel32 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH32_TASK_ID_SPEC; -impl crate::RegisterSpec for CH32_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch32_task_id::R`](R) reader structure"] -impl crate::Readable for CH32_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch32_task_id::W`](W) writer structure"] -impl crate::Writable for CH32_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH32_TASK_ID to value 0"] -impl crate::Resettable for CH32_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch33_evt_id.rs b/esp32h2/src/soc_etm/ch33_evt_id.rs deleted file mode 100644 index dff65ab2db..0000000000 --- a/esp32h2/src/soc_etm/ch33_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH33_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH33_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH33_EVT_ID` reader - ch33_evt_id"] -pub type CH33_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH33_EVT_ID` writer - ch33_evt_id"] -pub type CH33_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch33_evt_id"] - #[inline(always)] - pub fn ch33_evt_id(&self) -> CH33_EVT_ID_R { - CH33_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH33_EVT_ID") - .field( - "ch33_evt_id", - &format_args!("{}", self.ch33_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch33_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch33_evt_id(&mut self) -> CH33_EVT_ID_W { - CH33_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel33 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH33_EVT_ID_SPEC; -impl crate::RegisterSpec for CH33_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch33_evt_id::R`](R) reader structure"] -impl crate::Readable for CH33_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch33_evt_id::W`](W) writer structure"] -impl crate::Writable for CH33_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH33_EVT_ID to value 0"] -impl crate::Resettable for CH33_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch33_task_id.rs b/esp32h2/src/soc_etm/ch33_task_id.rs deleted file mode 100644 index 47a43305f2..0000000000 --- a/esp32h2/src/soc_etm/ch33_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH33_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH33_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH33_TASK_ID` reader - ch33_task_id"] -pub type CH33_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH33_TASK_ID` writer - ch33_task_id"] -pub type CH33_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch33_task_id"] - #[inline(always)] - pub fn ch33_task_id(&self) -> CH33_TASK_ID_R { - CH33_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH33_TASK_ID") - .field( - "ch33_task_id", - &format_args!("{}", self.ch33_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch33_task_id"] - #[inline(always)] - #[must_use] - pub fn ch33_task_id(&mut self) -> CH33_TASK_ID_W { - CH33_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel33 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH33_TASK_ID_SPEC; -impl crate::RegisterSpec for CH33_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch33_task_id::R`](R) reader structure"] -impl crate::Readable for CH33_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch33_task_id::W`](W) writer structure"] -impl crate::Writable for CH33_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH33_TASK_ID to value 0"] -impl crate::Resettable for CH33_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch34_evt_id.rs b/esp32h2/src/soc_etm/ch34_evt_id.rs deleted file mode 100644 index 58d47d22c5..0000000000 --- a/esp32h2/src/soc_etm/ch34_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH34_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH34_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH34_EVT_ID` reader - ch34_evt_id"] -pub type CH34_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH34_EVT_ID` writer - ch34_evt_id"] -pub type CH34_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch34_evt_id"] - #[inline(always)] - pub fn ch34_evt_id(&self) -> CH34_EVT_ID_R { - CH34_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH34_EVT_ID") - .field( - "ch34_evt_id", - &format_args!("{}", self.ch34_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch34_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch34_evt_id(&mut self) -> CH34_EVT_ID_W { - CH34_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel34 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH34_EVT_ID_SPEC; -impl crate::RegisterSpec for CH34_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch34_evt_id::R`](R) reader structure"] -impl crate::Readable for CH34_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch34_evt_id::W`](W) writer structure"] -impl crate::Writable for CH34_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH34_EVT_ID to value 0"] -impl crate::Resettable for CH34_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch34_task_id.rs b/esp32h2/src/soc_etm/ch34_task_id.rs deleted file mode 100644 index d5077849b1..0000000000 --- a/esp32h2/src/soc_etm/ch34_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH34_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH34_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH34_TASK_ID` reader - ch34_task_id"] -pub type CH34_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH34_TASK_ID` writer - ch34_task_id"] -pub type CH34_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch34_task_id"] - #[inline(always)] - pub fn ch34_task_id(&self) -> CH34_TASK_ID_R { - CH34_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH34_TASK_ID") - .field( - "ch34_task_id", - &format_args!("{}", self.ch34_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch34_task_id"] - #[inline(always)] - #[must_use] - pub fn ch34_task_id(&mut self) -> CH34_TASK_ID_W { - CH34_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel34 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH34_TASK_ID_SPEC; -impl crate::RegisterSpec for CH34_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch34_task_id::R`](R) reader structure"] -impl crate::Readable for CH34_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch34_task_id::W`](W) writer structure"] -impl crate::Writable for CH34_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH34_TASK_ID to value 0"] -impl crate::Resettable for CH34_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch35_evt_id.rs b/esp32h2/src/soc_etm/ch35_evt_id.rs deleted file mode 100644 index 61d5521089..0000000000 --- a/esp32h2/src/soc_etm/ch35_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH35_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH35_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH35_EVT_ID` reader - ch35_evt_id"] -pub type CH35_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH35_EVT_ID` writer - ch35_evt_id"] -pub type CH35_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch35_evt_id"] - #[inline(always)] - pub fn ch35_evt_id(&self) -> CH35_EVT_ID_R { - CH35_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH35_EVT_ID") - .field( - "ch35_evt_id", - &format_args!("{}", self.ch35_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch35_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch35_evt_id(&mut self) -> CH35_EVT_ID_W { - CH35_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel35 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH35_EVT_ID_SPEC; -impl crate::RegisterSpec for CH35_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch35_evt_id::R`](R) reader structure"] -impl crate::Readable for CH35_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch35_evt_id::W`](W) writer structure"] -impl crate::Writable for CH35_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH35_EVT_ID to value 0"] -impl crate::Resettable for CH35_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch35_task_id.rs b/esp32h2/src/soc_etm/ch35_task_id.rs deleted file mode 100644 index ebe288846d..0000000000 --- a/esp32h2/src/soc_etm/ch35_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH35_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH35_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH35_TASK_ID` reader - ch35_task_id"] -pub type CH35_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH35_TASK_ID` writer - ch35_task_id"] -pub type CH35_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch35_task_id"] - #[inline(always)] - pub fn ch35_task_id(&self) -> CH35_TASK_ID_R { - CH35_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH35_TASK_ID") - .field( - "ch35_task_id", - &format_args!("{}", self.ch35_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch35_task_id"] - #[inline(always)] - #[must_use] - pub fn ch35_task_id(&mut self) -> CH35_TASK_ID_W { - CH35_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel35 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH35_TASK_ID_SPEC; -impl crate::RegisterSpec for CH35_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch35_task_id::R`](R) reader structure"] -impl crate::Readable for CH35_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch35_task_id::W`](W) writer structure"] -impl crate::Writable for CH35_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH35_TASK_ID to value 0"] -impl crate::Resettable for CH35_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch36_evt_id.rs b/esp32h2/src/soc_etm/ch36_evt_id.rs deleted file mode 100644 index 828ca56aa9..0000000000 --- a/esp32h2/src/soc_etm/ch36_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH36_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH36_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH36_EVT_ID` reader - ch36_evt_id"] -pub type CH36_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH36_EVT_ID` writer - ch36_evt_id"] -pub type CH36_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch36_evt_id"] - #[inline(always)] - pub fn ch36_evt_id(&self) -> CH36_EVT_ID_R { - CH36_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH36_EVT_ID") - .field( - "ch36_evt_id", - &format_args!("{}", self.ch36_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch36_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch36_evt_id(&mut self) -> CH36_EVT_ID_W { - CH36_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel36 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH36_EVT_ID_SPEC; -impl crate::RegisterSpec for CH36_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch36_evt_id::R`](R) reader structure"] -impl crate::Readable for CH36_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch36_evt_id::W`](W) writer structure"] -impl crate::Writable for CH36_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH36_EVT_ID to value 0"] -impl crate::Resettable for CH36_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch36_task_id.rs b/esp32h2/src/soc_etm/ch36_task_id.rs deleted file mode 100644 index 70ea0c5c4f..0000000000 --- a/esp32h2/src/soc_etm/ch36_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH36_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH36_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH36_TASK_ID` reader - ch36_task_id"] -pub type CH36_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH36_TASK_ID` writer - ch36_task_id"] -pub type CH36_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch36_task_id"] - #[inline(always)] - pub fn ch36_task_id(&self) -> CH36_TASK_ID_R { - CH36_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH36_TASK_ID") - .field( - "ch36_task_id", - &format_args!("{}", self.ch36_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch36_task_id"] - #[inline(always)] - #[must_use] - pub fn ch36_task_id(&mut self) -> CH36_TASK_ID_W { - CH36_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel36 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH36_TASK_ID_SPEC; -impl crate::RegisterSpec for CH36_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch36_task_id::R`](R) reader structure"] -impl crate::Readable for CH36_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch36_task_id::W`](W) writer structure"] -impl crate::Writable for CH36_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH36_TASK_ID to value 0"] -impl crate::Resettable for CH36_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch37_evt_id.rs b/esp32h2/src/soc_etm/ch37_evt_id.rs deleted file mode 100644 index 9105e8fd01..0000000000 --- a/esp32h2/src/soc_etm/ch37_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH37_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH37_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH37_EVT_ID` reader - ch37_evt_id"] -pub type CH37_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH37_EVT_ID` writer - ch37_evt_id"] -pub type CH37_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch37_evt_id"] - #[inline(always)] - pub fn ch37_evt_id(&self) -> CH37_EVT_ID_R { - CH37_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH37_EVT_ID") - .field( - "ch37_evt_id", - &format_args!("{}", self.ch37_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch37_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch37_evt_id(&mut self) -> CH37_EVT_ID_W { - CH37_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel37 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH37_EVT_ID_SPEC; -impl crate::RegisterSpec for CH37_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch37_evt_id::R`](R) reader structure"] -impl crate::Readable for CH37_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch37_evt_id::W`](W) writer structure"] -impl crate::Writable for CH37_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH37_EVT_ID to value 0"] -impl crate::Resettable for CH37_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch37_task_id.rs b/esp32h2/src/soc_etm/ch37_task_id.rs deleted file mode 100644 index 319e72773a..0000000000 --- a/esp32h2/src/soc_etm/ch37_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH37_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH37_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH37_TASK_ID` reader - ch37_task_id"] -pub type CH37_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH37_TASK_ID` writer - ch37_task_id"] -pub type CH37_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch37_task_id"] - #[inline(always)] - pub fn ch37_task_id(&self) -> CH37_TASK_ID_R { - CH37_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH37_TASK_ID") - .field( - "ch37_task_id", - &format_args!("{}", self.ch37_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch37_task_id"] - #[inline(always)] - #[must_use] - pub fn ch37_task_id(&mut self) -> CH37_TASK_ID_W { - CH37_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel37 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH37_TASK_ID_SPEC; -impl crate::RegisterSpec for CH37_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch37_task_id::R`](R) reader structure"] -impl crate::Readable for CH37_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch37_task_id::W`](W) writer structure"] -impl crate::Writable for CH37_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH37_TASK_ID to value 0"] -impl crate::Resettable for CH37_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch38_evt_id.rs b/esp32h2/src/soc_etm/ch38_evt_id.rs deleted file mode 100644 index 7ff7e4a44f..0000000000 --- a/esp32h2/src/soc_etm/ch38_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH38_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH38_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH38_EVT_ID` reader - ch38_evt_id"] -pub type CH38_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH38_EVT_ID` writer - ch38_evt_id"] -pub type CH38_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch38_evt_id"] - #[inline(always)] - pub fn ch38_evt_id(&self) -> CH38_EVT_ID_R { - CH38_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH38_EVT_ID") - .field( - "ch38_evt_id", - &format_args!("{}", self.ch38_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch38_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch38_evt_id(&mut self) -> CH38_EVT_ID_W { - CH38_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel38 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH38_EVT_ID_SPEC; -impl crate::RegisterSpec for CH38_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch38_evt_id::R`](R) reader structure"] -impl crate::Readable for CH38_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch38_evt_id::W`](W) writer structure"] -impl crate::Writable for CH38_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH38_EVT_ID to value 0"] -impl crate::Resettable for CH38_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch38_task_id.rs b/esp32h2/src/soc_etm/ch38_task_id.rs deleted file mode 100644 index 1518d7e8d5..0000000000 --- a/esp32h2/src/soc_etm/ch38_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH38_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH38_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH38_TASK_ID` reader - ch38_task_id"] -pub type CH38_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH38_TASK_ID` writer - ch38_task_id"] -pub type CH38_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch38_task_id"] - #[inline(always)] - pub fn ch38_task_id(&self) -> CH38_TASK_ID_R { - CH38_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH38_TASK_ID") - .field( - "ch38_task_id", - &format_args!("{}", self.ch38_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch38_task_id"] - #[inline(always)] - #[must_use] - pub fn ch38_task_id(&mut self) -> CH38_TASK_ID_W { - CH38_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel38 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH38_TASK_ID_SPEC; -impl crate::RegisterSpec for CH38_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch38_task_id::R`](R) reader structure"] -impl crate::Readable for CH38_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch38_task_id::W`](W) writer structure"] -impl crate::Writable for CH38_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH38_TASK_ID to value 0"] -impl crate::Resettable for CH38_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch39_evt_id.rs b/esp32h2/src/soc_etm/ch39_evt_id.rs deleted file mode 100644 index 8c1bace378..0000000000 --- a/esp32h2/src/soc_etm/ch39_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH39_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH39_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH39_EVT_ID` reader - ch39_evt_id"] -pub type CH39_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH39_EVT_ID` writer - ch39_evt_id"] -pub type CH39_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch39_evt_id"] - #[inline(always)] - pub fn ch39_evt_id(&self) -> CH39_EVT_ID_R { - CH39_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH39_EVT_ID") - .field( - "ch39_evt_id", - &format_args!("{}", self.ch39_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch39_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch39_evt_id(&mut self) -> CH39_EVT_ID_W { - CH39_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel39 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH39_EVT_ID_SPEC; -impl crate::RegisterSpec for CH39_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch39_evt_id::R`](R) reader structure"] -impl crate::Readable for CH39_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch39_evt_id::W`](W) writer structure"] -impl crate::Writable for CH39_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH39_EVT_ID to value 0"] -impl crate::Resettable for CH39_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch39_task_id.rs b/esp32h2/src/soc_etm/ch39_task_id.rs deleted file mode 100644 index 54774e146d..0000000000 --- a/esp32h2/src/soc_etm/ch39_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH39_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH39_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH39_TASK_ID` reader - ch39_task_id"] -pub type CH39_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH39_TASK_ID` writer - ch39_task_id"] -pub type CH39_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch39_task_id"] - #[inline(always)] - pub fn ch39_task_id(&self) -> CH39_TASK_ID_R { - CH39_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH39_TASK_ID") - .field( - "ch39_task_id", - &format_args!("{}", self.ch39_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch39_task_id"] - #[inline(always)] - #[must_use] - pub fn ch39_task_id(&mut self) -> CH39_TASK_ID_W { - CH39_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel39 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH39_TASK_ID_SPEC; -impl crate::RegisterSpec for CH39_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch39_task_id::R`](R) reader structure"] -impl crate::Readable for CH39_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch39_task_id::W`](W) writer structure"] -impl crate::Writable for CH39_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH39_TASK_ID to value 0"] -impl crate::Resettable for CH39_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch3_evt_id.rs b/esp32h2/src/soc_etm/ch3_evt_id.rs deleted file mode 100644 index 7c00c43be9..0000000000 --- a/esp32h2/src/soc_etm/ch3_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH3_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH3_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH3_EVT_ID` reader - ch3_evt_id"] -pub type CH3_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH3_EVT_ID` writer - ch3_evt_id"] -pub type CH3_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch3_evt_id"] - #[inline(always)] - pub fn ch3_evt_id(&self) -> CH3_EVT_ID_R { - CH3_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH3_EVT_ID") - .field("ch3_evt_id", &format_args!("{}", self.ch3_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch3_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch3_evt_id(&mut self) -> CH3_EVT_ID_W { - CH3_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel3 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH3_EVT_ID_SPEC; -impl crate::RegisterSpec for CH3_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch3_evt_id::R`](R) reader structure"] -impl crate::Readable for CH3_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch3_evt_id::W`](W) writer structure"] -impl crate::Writable for CH3_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH3_EVT_ID to value 0"] -impl crate::Resettable for CH3_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch3_task_id.rs b/esp32h2/src/soc_etm/ch3_task_id.rs deleted file mode 100644 index c7e08c2f4d..0000000000 --- a/esp32h2/src/soc_etm/ch3_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH3_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH3_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH3_TASK_ID` reader - ch3_task_id"] -pub type CH3_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH3_TASK_ID` writer - ch3_task_id"] -pub type CH3_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch3_task_id"] - #[inline(always)] - pub fn ch3_task_id(&self) -> CH3_TASK_ID_R { - CH3_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH3_TASK_ID") - .field( - "ch3_task_id", - &format_args!("{}", self.ch3_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch3_task_id"] - #[inline(always)] - #[must_use] - pub fn ch3_task_id(&mut self) -> CH3_TASK_ID_W { - CH3_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel3 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH3_TASK_ID_SPEC; -impl crate::RegisterSpec for CH3_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch3_task_id::R`](R) reader structure"] -impl crate::Readable for CH3_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch3_task_id::W`](W) writer structure"] -impl crate::Writable for CH3_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH3_TASK_ID to value 0"] -impl crate::Resettable for CH3_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch40_evt_id.rs b/esp32h2/src/soc_etm/ch40_evt_id.rs deleted file mode 100644 index af00a9a92d..0000000000 --- a/esp32h2/src/soc_etm/ch40_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH40_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH40_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH40_EVT_ID` reader - ch40_evt_id"] -pub type CH40_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH40_EVT_ID` writer - ch40_evt_id"] -pub type CH40_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch40_evt_id"] - #[inline(always)] - pub fn ch40_evt_id(&self) -> CH40_EVT_ID_R { - CH40_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH40_EVT_ID") - .field( - "ch40_evt_id", - &format_args!("{}", self.ch40_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch40_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch40_evt_id(&mut self) -> CH40_EVT_ID_W { - CH40_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel40 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH40_EVT_ID_SPEC; -impl crate::RegisterSpec for CH40_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch40_evt_id::R`](R) reader structure"] -impl crate::Readable for CH40_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch40_evt_id::W`](W) writer structure"] -impl crate::Writable for CH40_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH40_EVT_ID to value 0"] -impl crate::Resettable for CH40_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch40_task_id.rs b/esp32h2/src/soc_etm/ch40_task_id.rs deleted file mode 100644 index dc47483ec5..0000000000 --- a/esp32h2/src/soc_etm/ch40_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH40_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH40_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH40_TASK_ID` reader - ch40_task_id"] -pub type CH40_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH40_TASK_ID` writer - ch40_task_id"] -pub type CH40_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch40_task_id"] - #[inline(always)] - pub fn ch40_task_id(&self) -> CH40_TASK_ID_R { - CH40_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH40_TASK_ID") - .field( - "ch40_task_id", - &format_args!("{}", self.ch40_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch40_task_id"] - #[inline(always)] - #[must_use] - pub fn ch40_task_id(&mut self) -> CH40_TASK_ID_W { - CH40_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel40 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH40_TASK_ID_SPEC; -impl crate::RegisterSpec for CH40_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch40_task_id::R`](R) reader structure"] -impl crate::Readable for CH40_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch40_task_id::W`](W) writer structure"] -impl crate::Writable for CH40_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH40_TASK_ID to value 0"] -impl crate::Resettable for CH40_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch41_evt_id.rs b/esp32h2/src/soc_etm/ch41_evt_id.rs deleted file mode 100644 index da056744fc..0000000000 --- a/esp32h2/src/soc_etm/ch41_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH41_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH41_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH41_EVT_ID` reader - ch41_evt_id"] -pub type CH41_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH41_EVT_ID` writer - ch41_evt_id"] -pub type CH41_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch41_evt_id"] - #[inline(always)] - pub fn ch41_evt_id(&self) -> CH41_EVT_ID_R { - CH41_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH41_EVT_ID") - .field( - "ch41_evt_id", - &format_args!("{}", self.ch41_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch41_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch41_evt_id(&mut self) -> CH41_EVT_ID_W { - CH41_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel41 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH41_EVT_ID_SPEC; -impl crate::RegisterSpec for CH41_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch41_evt_id::R`](R) reader structure"] -impl crate::Readable for CH41_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch41_evt_id::W`](W) writer structure"] -impl crate::Writable for CH41_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH41_EVT_ID to value 0"] -impl crate::Resettable for CH41_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch41_task_id.rs b/esp32h2/src/soc_etm/ch41_task_id.rs deleted file mode 100644 index 3752c274d2..0000000000 --- a/esp32h2/src/soc_etm/ch41_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH41_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH41_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH41_TASK_ID` reader - ch41_task_id"] -pub type CH41_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH41_TASK_ID` writer - ch41_task_id"] -pub type CH41_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch41_task_id"] - #[inline(always)] - pub fn ch41_task_id(&self) -> CH41_TASK_ID_R { - CH41_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH41_TASK_ID") - .field( - "ch41_task_id", - &format_args!("{}", self.ch41_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch41_task_id"] - #[inline(always)] - #[must_use] - pub fn ch41_task_id(&mut self) -> CH41_TASK_ID_W { - CH41_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel41 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH41_TASK_ID_SPEC; -impl crate::RegisterSpec for CH41_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch41_task_id::R`](R) reader structure"] -impl crate::Readable for CH41_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch41_task_id::W`](W) writer structure"] -impl crate::Writable for CH41_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH41_TASK_ID to value 0"] -impl crate::Resettable for CH41_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch42_evt_id.rs b/esp32h2/src/soc_etm/ch42_evt_id.rs deleted file mode 100644 index b655f1c774..0000000000 --- a/esp32h2/src/soc_etm/ch42_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH42_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH42_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH42_EVT_ID` reader - ch42_evt_id"] -pub type CH42_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH42_EVT_ID` writer - ch42_evt_id"] -pub type CH42_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch42_evt_id"] - #[inline(always)] - pub fn ch42_evt_id(&self) -> CH42_EVT_ID_R { - CH42_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH42_EVT_ID") - .field( - "ch42_evt_id", - &format_args!("{}", self.ch42_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch42_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch42_evt_id(&mut self) -> CH42_EVT_ID_W { - CH42_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel42 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH42_EVT_ID_SPEC; -impl crate::RegisterSpec for CH42_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch42_evt_id::R`](R) reader structure"] -impl crate::Readable for CH42_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch42_evt_id::W`](W) writer structure"] -impl crate::Writable for CH42_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH42_EVT_ID to value 0"] -impl crate::Resettable for CH42_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch42_task_id.rs b/esp32h2/src/soc_etm/ch42_task_id.rs deleted file mode 100644 index b33b2e341a..0000000000 --- a/esp32h2/src/soc_etm/ch42_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH42_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH42_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH42_TASK_ID` reader - ch42_task_id"] -pub type CH42_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH42_TASK_ID` writer - ch42_task_id"] -pub type CH42_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch42_task_id"] - #[inline(always)] - pub fn ch42_task_id(&self) -> CH42_TASK_ID_R { - CH42_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH42_TASK_ID") - .field( - "ch42_task_id", - &format_args!("{}", self.ch42_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch42_task_id"] - #[inline(always)] - #[must_use] - pub fn ch42_task_id(&mut self) -> CH42_TASK_ID_W { - CH42_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel42 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH42_TASK_ID_SPEC; -impl crate::RegisterSpec for CH42_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch42_task_id::R`](R) reader structure"] -impl crate::Readable for CH42_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch42_task_id::W`](W) writer structure"] -impl crate::Writable for CH42_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH42_TASK_ID to value 0"] -impl crate::Resettable for CH42_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch43_evt_id.rs b/esp32h2/src/soc_etm/ch43_evt_id.rs deleted file mode 100644 index 837fef249c..0000000000 --- a/esp32h2/src/soc_etm/ch43_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH43_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH43_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH43_EVT_ID` reader - ch43_evt_id"] -pub type CH43_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH43_EVT_ID` writer - ch43_evt_id"] -pub type CH43_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch43_evt_id"] - #[inline(always)] - pub fn ch43_evt_id(&self) -> CH43_EVT_ID_R { - CH43_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH43_EVT_ID") - .field( - "ch43_evt_id", - &format_args!("{}", self.ch43_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch43_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch43_evt_id(&mut self) -> CH43_EVT_ID_W { - CH43_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel43 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH43_EVT_ID_SPEC; -impl crate::RegisterSpec for CH43_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch43_evt_id::R`](R) reader structure"] -impl crate::Readable for CH43_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch43_evt_id::W`](W) writer structure"] -impl crate::Writable for CH43_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH43_EVT_ID to value 0"] -impl crate::Resettable for CH43_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch43_task_id.rs b/esp32h2/src/soc_etm/ch43_task_id.rs deleted file mode 100644 index 7c641ca79e..0000000000 --- a/esp32h2/src/soc_etm/ch43_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH43_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH43_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH43_TASK_ID` reader - ch43_task_id"] -pub type CH43_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH43_TASK_ID` writer - ch43_task_id"] -pub type CH43_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch43_task_id"] - #[inline(always)] - pub fn ch43_task_id(&self) -> CH43_TASK_ID_R { - CH43_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH43_TASK_ID") - .field( - "ch43_task_id", - &format_args!("{}", self.ch43_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch43_task_id"] - #[inline(always)] - #[must_use] - pub fn ch43_task_id(&mut self) -> CH43_TASK_ID_W { - CH43_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel43 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH43_TASK_ID_SPEC; -impl crate::RegisterSpec for CH43_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch43_task_id::R`](R) reader structure"] -impl crate::Readable for CH43_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch43_task_id::W`](W) writer structure"] -impl crate::Writable for CH43_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH43_TASK_ID to value 0"] -impl crate::Resettable for CH43_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch44_evt_id.rs b/esp32h2/src/soc_etm/ch44_evt_id.rs deleted file mode 100644 index 00ed1cb772..0000000000 --- a/esp32h2/src/soc_etm/ch44_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH44_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH44_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH44_EVT_ID` reader - ch44_evt_id"] -pub type CH44_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH44_EVT_ID` writer - ch44_evt_id"] -pub type CH44_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch44_evt_id"] - #[inline(always)] - pub fn ch44_evt_id(&self) -> CH44_EVT_ID_R { - CH44_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH44_EVT_ID") - .field( - "ch44_evt_id", - &format_args!("{}", self.ch44_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch44_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch44_evt_id(&mut self) -> CH44_EVT_ID_W { - CH44_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel44 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH44_EVT_ID_SPEC; -impl crate::RegisterSpec for CH44_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch44_evt_id::R`](R) reader structure"] -impl crate::Readable for CH44_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch44_evt_id::W`](W) writer structure"] -impl crate::Writable for CH44_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH44_EVT_ID to value 0"] -impl crate::Resettable for CH44_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch44_task_id.rs b/esp32h2/src/soc_etm/ch44_task_id.rs deleted file mode 100644 index 09fa4ccd55..0000000000 --- a/esp32h2/src/soc_etm/ch44_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH44_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH44_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH44_TASK_ID` reader - ch44_task_id"] -pub type CH44_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH44_TASK_ID` writer - ch44_task_id"] -pub type CH44_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch44_task_id"] - #[inline(always)] - pub fn ch44_task_id(&self) -> CH44_TASK_ID_R { - CH44_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH44_TASK_ID") - .field( - "ch44_task_id", - &format_args!("{}", self.ch44_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch44_task_id"] - #[inline(always)] - #[must_use] - pub fn ch44_task_id(&mut self) -> CH44_TASK_ID_W { - CH44_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel44 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH44_TASK_ID_SPEC; -impl crate::RegisterSpec for CH44_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch44_task_id::R`](R) reader structure"] -impl crate::Readable for CH44_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch44_task_id::W`](W) writer structure"] -impl crate::Writable for CH44_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH44_TASK_ID to value 0"] -impl crate::Resettable for CH44_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch45_evt_id.rs b/esp32h2/src/soc_etm/ch45_evt_id.rs deleted file mode 100644 index febead20ed..0000000000 --- a/esp32h2/src/soc_etm/ch45_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH45_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH45_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH45_EVT_ID` reader - ch45_evt_id"] -pub type CH45_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH45_EVT_ID` writer - ch45_evt_id"] -pub type CH45_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch45_evt_id"] - #[inline(always)] - pub fn ch45_evt_id(&self) -> CH45_EVT_ID_R { - CH45_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH45_EVT_ID") - .field( - "ch45_evt_id", - &format_args!("{}", self.ch45_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch45_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch45_evt_id(&mut self) -> CH45_EVT_ID_W { - CH45_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel45 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH45_EVT_ID_SPEC; -impl crate::RegisterSpec for CH45_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch45_evt_id::R`](R) reader structure"] -impl crate::Readable for CH45_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch45_evt_id::W`](W) writer structure"] -impl crate::Writable for CH45_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH45_EVT_ID to value 0"] -impl crate::Resettable for CH45_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch45_task_id.rs b/esp32h2/src/soc_etm/ch45_task_id.rs deleted file mode 100644 index 3622e74f5a..0000000000 --- a/esp32h2/src/soc_etm/ch45_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH45_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH45_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH45_TASK_ID` reader - ch45_task_id"] -pub type CH45_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH45_TASK_ID` writer - ch45_task_id"] -pub type CH45_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch45_task_id"] - #[inline(always)] - pub fn ch45_task_id(&self) -> CH45_TASK_ID_R { - CH45_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH45_TASK_ID") - .field( - "ch45_task_id", - &format_args!("{}", self.ch45_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch45_task_id"] - #[inline(always)] - #[must_use] - pub fn ch45_task_id(&mut self) -> CH45_TASK_ID_W { - CH45_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel45 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH45_TASK_ID_SPEC; -impl crate::RegisterSpec for CH45_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch45_task_id::R`](R) reader structure"] -impl crate::Readable for CH45_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch45_task_id::W`](W) writer structure"] -impl crate::Writable for CH45_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH45_TASK_ID to value 0"] -impl crate::Resettable for CH45_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch46_evt_id.rs b/esp32h2/src/soc_etm/ch46_evt_id.rs deleted file mode 100644 index ec629d8eda..0000000000 --- a/esp32h2/src/soc_etm/ch46_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH46_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH46_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH46_EVT_ID` reader - ch46_evt_id"] -pub type CH46_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH46_EVT_ID` writer - ch46_evt_id"] -pub type CH46_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch46_evt_id"] - #[inline(always)] - pub fn ch46_evt_id(&self) -> CH46_EVT_ID_R { - CH46_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH46_EVT_ID") - .field( - "ch46_evt_id", - &format_args!("{}", self.ch46_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch46_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch46_evt_id(&mut self) -> CH46_EVT_ID_W { - CH46_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel46 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH46_EVT_ID_SPEC; -impl crate::RegisterSpec for CH46_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch46_evt_id::R`](R) reader structure"] -impl crate::Readable for CH46_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch46_evt_id::W`](W) writer structure"] -impl crate::Writable for CH46_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH46_EVT_ID to value 0"] -impl crate::Resettable for CH46_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch46_task_id.rs b/esp32h2/src/soc_etm/ch46_task_id.rs deleted file mode 100644 index efec1cfe1f..0000000000 --- a/esp32h2/src/soc_etm/ch46_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH46_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH46_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH46_TASK_ID` reader - ch46_task_id"] -pub type CH46_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH46_TASK_ID` writer - ch46_task_id"] -pub type CH46_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch46_task_id"] - #[inline(always)] - pub fn ch46_task_id(&self) -> CH46_TASK_ID_R { - CH46_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH46_TASK_ID") - .field( - "ch46_task_id", - &format_args!("{}", self.ch46_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch46_task_id"] - #[inline(always)] - #[must_use] - pub fn ch46_task_id(&mut self) -> CH46_TASK_ID_W { - CH46_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel46 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH46_TASK_ID_SPEC; -impl crate::RegisterSpec for CH46_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch46_task_id::R`](R) reader structure"] -impl crate::Readable for CH46_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch46_task_id::W`](W) writer structure"] -impl crate::Writable for CH46_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH46_TASK_ID to value 0"] -impl crate::Resettable for CH46_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch47_evt_id.rs b/esp32h2/src/soc_etm/ch47_evt_id.rs deleted file mode 100644 index 9911f4cafe..0000000000 --- a/esp32h2/src/soc_etm/ch47_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH47_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH47_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH47_EVT_ID` reader - ch47_evt_id"] -pub type CH47_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH47_EVT_ID` writer - ch47_evt_id"] -pub type CH47_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch47_evt_id"] - #[inline(always)] - pub fn ch47_evt_id(&self) -> CH47_EVT_ID_R { - CH47_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH47_EVT_ID") - .field( - "ch47_evt_id", - &format_args!("{}", self.ch47_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch47_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch47_evt_id(&mut self) -> CH47_EVT_ID_W { - CH47_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel47 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH47_EVT_ID_SPEC; -impl crate::RegisterSpec for CH47_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch47_evt_id::R`](R) reader structure"] -impl crate::Readable for CH47_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch47_evt_id::W`](W) writer structure"] -impl crate::Writable for CH47_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH47_EVT_ID to value 0"] -impl crate::Resettable for CH47_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch47_task_id.rs b/esp32h2/src/soc_etm/ch47_task_id.rs deleted file mode 100644 index 696579355a..0000000000 --- a/esp32h2/src/soc_etm/ch47_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH47_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH47_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH47_TASK_ID` reader - ch47_task_id"] -pub type CH47_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH47_TASK_ID` writer - ch47_task_id"] -pub type CH47_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch47_task_id"] - #[inline(always)] - pub fn ch47_task_id(&self) -> CH47_TASK_ID_R { - CH47_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH47_TASK_ID") - .field( - "ch47_task_id", - &format_args!("{}", self.ch47_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch47_task_id"] - #[inline(always)] - #[must_use] - pub fn ch47_task_id(&mut self) -> CH47_TASK_ID_W { - CH47_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel47 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH47_TASK_ID_SPEC; -impl crate::RegisterSpec for CH47_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch47_task_id::R`](R) reader structure"] -impl crate::Readable for CH47_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch47_task_id::W`](W) writer structure"] -impl crate::Writable for CH47_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH47_TASK_ID to value 0"] -impl crate::Resettable for CH47_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch48_evt_id.rs b/esp32h2/src/soc_etm/ch48_evt_id.rs deleted file mode 100644 index ec70967c46..0000000000 --- a/esp32h2/src/soc_etm/ch48_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH48_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH48_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH48_EVT_ID` reader - ch48_evt_id"] -pub type CH48_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH48_EVT_ID` writer - ch48_evt_id"] -pub type CH48_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch48_evt_id"] - #[inline(always)] - pub fn ch48_evt_id(&self) -> CH48_EVT_ID_R { - CH48_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH48_EVT_ID") - .field( - "ch48_evt_id", - &format_args!("{}", self.ch48_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch48_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch48_evt_id(&mut self) -> CH48_EVT_ID_W { - CH48_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel48 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH48_EVT_ID_SPEC; -impl crate::RegisterSpec for CH48_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch48_evt_id::R`](R) reader structure"] -impl crate::Readable for CH48_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch48_evt_id::W`](W) writer structure"] -impl crate::Writable for CH48_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH48_EVT_ID to value 0"] -impl crate::Resettable for CH48_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch48_task_id.rs b/esp32h2/src/soc_etm/ch48_task_id.rs deleted file mode 100644 index ddb21c8a9e..0000000000 --- a/esp32h2/src/soc_etm/ch48_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH48_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH48_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH48_TASK_ID` reader - ch48_task_id"] -pub type CH48_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH48_TASK_ID` writer - ch48_task_id"] -pub type CH48_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch48_task_id"] - #[inline(always)] - pub fn ch48_task_id(&self) -> CH48_TASK_ID_R { - CH48_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH48_TASK_ID") - .field( - "ch48_task_id", - &format_args!("{}", self.ch48_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch48_task_id"] - #[inline(always)] - #[must_use] - pub fn ch48_task_id(&mut self) -> CH48_TASK_ID_W { - CH48_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel48 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH48_TASK_ID_SPEC; -impl crate::RegisterSpec for CH48_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch48_task_id::R`](R) reader structure"] -impl crate::Readable for CH48_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch48_task_id::W`](W) writer structure"] -impl crate::Writable for CH48_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH48_TASK_ID to value 0"] -impl crate::Resettable for CH48_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch49_evt_id.rs b/esp32h2/src/soc_etm/ch49_evt_id.rs deleted file mode 100644 index 85315620ee..0000000000 --- a/esp32h2/src/soc_etm/ch49_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH49_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH49_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH49_EVT_ID` reader - ch49_evt_id"] -pub type CH49_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH49_EVT_ID` writer - ch49_evt_id"] -pub type CH49_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch49_evt_id"] - #[inline(always)] - pub fn ch49_evt_id(&self) -> CH49_EVT_ID_R { - CH49_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH49_EVT_ID") - .field( - "ch49_evt_id", - &format_args!("{}", self.ch49_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch49_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch49_evt_id(&mut self) -> CH49_EVT_ID_W { - CH49_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel49 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH49_EVT_ID_SPEC; -impl crate::RegisterSpec for CH49_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch49_evt_id::R`](R) reader structure"] -impl crate::Readable for CH49_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch49_evt_id::W`](W) writer structure"] -impl crate::Writable for CH49_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH49_EVT_ID to value 0"] -impl crate::Resettable for CH49_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch49_task_id.rs b/esp32h2/src/soc_etm/ch49_task_id.rs deleted file mode 100644 index 19f18754d2..0000000000 --- a/esp32h2/src/soc_etm/ch49_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH49_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH49_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH49_TASK_ID` reader - ch49_task_id"] -pub type CH49_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH49_TASK_ID` writer - ch49_task_id"] -pub type CH49_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch49_task_id"] - #[inline(always)] - pub fn ch49_task_id(&self) -> CH49_TASK_ID_R { - CH49_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH49_TASK_ID") - .field( - "ch49_task_id", - &format_args!("{}", self.ch49_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch49_task_id"] - #[inline(always)] - #[must_use] - pub fn ch49_task_id(&mut self) -> CH49_TASK_ID_W { - CH49_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel49 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH49_TASK_ID_SPEC; -impl crate::RegisterSpec for CH49_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch49_task_id::R`](R) reader structure"] -impl crate::Readable for CH49_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch49_task_id::W`](W) writer structure"] -impl crate::Writable for CH49_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH49_TASK_ID to value 0"] -impl crate::Resettable for CH49_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch4_evt_id.rs b/esp32h2/src/soc_etm/ch4_evt_id.rs deleted file mode 100644 index c1f7bfea7d..0000000000 --- a/esp32h2/src/soc_etm/ch4_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH4_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH4_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH4_EVT_ID` reader - ch4_evt_id"] -pub type CH4_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH4_EVT_ID` writer - ch4_evt_id"] -pub type CH4_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch4_evt_id"] - #[inline(always)] - pub fn ch4_evt_id(&self) -> CH4_EVT_ID_R { - CH4_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH4_EVT_ID") - .field("ch4_evt_id", &format_args!("{}", self.ch4_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch4_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch4_evt_id(&mut self) -> CH4_EVT_ID_W { - CH4_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel4 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH4_EVT_ID_SPEC; -impl crate::RegisterSpec for CH4_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch4_evt_id::R`](R) reader structure"] -impl crate::Readable for CH4_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch4_evt_id::W`](W) writer structure"] -impl crate::Writable for CH4_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH4_EVT_ID to value 0"] -impl crate::Resettable for CH4_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch4_task_id.rs b/esp32h2/src/soc_etm/ch4_task_id.rs deleted file mode 100644 index 5c710e4c46..0000000000 --- a/esp32h2/src/soc_etm/ch4_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH4_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH4_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH4_TASK_ID` reader - ch4_task_id"] -pub type CH4_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH4_TASK_ID` writer - ch4_task_id"] -pub type CH4_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch4_task_id"] - #[inline(always)] - pub fn ch4_task_id(&self) -> CH4_TASK_ID_R { - CH4_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH4_TASK_ID") - .field( - "ch4_task_id", - &format_args!("{}", self.ch4_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch4_task_id"] - #[inline(always)] - #[must_use] - pub fn ch4_task_id(&mut self) -> CH4_TASK_ID_W { - CH4_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel4 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH4_TASK_ID_SPEC; -impl crate::RegisterSpec for CH4_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch4_task_id::R`](R) reader structure"] -impl crate::Readable for CH4_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch4_task_id::W`](W) writer structure"] -impl crate::Writable for CH4_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH4_TASK_ID to value 0"] -impl crate::Resettable for CH4_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch5_evt_id.rs b/esp32h2/src/soc_etm/ch5_evt_id.rs deleted file mode 100644 index ebebe618a8..0000000000 --- a/esp32h2/src/soc_etm/ch5_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH5_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH5_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH5_EVT_ID` reader - ch5_evt_id"] -pub type CH5_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH5_EVT_ID` writer - ch5_evt_id"] -pub type CH5_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch5_evt_id"] - #[inline(always)] - pub fn ch5_evt_id(&self) -> CH5_EVT_ID_R { - CH5_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH5_EVT_ID") - .field("ch5_evt_id", &format_args!("{}", self.ch5_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch5_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch5_evt_id(&mut self) -> CH5_EVT_ID_W { - CH5_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel5 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH5_EVT_ID_SPEC; -impl crate::RegisterSpec for CH5_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch5_evt_id::R`](R) reader structure"] -impl crate::Readable for CH5_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch5_evt_id::W`](W) writer structure"] -impl crate::Writable for CH5_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH5_EVT_ID to value 0"] -impl crate::Resettable for CH5_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch5_task_id.rs b/esp32h2/src/soc_etm/ch5_task_id.rs deleted file mode 100644 index fd214a7b8c..0000000000 --- a/esp32h2/src/soc_etm/ch5_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH5_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH5_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH5_TASK_ID` reader - ch5_task_id"] -pub type CH5_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH5_TASK_ID` writer - ch5_task_id"] -pub type CH5_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch5_task_id"] - #[inline(always)] - pub fn ch5_task_id(&self) -> CH5_TASK_ID_R { - CH5_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH5_TASK_ID") - .field( - "ch5_task_id", - &format_args!("{}", self.ch5_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch5_task_id"] - #[inline(always)] - #[must_use] - pub fn ch5_task_id(&mut self) -> CH5_TASK_ID_W { - CH5_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel5 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH5_TASK_ID_SPEC; -impl crate::RegisterSpec for CH5_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch5_task_id::R`](R) reader structure"] -impl crate::Readable for CH5_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch5_task_id::W`](W) writer structure"] -impl crate::Writable for CH5_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH5_TASK_ID to value 0"] -impl crate::Resettable for CH5_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch6_evt_id.rs b/esp32h2/src/soc_etm/ch6_evt_id.rs deleted file mode 100644 index 240dc444fe..0000000000 --- a/esp32h2/src/soc_etm/ch6_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH6_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH6_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH6_EVT_ID` reader - ch6_evt_id"] -pub type CH6_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH6_EVT_ID` writer - ch6_evt_id"] -pub type CH6_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch6_evt_id"] - #[inline(always)] - pub fn ch6_evt_id(&self) -> CH6_EVT_ID_R { - CH6_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH6_EVT_ID") - .field("ch6_evt_id", &format_args!("{}", self.ch6_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch6_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch6_evt_id(&mut self) -> CH6_EVT_ID_W { - CH6_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel6 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH6_EVT_ID_SPEC; -impl crate::RegisterSpec for CH6_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch6_evt_id::R`](R) reader structure"] -impl crate::Readable for CH6_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch6_evt_id::W`](W) writer structure"] -impl crate::Writable for CH6_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH6_EVT_ID to value 0"] -impl crate::Resettable for CH6_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch6_task_id.rs b/esp32h2/src/soc_etm/ch6_task_id.rs deleted file mode 100644 index e22463d96b..0000000000 --- a/esp32h2/src/soc_etm/ch6_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH6_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH6_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH6_TASK_ID` reader - ch6_task_id"] -pub type CH6_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH6_TASK_ID` writer - ch6_task_id"] -pub type CH6_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch6_task_id"] - #[inline(always)] - pub fn ch6_task_id(&self) -> CH6_TASK_ID_R { - CH6_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH6_TASK_ID") - .field( - "ch6_task_id", - &format_args!("{}", self.ch6_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch6_task_id"] - #[inline(always)] - #[must_use] - pub fn ch6_task_id(&mut self) -> CH6_TASK_ID_W { - CH6_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel6 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH6_TASK_ID_SPEC; -impl crate::RegisterSpec for CH6_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch6_task_id::R`](R) reader structure"] -impl crate::Readable for CH6_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch6_task_id::W`](W) writer structure"] -impl crate::Writable for CH6_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH6_TASK_ID to value 0"] -impl crate::Resettable for CH6_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch7_evt_id.rs b/esp32h2/src/soc_etm/ch7_evt_id.rs deleted file mode 100644 index 7a261306f0..0000000000 --- a/esp32h2/src/soc_etm/ch7_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH7_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH7_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH7_EVT_ID` reader - ch7_evt_id"] -pub type CH7_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH7_EVT_ID` writer - ch7_evt_id"] -pub type CH7_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch7_evt_id"] - #[inline(always)] - pub fn ch7_evt_id(&self) -> CH7_EVT_ID_R { - CH7_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH7_EVT_ID") - .field("ch7_evt_id", &format_args!("{}", self.ch7_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch7_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch7_evt_id(&mut self) -> CH7_EVT_ID_W { - CH7_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel7 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH7_EVT_ID_SPEC; -impl crate::RegisterSpec for CH7_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch7_evt_id::R`](R) reader structure"] -impl crate::Readable for CH7_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch7_evt_id::W`](W) writer structure"] -impl crate::Writable for CH7_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH7_EVT_ID to value 0"] -impl crate::Resettable for CH7_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch7_task_id.rs b/esp32h2/src/soc_etm/ch7_task_id.rs deleted file mode 100644 index db157a3ca6..0000000000 --- a/esp32h2/src/soc_etm/ch7_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH7_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH7_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH7_TASK_ID` reader - ch7_task_id"] -pub type CH7_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH7_TASK_ID` writer - ch7_task_id"] -pub type CH7_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch7_task_id"] - #[inline(always)] - pub fn ch7_task_id(&self) -> CH7_TASK_ID_R { - CH7_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH7_TASK_ID") - .field( - "ch7_task_id", - &format_args!("{}", self.ch7_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch7_task_id"] - #[inline(always)] - #[must_use] - pub fn ch7_task_id(&mut self) -> CH7_TASK_ID_W { - CH7_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel7 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH7_TASK_ID_SPEC; -impl crate::RegisterSpec for CH7_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch7_task_id::R`](R) reader structure"] -impl crate::Readable for CH7_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch7_task_id::W`](W) writer structure"] -impl crate::Writable for CH7_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH7_TASK_ID to value 0"] -impl crate::Resettable for CH7_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch8_evt_id.rs b/esp32h2/src/soc_etm/ch8_evt_id.rs deleted file mode 100644 index a4e64b60ab..0000000000 --- a/esp32h2/src/soc_etm/ch8_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH8_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH8_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH8_EVT_ID` reader - ch8_evt_id"] -pub type CH8_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH8_EVT_ID` writer - ch8_evt_id"] -pub type CH8_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch8_evt_id"] - #[inline(always)] - pub fn ch8_evt_id(&self) -> CH8_EVT_ID_R { - CH8_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH8_EVT_ID") - .field("ch8_evt_id", &format_args!("{}", self.ch8_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch8_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch8_evt_id(&mut self) -> CH8_EVT_ID_W { - CH8_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel8 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH8_EVT_ID_SPEC; -impl crate::RegisterSpec for CH8_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch8_evt_id::R`](R) reader structure"] -impl crate::Readable for CH8_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch8_evt_id::W`](W) writer structure"] -impl crate::Writable for CH8_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH8_EVT_ID to value 0"] -impl crate::Resettable for CH8_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch8_task_id.rs b/esp32h2/src/soc_etm/ch8_task_id.rs deleted file mode 100644 index 55d210a12d..0000000000 --- a/esp32h2/src/soc_etm/ch8_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH8_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH8_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH8_TASK_ID` reader - ch8_task_id"] -pub type CH8_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH8_TASK_ID` writer - ch8_task_id"] -pub type CH8_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch8_task_id"] - #[inline(always)] - pub fn ch8_task_id(&self) -> CH8_TASK_ID_R { - CH8_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH8_TASK_ID") - .field( - "ch8_task_id", - &format_args!("{}", self.ch8_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch8_task_id"] - #[inline(always)] - #[must_use] - pub fn ch8_task_id(&mut self) -> CH8_TASK_ID_W { - CH8_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel8 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH8_TASK_ID_SPEC; -impl crate::RegisterSpec for CH8_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch8_task_id::R`](R) reader structure"] -impl crate::Readable for CH8_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch8_task_id::W`](W) writer structure"] -impl crate::Writable for CH8_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH8_TASK_ID to value 0"] -impl crate::Resettable for CH8_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch9_evt_id.rs b/esp32h2/src/soc_etm/ch9_evt_id.rs deleted file mode 100644 index 8a3d188c36..0000000000 --- a/esp32h2/src/soc_etm/ch9_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH9_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH9_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH9_EVT_ID` reader - ch9_evt_id"] -pub type CH9_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH9_EVT_ID` writer - ch9_evt_id"] -pub type CH9_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch9_evt_id"] - #[inline(always)] - pub fn ch9_evt_id(&self) -> CH9_EVT_ID_R { - CH9_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH9_EVT_ID") - .field("ch9_evt_id", &format_args!("{}", self.ch9_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch9_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch9_evt_id(&mut self) -> CH9_EVT_ID_W { - CH9_EVT_ID_W::new(self, 0) - } -} -#[doc = "channel9 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH9_EVT_ID_SPEC; -impl crate::RegisterSpec for CH9_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch9_evt_id::R`](R) reader structure"] -impl crate::Readable for CH9_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch9_evt_id::W`](W) writer structure"] -impl crate::Writable for CH9_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH9_EVT_ID to value 0"] -impl crate::Resettable for CH9_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch9_task_id.rs b/esp32h2/src/soc_etm/ch9_task_id.rs deleted file mode 100644 index 25c37c5565..0000000000 --- a/esp32h2/src/soc_etm/ch9_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH9_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH9_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH9_TASK_ID` reader - ch9_task_id"] -pub type CH9_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH9_TASK_ID` writer - ch9_task_id"] -pub type CH9_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - ch9_task_id"] - #[inline(always)] - pub fn ch9_task_id(&self) -> CH9_TASK_ID_R { - CH9_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH9_TASK_ID") - .field( - "ch9_task_id", - &format_args!("{}", self.ch9_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - ch9_task_id"] - #[inline(always)] - #[must_use] - pub fn ch9_task_id(&mut self) -> CH9_TASK_ID_W { - CH9_TASK_ID_W::new(self, 0) - } -} -#[doc = "channel9 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH9_TASK_ID_SPEC; -impl crate::RegisterSpec for CH9_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch9_task_id::R`](R) reader structure"] -impl crate::Readable for CH9_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch9_task_id::W`](W) writer structure"] -impl crate::Writable for CH9_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH9_TASK_ID to value 0"] -impl crate::Resettable for CH9_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32h2/src/soc_etm/ch_ena_ad0.rs b/esp32h2/src/soc_etm/ch_ena_ad0.rs index c9193fc6d1..562f39333c 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad0.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad0.rs @@ -2,294 +2,185 @@ pub type R = crate::R; #[doc = "Register `CH_ENA_AD0` writer"] pub type W = crate::W; -#[doc = "Field `CH_ENA0` reader - ch0 enable"] -pub type CH_ENA0_R = crate::BitReader; -#[doc = "Field `CH_ENA0` writer - ch0 enable"] -pub type CH_ENA0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA1` reader - ch1 enable"] -pub type CH_ENA1_R = crate::BitReader; -#[doc = "Field `CH_ENA1` writer - ch1 enable"] -pub type CH_ENA1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA2` reader - ch2 enable"] -pub type CH_ENA2_R = crate::BitReader; -#[doc = "Field `CH_ENA2` writer - ch2 enable"] -pub type CH_ENA2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA3` reader - ch3 enable"] -pub type CH_ENA3_R = crate::BitReader; -#[doc = "Field `CH_ENA3` writer - ch3 enable"] -pub type CH_ENA3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA4` reader - ch4 enable"] -pub type CH_ENA4_R = crate::BitReader; -#[doc = "Field `CH_ENA4` writer - ch4 enable"] -pub type CH_ENA4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA5` reader - ch5 enable"] -pub type CH_ENA5_R = crate::BitReader; -#[doc = "Field `CH_ENA5` writer - ch5 enable"] -pub type CH_ENA5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA6` reader - ch6 enable"] -pub type CH_ENA6_R = crate::BitReader; -#[doc = "Field `CH_ENA6` writer - ch6 enable"] -pub type CH_ENA6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA7` reader - ch7 enable"] -pub type CH_ENA7_R = crate::BitReader; -#[doc = "Field `CH_ENA7` writer - ch7 enable"] -pub type CH_ENA7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA8` reader - ch8 enable"] -pub type CH_ENA8_R = crate::BitReader; -#[doc = "Field `CH_ENA8` writer - ch8 enable"] -pub type CH_ENA8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA9` reader - ch9 enable"] -pub type CH_ENA9_R = crate::BitReader; -#[doc = "Field `CH_ENA9` writer - ch9 enable"] -pub type CH_ENA9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA10` reader - ch10 enable"] -pub type CH_ENA10_R = crate::BitReader; -#[doc = "Field `CH_ENA10` writer - ch10 enable"] -pub type CH_ENA10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA11` reader - ch11 enable"] -pub type CH_ENA11_R = crate::BitReader; -#[doc = "Field `CH_ENA11` writer - ch11 enable"] -pub type CH_ENA11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA12` reader - ch12 enable"] -pub type CH_ENA12_R = crate::BitReader; -#[doc = "Field `CH_ENA12` writer - ch12 enable"] -pub type CH_ENA12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA13` reader - ch13 enable"] -pub type CH_ENA13_R = crate::BitReader; -#[doc = "Field `CH_ENA13` writer - ch13 enable"] -pub type CH_ENA13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA14` reader - ch14 enable"] -pub type CH_ENA14_R = crate::BitReader; -#[doc = "Field `CH_ENA14` writer - ch14 enable"] -pub type CH_ENA14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA15` reader - ch15 enable"] -pub type CH_ENA15_R = crate::BitReader; -#[doc = "Field `CH_ENA15` writer - ch15 enable"] -pub type CH_ENA15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA16` reader - ch16 enable"] -pub type CH_ENA16_R = crate::BitReader; -#[doc = "Field `CH_ENA16` writer - ch16 enable"] -pub type CH_ENA16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA17` reader - ch17 enable"] -pub type CH_ENA17_R = crate::BitReader; -#[doc = "Field `CH_ENA17` writer - ch17 enable"] -pub type CH_ENA17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA18` reader - ch18 enable"] -pub type CH_ENA18_R = crate::BitReader; -#[doc = "Field `CH_ENA18` writer - ch18 enable"] -pub type CH_ENA18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA19` reader - ch19 enable"] -pub type CH_ENA19_R = crate::BitReader; -#[doc = "Field `CH_ENA19` writer - ch19 enable"] -pub type CH_ENA19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA20` reader - ch20 enable"] -pub type CH_ENA20_R = crate::BitReader; -#[doc = "Field `CH_ENA20` writer - ch20 enable"] -pub type CH_ENA20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA21` reader - ch21 enable"] -pub type CH_ENA21_R = crate::BitReader; -#[doc = "Field `CH_ENA21` writer - ch21 enable"] -pub type CH_ENA21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA22` reader - ch22 enable"] -pub type CH_ENA22_R = crate::BitReader; -#[doc = "Field `CH_ENA22` writer - ch22 enable"] -pub type CH_ENA22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA23` reader - ch23 enable"] -pub type CH_ENA23_R = crate::BitReader; -#[doc = "Field `CH_ENA23` writer - ch23 enable"] -pub type CH_ENA23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA24` reader - ch24 enable"] -pub type CH_ENA24_R = crate::BitReader; -#[doc = "Field `CH_ENA24` writer - ch24 enable"] -pub type CH_ENA24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA25` reader - ch25 enable"] -pub type CH_ENA25_R = crate::BitReader; -#[doc = "Field `CH_ENA25` writer - ch25 enable"] -pub type CH_ENA25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA26` reader - ch26 enable"] -pub type CH_ENA26_R = crate::BitReader; -#[doc = "Field `CH_ENA26` writer - ch26 enable"] -pub type CH_ENA26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA27` reader - ch27 enable"] -pub type CH_ENA27_R = crate::BitReader; -#[doc = "Field `CH_ENA27` writer - ch27 enable"] -pub type CH_ENA27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA28` reader - ch28 enable"] -pub type CH_ENA28_R = crate::BitReader; -#[doc = "Field `CH_ENA28` writer - ch28 enable"] -pub type CH_ENA28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA29` reader - ch29 enable"] -pub type CH_ENA29_R = crate::BitReader; -#[doc = "Field `CH_ENA29` writer - ch29 enable"] -pub type CH_ENA29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA30` reader - ch30 enable"] -pub type CH_ENA30_R = crate::BitReader; -#[doc = "Field `CH_ENA30` writer - ch30 enable"] -pub type CH_ENA30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA31` reader - ch31 enable"] -pub type CH_ENA31_R = crate::BitReader; -#[doc = "Field `CH_ENA31` writer - ch31 enable"] -pub type CH_ENA31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_ENA(0-31)` reader - ch%s enable"] +pub type CH_ENA_R = crate::BitReader; +#[doc = "Field `CH_ENA(0-31)` writer - ch%s enable"] +pub type CH_ENA_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { + #[doc = "ch(0-31) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field"] + #[inline(always)] + pub fn ch_ena(&self, n: u8) -> CH_ENA_R { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_ENA_R::new(((self.bits >> n) & 1) != 0) + } + #[doc = "Iterator for array of:"] + #[doc = "ch(0-31) enable"] + #[inline(always)] + pub fn ch_ena_iter(&self) -> impl Iterator + '_ { + (0..32).map(move |n| CH_ENA_R::new(((self.bits >> n) & 1) != 0)) + } #[doc = "Bit 0 - ch0 enable"] #[inline(always)] - pub fn ch_ena0(&self) -> CH_ENA0_R { - CH_ENA0_R::new((self.bits & 1) != 0) + pub fn ch_ena0(&self) -> CH_ENA_R { + CH_ENA_R::new((self.bits & 1) != 0) } #[doc = "Bit 1 - ch1 enable"] #[inline(always)] - pub fn ch_ena1(&self) -> CH_ENA1_R { - CH_ENA1_R::new(((self.bits >> 1) & 1) != 0) + pub fn ch_ena1(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 1) & 1) != 0) } #[doc = "Bit 2 - ch2 enable"] #[inline(always)] - pub fn ch_ena2(&self) -> CH_ENA2_R { - CH_ENA2_R::new(((self.bits >> 2) & 1) != 0) + pub fn ch_ena2(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 2) & 1) != 0) } #[doc = "Bit 3 - ch3 enable"] #[inline(always)] - pub fn ch_ena3(&self) -> CH_ENA3_R { - CH_ENA3_R::new(((self.bits >> 3) & 1) != 0) + pub fn ch_ena3(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 3) & 1) != 0) } #[doc = "Bit 4 - ch4 enable"] #[inline(always)] - pub fn ch_ena4(&self) -> CH_ENA4_R { - CH_ENA4_R::new(((self.bits >> 4) & 1) != 0) + pub fn ch_ena4(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 4) & 1) != 0) } #[doc = "Bit 5 - ch5 enable"] #[inline(always)] - pub fn ch_ena5(&self) -> CH_ENA5_R { - CH_ENA5_R::new(((self.bits >> 5) & 1) != 0) + pub fn ch_ena5(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 5) & 1) != 0) } #[doc = "Bit 6 - ch6 enable"] #[inline(always)] - pub fn ch_ena6(&self) -> CH_ENA6_R { - CH_ENA6_R::new(((self.bits >> 6) & 1) != 0) + pub fn ch_ena6(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 6) & 1) != 0) } #[doc = "Bit 7 - ch7 enable"] #[inline(always)] - pub fn ch_ena7(&self) -> CH_ENA7_R { - CH_ENA7_R::new(((self.bits >> 7) & 1) != 0) + pub fn ch_ena7(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 7) & 1) != 0) } #[doc = "Bit 8 - ch8 enable"] #[inline(always)] - pub fn ch_ena8(&self) -> CH_ENA8_R { - CH_ENA8_R::new(((self.bits >> 8) & 1) != 0) + pub fn ch_ena8(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 8) & 1) != 0) } #[doc = "Bit 9 - ch9 enable"] #[inline(always)] - pub fn ch_ena9(&self) -> CH_ENA9_R { - CH_ENA9_R::new(((self.bits >> 9) & 1) != 0) + pub fn ch_ena9(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 9) & 1) != 0) } #[doc = "Bit 10 - ch10 enable"] #[inline(always)] - pub fn ch_ena10(&self) -> CH_ENA10_R { - CH_ENA10_R::new(((self.bits >> 10) & 1) != 0) + pub fn ch_ena10(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 10) & 1) != 0) } #[doc = "Bit 11 - ch11 enable"] #[inline(always)] - pub fn ch_ena11(&self) -> CH_ENA11_R { - CH_ENA11_R::new(((self.bits >> 11) & 1) != 0) + pub fn ch_ena11(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 11) & 1) != 0) } #[doc = "Bit 12 - ch12 enable"] #[inline(always)] - pub fn ch_ena12(&self) -> CH_ENA12_R { - CH_ENA12_R::new(((self.bits >> 12) & 1) != 0) + pub fn ch_ena12(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 12) & 1) != 0) } #[doc = "Bit 13 - ch13 enable"] #[inline(always)] - pub fn ch_ena13(&self) -> CH_ENA13_R { - CH_ENA13_R::new(((self.bits >> 13) & 1) != 0) + pub fn ch_ena13(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 13) & 1) != 0) } #[doc = "Bit 14 - ch14 enable"] #[inline(always)] - pub fn ch_ena14(&self) -> CH_ENA14_R { - CH_ENA14_R::new(((self.bits >> 14) & 1) != 0) + pub fn ch_ena14(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 14) & 1) != 0) } #[doc = "Bit 15 - ch15 enable"] #[inline(always)] - pub fn ch_ena15(&self) -> CH_ENA15_R { - CH_ENA15_R::new(((self.bits >> 15) & 1) != 0) + pub fn ch_ena15(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 15) & 1) != 0) } #[doc = "Bit 16 - ch16 enable"] #[inline(always)] - pub fn ch_ena16(&self) -> CH_ENA16_R { - CH_ENA16_R::new(((self.bits >> 16) & 1) != 0) + pub fn ch_ena16(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 16) & 1) != 0) } #[doc = "Bit 17 - ch17 enable"] #[inline(always)] - pub fn ch_ena17(&self) -> CH_ENA17_R { - CH_ENA17_R::new(((self.bits >> 17) & 1) != 0) + pub fn ch_ena17(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 17) & 1) != 0) } #[doc = "Bit 18 - ch18 enable"] #[inline(always)] - pub fn ch_ena18(&self) -> CH_ENA18_R { - CH_ENA18_R::new(((self.bits >> 18) & 1) != 0) + pub fn ch_ena18(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 18) & 1) != 0) } #[doc = "Bit 19 - ch19 enable"] #[inline(always)] - pub fn ch_ena19(&self) -> CH_ENA19_R { - CH_ENA19_R::new(((self.bits >> 19) & 1) != 0) + pub fn ch_ena19(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 19) & 1) != 0) } #[doc = "Bit 20 - ch20 enable"] #[inline(always)] - pub fn ch_ena20(&self) -> CH_ENA20_R { - CH_ENA20_R::new(((self.bits >> 20) & 1) != 0) + pub fn ch_ena20(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 20) & 1) != 0) } #[doc = "Bit 21 - ch21 enable"] #[inline(always)] - pub fn ch_ena21(&self) -> CH_ENA21_R { - CH_ENA21_R::new(((self.bits >> 21) & 1) != 0) + pub fn ch_ena21(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 21) & 1) != 0) } #[doc = "Bit 22 - ch22 enable"] #[inline(always)] - pub fn ch_ena22(&self) -> CH_ENA22_R { - CH_ENA22_R::new(((self.bits >> 22) & 1) != 0) + pub fn ch_ena22(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 22) & 1) != 0) } #[doc = "Bit 23 - ch23 enable"] #[inline(always)] - pub fn ch_ena23(&self) -> CH_ENA23_R { - CH_ENA23_R::new(((self.bits >> 23) & 1) != 0) + pub fn ch_ena23(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 23) & 1) != 0) } #[doc = "Bit 24 - ch24 enable"] #[inline(always)] - pub fn ch_ena24(&self) -> CH_ENA24_R { - CH_ENA24_R::new(((self.bits >> 24) & 1) != 0) + pub fn ch_ena24(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 24) & 1) != 0) } #[doc = "Bit 25 - ch25 enable"] #[inline(always)] - pub fn ch_ena25(&self) -> CH_ENA25_R { - CH_ENA25_R::new(((self.bits >> 25) & 1) != 0) + pub fn ch_ena25(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 25) & 1) != 0) } #[doc = "Bit 26 - ch26 enable"] #[inline(always)] - pub fn ch_ena26(&self) -> CH_ENA26_R { - CH_ENA26_R::new(((self.bits >> 26) & 1) != 0) + pub fn ch_ena26(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 26) & 1) != 0) } #[doc = "Bit 27 - ch27 enable"] #[inline(always)] - pub fn ch_ena27(&self) -> CH_ENA27_R { - CH_ENA27_R::new(((self.bits >> 27) & 1) != 0) + pub fn ch_ena27(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 27) & 1) != 0) } #[doc = "Bit 28 - ch28 enable"] #[inline(always)] - pub fn ch_ena28(&self) -> CH_ENA28_R { - CH_ENA28_R::new(((self.bits >> 28) & 1) != 0) + pub fn ch_ena28(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 28) & 1) != 0) } #[doc = "Bit 29 - ch29 enable"] #[inline(always)] - pub fn ch_ena29(&self) -> CH_ENA29_R { - CH_ENA29_R::new(((self.bits >> 29) & 1) != 0) + pub fn ch_ena29(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 29) & 1) != 0) } #[doc = "Bit 30 - ch30 enable"] #[inline(always)] - pub fn ch_ena30(&self) -> CH_ENA30_R { - CH_ENA30_R::new(((self.bits >> 30) & 1) != 0) + pub fn ch_ena30(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 30) & 1) != 0) } #[doc = "Bit 31 - ch31 enable"] #[inline(always)] - pub fn ch_ena31(&self) -> CH_ENA31_R { - CH_ENA31_R::new(((self.bits >> 31) & 1) != 0) + pub fn ch_ena31(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 31) & 1) != 0) } } #[cfg(feature = "impl-register-debug")] @@ -338,197 +229,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(0-31) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field"] + #[inline(always)] + #[must_use] + pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_ENA_W::new(self, n) + } #[doc = "Bit 0 - ch0 enable"] #[inline(always)] #[must_use] - pub fn ch_ena0(&mut self) -> CH_ENA0_W { - CH_ENA0_W::new(self, 0) + pub fn ch_ena0(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch1 enable"] #[inline(always)] #[must_use] - pub fn ch_ena1(&mut self) -> CH_ENA1_W { - CH_ENA1_W::new(self, 1) + pub fn ch_ena1(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch2 enable"] #[inline(always)] #[must_use] - pub fn ch_ena2(&mut self) -> CH_ENA2_W { - CH_ENA2_W::new(self, 2) + pub fn ch_ena2(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch3 enable"] #[inline(always)] #[must_use] - pub fn ch_ena3(&mut self) -> CH_ENA3_W { - CH_ENA3_W::new(self, 3) + pub fn ch_ena3(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch4 enable"] #[inline(always)] #[must_use] - pub fn ch_ena4(&mut self) -> CH_ENA4_W { - CH_ENA4_W::new(self, 4) + pub fn ch_ena4(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch5 enable"] #[inline(always)] #[must_use] - pub fn ch_ena5(&mut self) -> CH_ENA5_W { - CH_ENA5_W::new(self, 5) + pub fn ch_ena5(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch6 enable"] #[inline(always)] #[must_use] - pub fn ch_ena6(&mut self) -> CH_ENA6_W { - CH_ENA6_W::new(self, 6) + pub fn ch_ena6(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch7 enable"] #[inline(always)] #[must_use] - pub fn ch_ena7(&mut self) -> CH_ENA7_W { - CH_ENA7_W::new(self, 7) + pub fn ch_ena7(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch8 enable"] #[inline(always)] #[must_use] - pub fn ch_ena8(&mut self) -> CH_ENA8_W { - CH_ENA8_W::new(self, 8) + pub fn ch_ena8(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch9 enable"] #[inline(always)] #[must_use] - pub fn ch_ena9(&mut self) -> CH_ENA9_W { - CH_ENA9_W::new(self, 9) + pub fn ch_ena9(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch10 enable"] #[inline(always)] #[must_use] - pub fn ch_ena10(&mut self) -> CH_ENA10_W { - CH_ENA10_W::new(self, 10) + pub fn ch_ena10(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch11 enable"] #[inline(always)] #[must_use] - pub fn ch_ena11(&mut self) -> CH_ENA11_W { - CH_ENA11_W::new(self, 11) + pub fn ch_ena11(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch12 enable"] #[inline(always)] #[must_use] - pub fn ch_ena12(&mut self) -> CH_ENA12_W { - CH_ENA12_W::new(self, 12) + pub fn ch_ena12(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch13 enable"] #[inline(always)] #[must_use] - pub fn ch_ena13(&mut self) -> CH_ENA13_W { - CH_ENA13_W::new(self, 13) + pub fn ch_ena13(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch14 enable"] #[inline(always)] #[must_use] - pub fn ch_ena14(&mut self) -> CH_ENA14_W { - CH_ENA14_W::new(self, 14) + pub fn ch_ena14(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch15 enable"] #[inline(always)] #[must_use] - pub fn ch_ena15(&mut self) -> CH_ENA15_W { - CH_ENA15_W::new(self, 15) + pub fn ch_ena15(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch16 enable"] #[inline(always)] #[must_use] - pub fn ch_ena16(&mut self) -> CH_ENA16_W { - CH_ENA16_W::new(self, 16) + pub fn ch_ena16(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch17 enable"] #[inline(always)] #[must_use] - pub fn ch_ena17(&mut self) -> CH_ENA17_W { - CH_ENA17_W::new(self, 17) + pub fn ch_ena17(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 17) } #[doc = "Bit 18 - ch18 enable"] #[inline(always)] #[must_use] - pub fn ch_ena18(&mut self) -> CH_ENA18_W { - CH_ENA18_W::new(self, 18) + pub fn ch_ena18(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 18) } #[doc = "Bit 19 - ch19 enable"] #[inline(always)] #[must_use] - pub fn ch_ena19(&mut self) -> CH_ENA19_W { - CH_ENA19_W::new(self, 19) + pub fn ch_ena19(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 19) } #[doc = "Bit 20 - ch20 enable"] #[inline(always)] #[must_use] - pub fn ch_ena20(&mut self) -> CH_ENA20_W { - CH_ENA20_W::new(self, 20) + pub fn ch_ena20(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 20) } #[doc = "Bit 21 - ch21 enable"] #[inline(always)] #[must_use] - pub fn ch_ena21(&mut self) -> CH_ENA21_W { - CH_ENA21_W::new(self, 21) + pub fn ch_ena21(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 21) } #[doc = "Bit 22 - ch22 enable"] #[inline(always)] #[must_use] - pub fn ch_ena22(&mut self) -> CH_ENA22_W { - CH_ENA22_W::new(self, 22) + pub fn ch_ena22(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 22) } #[doc = "Bit 23 - ch23 enable"] #[inline(always)] #[must_use] - pub fn ch_ena23(&mut self) -> CH_ENA23_W { - CH_ENA23_W::new(self, 23) + pub fn ch_ena23(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 23) } #[doc = "Bit 24 - ch24 enable"] #[inline(always)] #[must_use] - pub fn ch_ena24(&mut self) -> CH_ENA24_W { - CH_ENA24_W::new(self, 24) + pub fn ch_ena24(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 24) } #[doc = "Bit 25 - ch25 enable"] #[inline(always)] #[must_use] - pub fn ch_ena25(&mut self) -> CH_ENA25_W { - CH_ENA25_W::new(self, 25) + pub fn ch_ena25(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 25) } #[doc = "Bit 26 - ch26 enable"] #[inline(always)] #[must_use] - pub fn ch_ena26(&mut self) -> CH_ENA26_W { - CH_ENA26_W::new(self, 26) + pub fn ch_ena26(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 26) } #[doc = "Bit 27 - ch27 enable"] #[inline(always)] #[must_use] - pub fn ch_ena27(&mut self) -> CH_ENA27_W { - CH_ENA27_W::new(self, 27) + pub fn ch_ena27(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 27) } #[doc = "Bit 28 - ch28 enable"] #[inline(always)] #[must_use] - pub fn ch_ena28(&mut self) -> CH_ENA28_W { - CH_ENA28_W::new(self, 28) + pub fn ch_ena28(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 28) } #[doc = "Bit 29 - ch29 enable"] #[inline(always)] #[must_use] - pub fn ch_ena29(&mut self) -> CH_ENA29_W { - CH_ENA29_W::new(self, 29) + pub fn ch_ena29(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 29) } #[doc = "Bit 30 - ch30 enable"] #[inline(always)] #[must_use] - pub fn ch_ena30(&mut self) -> CH_ENA30_W { - CH_ENA30_W::new(self, 30) + pub fn ch_ena30(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 30) } #[doc = "Bit 31 - ch31 enable"] #[inline(always)] #[must_use] - pub fn ch_ena31(&mut self) -> CH_ENA31_W { - CH_ENA31_W::new(self, 31) + pub fn ch_ena31(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 31) } } #[doc = "channel enable register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_ena_ad0::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs b/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs index 865ac20829..5aca05c25e 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs @@ -1,69 +1,7 @@ #[doc = "Register `CH_ENA_AD0_CLR` writer"] pub type W = crate::W; -#[doc = "Field `CH_CLR0` writer - ch0 clear"] -pub type CH_CLR0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR1` writer - ch1 clear"] -pub type CH_CLR1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR2` writer - ch2 clear"] -pub type CH_CLR2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR3` writer - ch3 clear"] -pub type CH_CLR3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR4` writer - ch4 clear"] -pub type CH_CLR4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR5` writer - ch5 clear"] -pub type CH_CLR5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR6` writer - ch6 clear"] -pub type CH_CLR6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR7` writer - ch7 clear"] -pub type CH_CLR7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR8` writer - ch8 clear"] -pub type CH_CLR8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR9` writer - ch9 clear"] -pub type CH_CLR9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR10` writer - ch10 clear"] -pub type CH_CLR10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR11` writer - ch11 clear"] -pub type CH_CLR11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR12` writer - ch12 clear"] -pub type CH_CLR12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR13` writer - ch13 clear"] -pub type CH_CLR13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR14` writer - ch14 clear"] -pub type CH_CLR14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR15` writer - ch15 clear"] -pub type CH_CLR15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR16` writer - ch16 clear"] -pub type CH_CLR16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR17` writer - ch17 clear"] -pub type CH_CLR17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR18` writer - ch18 clear"] -pub type CH_CLR18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR19` writer - ch19 clear"] -pub type CH_CLR19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR20` writer - ch20 clear"] -pub type CH_CLR20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR21` writer - ch21 clear"] -pub type CH_CLR21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR22` writer - ch22 clear"] -pub type CH_CLR22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR23` writer - ch23 clear"] -pub type CH_CLR23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR24` writer - ch24 clear"] -pub type CH_CLR24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR25` writer - ch25 clear"] -pub type CH_CLR25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR26` writer - ch26 clear"] -pub type CH_CLR26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR27` writer - ch27 clear"] -pub type CH_CLR27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR28` writer - ch28 clear"] -pub type CH_CLR28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR29` writer - ch29 clear"] -pub type CH_CLR29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR30` writer - ch30 clear"] -pub type CH_CLR30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR31` writer - ch31 clear"] -pub type CH_CLR31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_CLR(0-31)` writer - ch%s clear"] +pub type CH_CLR_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -71,197 +9,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(0-31) clear"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_CLR0` field"] + #[inline(always)] + #[must_use] + pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_CLR_W::new(self, n) + } #[doc = "Bit 0 - ch0 clear"] #[inline(always)] #[must_use] - pub fn ch_clr0(&mut self) -> CH_CLR0_W { - CH_CLR0_W::new(self, 0) + pub fn ch_clr0(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch1 clear"] #[inline(always)] #[must_use] - pub fn ch_clr1(&mut self) -> CH_CLR1_W { - CH_CLR1_W::new(self, 1) + pub fn ch_clr1(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch2 clear"] #[inline(always)] #[must_use] - pub fn ch_clr2(&mut self) -> CH_CLR2_W { - CH_CLR2_W::new(self, 2) + pub fn ch_clr2(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch3 clear"] #[inline(always)] #[must_use] - pub fn ch_clr3(&mut self) -> CH_CLR3_W { - CH_CLR3_W::new(self, 3) + pub fn ch_clr3(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch4 clear"] #[inline(always)] #[must_use] - pub fn ch_clr4(&mut self) -> CH_CLR4_W { - CH_CLR4_W::new(self, 4) + pub fn ch_clr4(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch5 clear"] #[inline(always)] #[must_use] - pub fn ch_clr5(&mut self) -> CH_CLR5_W { - CH_CLR5_W::new(self, 5) + pub fn ch_clr5(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch6 clear"] #[inline(always)] #[must_use] - pub fn ch_clr6(&mut self) -> CH_CLR6_W { - CH_CLR6_W::new(self, 6) + pub fn ch_clr6(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch7 clear"] #[inline(always)] #[must_use] - pub fn ch_clr7(&mut self) -> CH_CLR7_W { - CH_CLR7_W::new(self, 7) + pub fn ch_clr7(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch8 clear"] #[inline(always)] #[must_use] - pub fn ch_clr8(&mut self) -> CH_CLR8_W { - CH_CLR8_W::new(self, 8) + pub fn ch_clr8(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch9 clear"] #[inline(always)] #[must_use] - pub fn ch_clr9(&mut self) -> CH_CLR9_W { - CH_CLR9_W::new(self, 9) + pub fn ch_clr9(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch10 clear"] #[inline(always)] #[must_use] - pub fn ch_clr10(&mut self) -> CH_CLR10_W { - CH_CLR10_W::new(self, 10) + pub fn ch_clr10(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch11 clear"] #[inline(always)] #[must_use] - pub fn ch_clr11(&mut self) -> CH_CLR11_W { - CH_CLR11_W::new(self, 11) + pub fn ch_clr11(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch12 clear"] #[inline(always)] #[must_use] - pub fn ch_clr12(&mut self) -> CH_CLR12_W { - CH_CLR12_W::new(self, 12) + pub fn ch_clr12(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch13 clear"] #[inline(always)] #[must_use] - pub fn ch_clr13(&mut self) -> CH_CLR13_W { - CH_CLR13_W::new(self, 13) + pub fn ch_clr13(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch14 clear"] #[inline(always)] #[must_use] - pub fn ch_clr14(&mut self) -> CH_CLR14_W { - CH_CLR14_W::new(self, 14) + pub fn ch_clr14(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch15 clear"] #[inline(always)] #[must_use] - pub fn ch_clr15(&mut self) -> CH_CLR15_W { - CH_CLR15_W::new(self, 15) + pub fn ch_clr15(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch16 clear"] #[inline(always)] #[must_use] - pub fn ch_clr16(&mut self) -> CH_CLR16_W { - CH_CLR16_W::new(self, 16) + pub fn ch_clr16(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch17 clear"] #[inline(always)] #[must_use] - pub fn ch_clr17(&mut self) -> CH_CLR17_W { - CH_CLR17_W::new(self, 17) + pub fn ch_clr17(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 17) } #[doc = "Bit 18 - ch18 clear"] #[inline(always)] #[must_use] - pub fn ch_clr18(&mut self) -> CH_CLR18_W { - CH_CLR18_W::new(self, 18) + pub fn ch_clr18(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 18) } #[doc = "Bit 19 - ch19 clear"] #[inline(always)] #[must_use] - pub fn ch_clr19(&mut self) -> CH_CLR19_W { - CH_CLR19_W::new(self, 19) + pub fn ch_clr19(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 19) } #[doc = "Bit 20 - ch20 clear"] #[inline(always)] #[must_use] - pub fn ch_clr20(&mut self) -> CH_CLR20_W { - CH_CLR20_W::new(self, 20) + pub fn ch_clr20(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 20) } #[doc = "Bit 21 - ch21 clear"] #[inline(always)] #[must_use] - pub fn ch_clr21(&mut self) -> CH_CLR21_W { - CH_CLR21_W::new(self, 21) + pub fn ch_clr21(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 21) } #[doc = "Bit 22 - ch22 clear"] #[inline(always)] #[must_use] - pub fn ch_clr22(&mut self) -> CH_CLR22_W { - CH_CLR22_W::new(self, 22) + pub fn ch_clr22(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 22) } #[doc = "Bit 23 - ch23 clear"] #[inline(always)] #[must_use] - pub fn ch_clr23(&mut self) -> CH_CLR23_W { - CH_CLR23_W::new(self, 23) + pub fn ch_clr23(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 23) } #[doc = "Bit 24 - ch24 clear"] #[inline(always)] #[must_use] - pub fn ch_clr24(&mut self) -> CH_CLR24_W { - CH_CLR24_W::new(self, 24) + pub fn ch_clr24(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 24) } #[doc = "Bit 25 - ch25 clear"] #[inline(always)] #[must_use] - pub fn ch_clr25(&mut self) -> CH_CLR25_W { - CH_CLR25_W::new(self, 25) + pub fn ch_clr25(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 25) } #[doc = "Bit 26 - ch26 clear"] #[inline(always)] #[must_use] - pub fn ch_clr26(&mut self) -> CH_CLR26_W { - CH_CLR26_W::new(self, 26) + pub fn ch_clr26(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 26) } #[doc = "Bit 27 - ch27 clear"] #[inline(always)] #[must_use] - pub fn ch_clr27(&mut self) -> CH_CLR27_W { - CH_CLR27_W::new(self, 27) + pub fn ch_clr27(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 27) } #[doc = "Bit 28 - ch28 clear"] #[inline(always)] #[must_use] - pub fn ch_clr28(&mut self) -> CH_CLR28_W { - CH_CLR28_W::new(self, 28) + pub fn ch_clr28(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 28) } #[doc = "Bit 29 - ch29 clear"] #[inline(always)] #[must_use] - pub fn ch_clr29(&mut self) -> CH_CLR29_W { - CH_CLR29_W::new(self, 29) + pub fn ch_clr29(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 29) } #[doc = "Bit 30 - ch30 clear"] #[inline(always)] #[must_use] - pub fn ch_clr30(&mut self) -> CH_CLR30_W { - CH_CLR30_W::new(self, 30) + pub fn ch_clr30(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 30) } #[doc = "Bit 31 - ch31 clear"] #[inline(always)] #[must_use] - pub fn ch_clr31(&mut self) -> CH_CLR31_W { - CH_CLR31_W::new(self, 31) + pub fn ch_clr31(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 31) } } #[doc = "channel enable clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32h2/src/soc_etm/ch_ena_ad0_set.rs b/esp32h2/src/soc_etm/ch_ena_ad0_set.rs index d1967a18fa..1710af5c86 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad0_set.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad0_set.rs @@ -1,69 +1,7 @@ #[doc = "Register `CH_ENA_AD0_SET` writer"] pub type W = crate::W; -#[doc = "Field `CH_SET0` writer - ch0 set"] -pub type CH_SET0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET1` writer - ch1 set"] -pub type CH_SET1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET2` writer - ch2 set"] -pub type CH_SET2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET3` writer - ch3 set"] -pub type CH_SET3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET4` writer - ch4 set"] -pub type CH_SET4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET5` writer - ch5 set"] -pub type CH_SET5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET6` writer - ch6 set"] -pub type CH_SET6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET7` writer - ch7 set"] -pub type CH_SET7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET8` writer - ch8 set"] -pub type CH_SET8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET9` writer - ch9 set"] -pub type CH_SET9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET10` writer - ch10 set"] -pub type CH_SET10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET11` writer - ch11 set"] -pub type CH_SET11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET12` writer - ch12 set"] -pub type CH_SET12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET13` writer - ch13 set"] -pub type CH_SET13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET14` writer - ch14 set"] -pub type CH_SET14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET15` writer - ch15 set"] -pub type CH_SET15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET16` writer - ch16 set"] -pub type CH_SET16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET17` writer - ch17 set"] -pub type CH_SET17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET18` writer - ch18 set"] -pub type CH_SET18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET19` writer - ch19 set"] -pub type CH_SET19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET20` writer - ch20 set"] -pub type CH_SET20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET21` writer - ch21 set"] -pub type CH_SET21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET22` writer - ch22 set"] -pub type CH_SET22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET23` writer - ch23 set"] -pub type CH_SET23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET24` writer - ch24 set"] -pub type CH_SET24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET25` writer - ch25 set"] -pub type CH_SET25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET26` writer - ch26 set"] -pub type CH_SET26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET27` writer - ch27 set"] -pub type CH_SET27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET28` writer - ch28 set"] -pub type CH_SET28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET29` writer - ch29 set"] -pub type CH_SET29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET30` writer - ch30 set"] -pub type CH_SET30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET31` writer - ch31 set"] -pub type CH_SET31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_SET(0-31)` writer - ch%s set"] +pub type CH_SET_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -71,197 +9,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(0-31) set"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_SET0` field"] + #[inline(always)] + #[must_use] + pub fn ch_set(&mut self, n: u8) -> CH_SET_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_SET_W::new(self, n) + } #[doc = "Bit 0 - ch0 set"] #[inline(always)] #[must_use] - pub fn ch_set0(&mut self) -> CH_SET0_W { - CH_SET0_W::new(self, 0) + pub fn ch_set0(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch1 set"] #[inline(always)] #[must_use] - pub fn ch_set1(&mut self) -> CH_SET1_W { - CH_SET1_W::new(self, 1) + pub fn ch_set1(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch2 set"] #[inline(always)] #[must_use] - pub fn ch_set2(&mut self) -> CH_SET2_W { - CH_SET2_W::new(self, 2) + pub fn ch_set2(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch3 set"] #[inline(always)] #[must_use] - pub fn ch_set3(&mut self) -> CH_SET3_W { - CH_SET3_W::new(self, 3) + pub fn ch_set3(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch4 set"] #[inline(always)] #[must_use] - pub fn ch_set4(&mut self) -> CH_SET4_W { - CH_SET4_W::new(self, 4) + pub fn ch_set4(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch5 set"] #[inline(always)] #[must_use] - pub fn ch_set5(&mut self) -> CH_SET5_W { - CH_SET5_W::new(self, 5) + pub fn ch_set5(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch6 set"] #[inline(always)] #[must_use] - pub fn ch_set6(&mut self) -> CH_SET6_W { - CH_SET6_W::new(self, 6) + pub fn ch_set6(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch7 set"] #[inline(always)] #[must_use] - pub fn ch_set7(&mut self) -> CH_SET7_W { - CH_SET7_W::new(self, 7) + pub fn ch_set7(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch8 set"] #[inline(always)] #[must_use] - pub fn ch_set8(&mut self) -> CH_SET8_W { - CH_SET8_W::new(self, 8) + pub fn ch_set8(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch9 set"] #[inline(always)] #[must_use] - pub fn ch_set9(&mut self) -> CH_SET9_W { - CH_SET9_W::new(self, 9) + pub fn ch_set9(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch10 set"] #[inline(always)] #[must_use] - pub fn ch_set10(&mut self) -> CH_SET10_W { - CH_SET10_W::new(self, 10) + pub fn ch_set10(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch11 set"] #[inline(always)] #[must_use] - pub fn ch_set11(&mut self) -> CH_SET11_W { - CH_SET11_W::new(self, 11) + pub fn ch_set11(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch12 set"] #[inline(always)] #[must_use] - pub fn ch_set12(&mut self) -> CH_SET12_W { - CH_SET12_W::new(self, 12) + pub fn ch_set12(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch13 set"] #[inline(always)] #[must_use] - pub fn ch_set13(&mut self) -> CH_SET13_W { - CH_SET13_W::new(self, 13) + pub fn ch_set13(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch14 set"] #[inline(always)] #[must_use] - pub fn ch_set14(&mut self) -> CH_SET14_W { - CH_SET14_W::new(self, 14) + pub fn ch_set14(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch15 set"] #[inline(always)] #[must_use] - pub fn ch_set15(&mut self) -> CH_SET15_W { - CH_SET15_W::new(self, 15) + pub fn ch_set15(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch16 set"] #[inline(always)] #[must_use] - pub fn ch_set16(&mut self) -> CH_SET16_W { - CH_SET16_W::new(self, 16) + pub fn ch_set16(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch17 set"] #[inline(always)] #[must_use] - pub fn ch_set17(&mut self) -> CH_SET17_W { - CH_SET17_W::new(self, 17) + pub fn ch_set17(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 17) } #[doc = "Bit 18 - ch18 set"] #[inline(always)] #[must_use] - pub fn ch_set18(&mut self) -> CH_SET18_W { - CH_SET18_W::new(self, 18) + pub fn ch_set18(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 18) } #[doc = "Bit 19 - ch19 set"] #[inline(always)] #[must_use] - pub fn ch_set19(&mut self) -> CH_SET19_W { - CH_SET19_W::new(self, 19) + pub fn ch_set19(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 19) } #[doc = "Bit 20 - ch20 set"] #[inline(always)] #[must_use] - pub fn ch_set20(&mut self) -> CH_SET20_W { - CH_SET20_W::new(self, 20) + pub fn ch_set20(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 20) } #[doc = "Bit 21 - ch21 set"] #[inline(always)] #[must_use] - pub fn ch_set21(&mut self) -> CH_SET21_W { - CH_SET21_W::new(self, 21) + pub fn ch_set21(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 21) } #[doc = "Bit 22 - ch22 set"] #[inline(always)] #[must_use] - pub fn ch_set22(&mut self) -> CH_SET22_W { - CH_SET22_W::new(self, 22) + pub fn ch_set22(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 22) } #[doc = "Bit 23 - ch23 set"] #[inline(always)] #[must_use] - pub fn ch_set23(&mut self) -> CH_SET23_W { - CH_SET23_W::new(self, 23) + pub fn ch_set23(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 23) } #[doc = "Bit 24 - ch24 set"] #[inline(always)] #[must_use] - pub fn ch_set24(&mut self) -> CH_SET24_W { - CH_SET24_W::new(self, 24) + pub fn ch_set24(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 24) } #[doc = "Bit 25 - ch25 set"] #[inline(always)] #[must_use] - pub fn ch_set25(&mut self) -> CH_SET25_W { - CH_SET25_W::new(self, 25) + pub fn ch_set25(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 25) } #[doc = "Bit 26 - ch26 set"] #[inline(always)] #[must_use] - pub fn ch_set26(&mut self) -> CH_SET26_W { - CH_SET26_W::new(self, 26) + pub fn ch_set26(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 26) } #[doc = "Bit 27 - ch27 set"] #[inline(always)] #[must_use] - pub fn ch_set27(&mut self) -> CH_SET27_W { - CH_SET27_W::new(self, 27) + pub fn ch_set27(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 27) } #[doc = "Bit 28 - ch28 set"] #[inline(always)] #[must_use] - pub fn ch_set28(&mut self) -> CH_SET28_W { - CH_SET28_W::new(self, 28) + pub fn ch_set28(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 28) } #[doc = "Bit 29 - ch29 set"] #[inline(always)] #[must_use] - pub fn ch_set29(&mut self) -> CH_SET29_W { - CH_SET29_W::new(self, 29) + pub fn ch_set29(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 29) } #[doc = "Bit 30 - ch30 set"] #[inline(always)] #[must_use] - pub fn ch_set30(&mut self) -> CH_SET30_W { - CH_SET30_W::new(self, 30) + pub fn ch_set30(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 30) } #[doc = "Bit 31 - ch31 set"] #[inline(always)] #[must_use] - pub fn ch_set31(&mut self) -> CH_SET31_W { - CH_SET31_W::new(self, 31) + pub fn ch_set31(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 31) } } #[doc = "channel enable set register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0_set::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32h2/src/soc_etm/ch_ena_ad1.rs b/esp32h2/src/soc_etm/ch_ena_ad1.rs index 0947e162bd..81e2dc0d87 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad1.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad1.rs @@ -2,168 +2,115 @@ pub type R = crate::R; #[doc = "Register `CH_ENA_AD1` writer"] pub type W = crate::W; -#[doc = "Field `CH_ENA32` reader - ch32 enable"] -pub type CH_ENA32_R = crate::BitReader; -#[doc = "Field `CH_ENA32` writer - ch32 enable"] -pub type CH_ENA32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA33` reader - ch33 enable"] -pub type CH_ENA33_R = crate::BitReader; -#[doc = "Field `CH_ENA33` writer - ch33 enable"] -pub type CH_ENA33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA34` reader - ch34 enable"] -pub type CH_ENA34_R = crate::BitReader; -#[doc = "Field `CH_ENA34` writer - ch34 enable"] -pub type CH_ENA34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA35` reader - ch35 enable"] -pub type CH_ENA35_R = crate::BitReader; -#[doc = "Field `CH_ENA35` writer - ch35 enable"] -pub type CH_ENA35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA36` reader - ch36 enable"] -pub type CH_ENA36_R = crate::BitReader; -#[doc = "Field `CH_ENA36` writer - ch36 enable"] -pub type CH_ENA36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA37` reader - ch37 enable"] -pub type CH_ENA37_R = crate::BitReader; -#[doc = "Field `CH_ENA37` writer - ch37 enable"] -pub type CH_ENA37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA38` reader - ch38 enable"] -pub type CH_ENA38_R = crate::BitReader; -#[doc = "Field `CH_ENA38` writer - ch38 enable"] -pub type CH_ENA38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA39` reader - ch39 enable"] -pub type CH_ENA39_R = crate::BitReader; -#[doc = "Field `CH_ENA39` writer - ch39 enable"] -pub type CH_ENA39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA40` reader - ch40 enable"] -pub type CH_ENA40_R = crate::BitReader; -#[doc = "Field `CH_ENA40` writer - ch40 enable"] -pub type CH_ENA40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA41` reader - ch41 enable"] -pub type CH_ENA41_R = crate::BitReader; -#[doc = "Field `CH_ENA41` writer - ch41 enable"] -pub type CH_ENA41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA42` reader - ch42 enable"] -pub type CH_ENA42_R = crate::BitReader; -#[doc = "Field `CH_ENA42` writer - ch42 enable"] -pub type CH_ENA42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA43` reader - ch43 enable"] -pub type CH_ENA43_R = crate::BitReader; -#[doc = "Field `CH_ENA43` writer - ch43 enable"] -pub type CH_ENA43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA44` reader - ch44 enable"] -pub type CH_ENA44_R = crate::BitReader; -#[doc = "Field `CH_ENA44` writer - ch44 enable"] -pub type CH_ENA44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA45` reader - ch45 enable"] -pub type CH_ENA45_R = crate::BitReader; -#[doc = "Field `CH_ENA45` writer - ch45 enable"] -pub type CH_ENA45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA46` reader - ch46 enable"] -pub type CH_ENA46_R = crate::BitReader; -#[doc = "Field `CH_ENA46` writer - ch46 enable"] -pub type CH_ENA46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA47` reader - ch47 enable"] -pub type CH_ENA47_R = crate::BitReader; -#[doc = "Field `CH_ENA47` writer - ch47 enable"] -pub type CH_ENA47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA48` reader - ch48 enable"] -pub type CH_ENA48_R = crate::BitReader; -#[doc = "Field `CH_ENA48` writer - ch48 enable"] -pub type CH_ENA48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA49` reader - ch49 enable"] -pub type CH_ENA49_R = crate::BitReader; -#[doc = "Field `CH_ENA49` writer - ch49 enable"] -pub type CH_ENA49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_ENA(32-49)` reader - ch%s enable"] +pub type CH_ENA_R = crate::BitReader; +#[doc = "Field `CH_ENA(32-49)` writer - ch%s enable"] +pub type CH_ENA_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { + #[doc = "ch(32-49) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field"] + #[inline(always)] + pub fn ch_ena(&self, n: u8) -> CH_ENA_R { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_ENA_R::new(((self.bits >> n) & 1) != 0) + } + #[doc = "Iterator for array of:"] + #[doc = "ch(32-49) enable"] + #[inline(always)] + pub fn ch_ena_iter(&self) -> impl Iterator + '_ { + (0..18).map(move |n| CH_ENA_R::new(((self.bits >> n) & 1) != 0)) + } #[doc = "Bit 0 - ch32 enable"] #[inline(always)] - pub fn ch_ena32(&self) -> CH_ENA32_R { - CH_ENA32_R::new((self.bits & 1) != 0) + pub fn ch_ena32(&self) -> CH_ENA_R { + CH_ENA_R::new((self.bits & 1) != 0) } #[doc = "Bit 1 - ch33 enable"] #[inline(always)] - pub fn ch_ena33(&self) -> CH_ENA33_R { - CH_ENA33_R::new(((self.bits >> 1) & 1) != 0) + pub fn ch_ena33(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 1) & 1) != 0) } #[doc = "Bit 2 - ch34 enable"] #[inline(always)] - pub fn ch_ena34(&self) -> CH_ENA34_R { - CH_ENA34_R::new(((self.bits >> 2) & 1) != 0) + pub fn ch_ena34(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 2) & 1) != 0) } #[doc = "Bit 3 - ch35 enable"] #[inline(always)] - pub fn ch_ena35(&self) -> CH_ENA35_R { - CH_ENA35_R::new(((self.bits >> 3) & 1) != 0) + pub fn ch_ena35(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 3) & 1) != 0) } #[doc = "Bit 4 - ch36 enable"] #[inline(always)] - pub fn ch_ena36(&self) -> CH_ENA36_R { - CH_ENA36_R::new(((self.bits >> 4) & 1) != 0) + pub fn ch_ena36(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 4) & 1) != 0) } #[doc = "Bit 5 - ch37 enable"] #[inline(always)] - pub fn ch_ena37(&self) -> CH_ENA37_R { - CH_ENA37_R::new(((self.bits >> 5) & 1) != 0) + pub fn ch_ena37(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 5) & 1) != 0) } #[doc = "Bit 6 - ch38 enable"] #[inline(always)] - pub fn ch_ena38(&self) -> CH_ENA38_R { - CH_ENA38_R::new(((self.bits >> 6) & 1) != 0) + pub fn ch_ena38(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 6) & 1) != 0) } #[doc = "Bit 7 - ch39 enable"] #[inline(always)] - pub fn ch_ena39(&self) -> CH_ENA39_R { - CH_ENA39_R::new(((self.bits >> 7) & 1) != 0) + pub fn ch_ena39(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 7) & 1) != 0) } #[doc = "Bit 8 - ch40 enable"] #[inline(always)] - pub fn ch_ena40(&self) -> CH_ENA40_R { - CH_ENA40_R::new(((self.bits >> 8) & 1) != 0) + pub fn ch_ena40(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 8) & 1) != 0) } #[doc = "Bit 9 - ch41 enable"] #[inline(always)] - pub fn ch_ena41(&self) -> CH_ENA41_R { - CH_ENA41_R::new(((self.bits >> 9) & 1) != 0) + pub fn ch_ena41(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 9) & 1) != 0) } #[doc = "Bit 10 - ch42 enable"] #[inline(always)] - pub fn ch_ena42(&self) -> CH_ENA42_R { - CH_ENA42_R::new(((self.bits >> 10) & 1) != 0) + pub fn ch_ena42(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 10) & 1) != 0) } #[doc = "Bit 11 - ch43 enable"] #[inline(always)] - pub fn ch_ena43(&self) -> CH_ENA43_R { - CH_ENA43_R::new(((self.bits >> 11) & 1) != 0) + pub fn ch_ena43(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 11) & 1) != 0) } #[doc = "Bit 12 - ch44 enable"] #[inline(always)] - pub fn ch_ena44(&self) -> CH_ENA44_R { - CH_ENA44_R::new(((self.bits >> 12) & 1) != 0) + pub fn ch_ena44(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 12) & 1) != 0) } #[doc = "Bit 13 - ch45 enable"] #[inline(always)] - pub fn ch_ena45(&self) -> CH_ENA45_R { - CH_ENA45_R::new(((self.bits >> 13) & 1) != 0) + pub fn ch_ena45(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 13) & 1) != 0) } #[doc = "Bit 14 - ch46 enable"] #[inline(always)] - pub fn ch_ena46(&self) -> CH_ENA46_R { - CH_ENA46_R::new(((self.bits >> 14) & 1) != 0) + pub fn ch_ena46(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 14) & 1) != 0) } #[doc = "Bit 15 - ch47 enable"] #[inline(always)] - pub fn ch_ena47(&self) -> CH_ENA47_R { - CH_ENA47_R::new(((self.bits >> 15) & 1) != 0) + pub fn ch_ena47(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 15) & 1) != 0) } #[doc = "Bit 16 - ch48 enable"] #[inline(always)] - pub fn ch_ena48(&self) -> CH_ENA48_R { - CH_ENA48_R::new(((self.bits >> 16) & 1) != 0) + pub fn ch_ena48(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 16) & 1) != 0) } #[doc = "Bit 17 - ch49 enable"] #[inline(always)] - pub fn ch_ena49(&self) -> CH_ENA49_R { - CH_ENA49_R::new(((self.bits >> 17) & 1) != 0) + pub fn ch_ena49(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 17) & 1) != 0) } } #[cfg(feature = "impl-register-debug")] @@ -198,113 +145,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(32-49) enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field"] + #[inline(always)] + #[must_use] + pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_ENA_W::new(self, n) + } #[doc = "Bit 0 - ch32 enable"] #[inline(always)] #[must_use] - pub fn ch_ena32(&mut self) -> CH_ENA32_W { - CH_ENA32_W::new(self, 0) + pub fn ch_ena32(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch33 enable"] #[inline(always)] #[must_use] - pub fn ch_ena33(&mut self) -> CH_ENA33_W { - CH_ENA33_W::new(self, 1) + pub fn ch_ena33(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch34 enable"] #[inline(always)] #[must_use] - pub fn ch_ena34(&mut self) -> CH_ENA34_W { - CH_ENA34_W::new(self, 2) + pub fn ch_ena34(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch35 enable"] #[inline(always)] #[must_use] - pub fn ch_ena35(&mut self) -> CH_ENA35_W { - CH_ENA35_W::new(self, 3) + pub fn ch_ena35(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch36 enable"] #[inline(always)] #[must_use] - pub fn ch_ena36(&mut self) -> CH_ENA36_W { - CH_ENA36_W::new(self, 4) + pub fn ch_ena36(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch37 enable"] #[inline(always)] #[must_use] - pub fn ch_ena37(&mut self) -> CH_ENA37_W { - CH_ENA37_W::new(self, 5) + pub fn ch_ena37(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch38 enable"] #[inline(always)] #[must_use] - pub fn ch_ena38(&mut self) -> CH_ENA38_W { - CH_ENA38_W::new(self, 6) + pub fn ch_ena38(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch39 enable"] #[inline(always)] #[must_use] - pub fn ch_ena39(&mut self) -> CH_ENA39_W { - CH_ENA39_W::new(self, 7) + pub fn ch_ena39(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch40 enable"] #[inline(always)] #[must_use] - pub fn ch_ena40(&mut self) -> CH_ENA40_W { - CH_ENA40_W::new(self, 8) + pub fn ch_ena40(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch41 enable"] #[inline(always)] #[must_use] - pub fn ch_ena41(&mut self) -> CH_ENA41_W { - CH_ENA41_W::new(self, 9) + pub fn ch_ena41(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch42 enable"] #[inline(always)] #[must_use] - pub fn ch_ena42(&mut self) -> CH_ENA42_W { - CH_ENA42_W::new(self, 10) + pub fn ch_ena42(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch43 enable"] #[inline(always)] #[must_use] - pub fn ch_ena43(&mut self) -> CH_ENA43_W { - CH_ENA43_W::new(self, 11) + pub fn ch_ena43(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch44 enable"] #[inline(always)] #[must_use] - pub fn ch_ena44(&mut self) -> CH_ENA44_W { - CH_ENA44_W::new(self, 12) + pub fn ch_ena44(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch45 enable"] #[inline(always)] #[must_use] - pub fn ch_ena45(&mut self) -> CH_ENA45_W { - CH_ENA45_W::new(self, 13) + pub fn ch_ena45(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch46 enable"] #[inline(always)] #[must_use] - pub fn ch_ena46(&mut self) -> CH_ENA46_W { - CH_ENA46_W::new(self, 14) + pub fn ch_ena46(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch47 enable"] #[inline(always)] #[must_use] - pub fn ch_ena47(&mut self) -> CH_ENA47_W { - CH_ENA47_W::new(self, 15) + pub fn ch_ena47(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch48 enable"] #[inline(always)] #[must_use] - pub fn ch_ena48(&mut self) -> CH_ENA48_W { - CH_ENA48_W::new(self, 16) + pub fn ch_ena48(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch49 enable"] #[inline(always)] #[must_use] - pub fn ch_ena49(&mut self) -> CH_ENA49_W { - CH_ENA49_W::new(self, 17) + pub fn ch_ena49(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 17) } } #[doc = "channel enable register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_ena_ad1::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs b/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs index eb4489de36..6abbee53d3 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs @@ -1,41 +1,7 @@ #[doc = "Register `CH_ENA_AD1_CLR` writer"] pub type W = crate::W; -#[doc = "Field `CH_CLR32` writer - ch32 clear"] -pub type CH_CLR32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR33` writer - ch33 clear"] -pub type CH_CLR33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR34` writer - ch34 clear"] -pub type CH_CLR34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR35` writer - ch35 clear"] -pub type CH_CLR35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR36` writer - ch36 clear"] -pub type CH_CLR36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR37` writer - ch37 clear"] -pub type CH_CLR37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR38` writer - ch38 clear"] -pub type CH_CLR38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR39` writer - ch39 clear"] -pub type CH_CLR39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR40` writer - ch40 clear"] -pub type CH_CLR40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR41` writer - ch41 clear"] -pub type CH_CLR41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR42` writer - ch42 clear"] -pub type CH_CLR42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR43` writer - ch43 clear"] -pub type CH_CLR43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR44` writer - ch44 clear"] -pub type CH_CLR44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR45` writer - ch45 clear"] -pub type CH_CLR45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR46` writer - ch46 clear"] -pub type CH_CLR46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR47` writer - ch47 clear"] -pub type CH_CLR47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR48` writer - ch48 clear"] -pub type CH_CLR48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR49` writer - ch49 clear"] -pub type CH_CLR49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_CLR(32-49)` writer - ch%s clear"] +pub type CH_CLR_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -43,113 +9,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(32-49) clear"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_CLR32` field"] + #[inline(always)] + #[must_use] + pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_CLR_W::new(self, n) + } #[doc = "Bit 0 - ch32 clear"] #[inline(always)] #[must_use] - pub fn ch_clr32(&mut self) -> CH_CLR32_W { - CH_CLR32_W::new(self, 0) + pub fn ch_clr32(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch33 clear"] #[inline(always)] #[must_use] - pub fn ch_clr33(&mut self) -> CH_CLR33_W { - CH_CLR33_W::new(self, 1) + pub fn ch_clr33(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch34 clear"] #[inline(always)] #[must_use] - pub fn ch_clr34(&mut self) -> CH_CLR34_W { - CH_CLR34_W::new(self, 2) + pub fn ch_clr34(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch35 clear"] #[inline(always)] #[must_use] - pub fn ch_clr35(&mut self) -> CH_CLR35_W { - CH_CLR35_W::new(self, 3) + pub fn ch_clr35(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch36 clear"] #[inline(always)] #[must_use] - pub fn ch_clr36(&mut self) -> CH_CLR36_W { - CH_CLR36_W::new(self, 4) + pub fn ch_clr36(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch37 clear"] #[inline(always)] #[must_use] - pub fn ch_clr37(&mut self) -> CH_CLR37_W { - CH_CLR37_W::new(self, 5) + pub fn ch_clr37(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch38 clear"] #[inline(always)] #[must_use] - pub fn ch_clr38(&mut self) -> CH_CLR38_W { - CH_CLR38_W::new(self, 6) + pub fn ch_clr38(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch39 clear"] #[inline(always)] #[must_use] - pub fn ch_clr39(&mut self) -> CH_CLR39_W { - CH_CLR39_W::new(self, 7) + pub fn ch_clr39(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch40 clear"] #[inline(always)] #[must_use] - pub fn ch_clr40(&mut self) -> CH_CLR40_W { - CH_CLR40_W::new(self, 8) + pub fn ch_clr40(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch41 clear"] #[inline(always)] #[must_use] - pub fn ch_clr41(&mut self) -> CH_CLR41_W { - CH_CLR41_W::new(self, 9) + pub fn ch_clr41(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch42 clear"] #[inline(always)] #[must_use] - pub fn ch_clr42(&mut self) -> CH_CLR42_W { - CH_CLR42_W::new(self, 10) + pub fn ch_clr42(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch43 clear"] #[inline(always)] #[must_use] - pub fn ch_clr43(&mut self) -> CH_CLR43_W { - CH_CLR43_W::new(self, 11) + pub fn ch_clr43(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch44 clear"] #[inline(always)] #[must_use] - pub fn ch_clr44(&mut self) -> CH_CLR44_W { - CH_CLR44_W::new(self, 12) + pub fn ch_clr44(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch45 clear"] #[inline(always)] #[must_use] - pub fn ch_clr45(&mut self) -> CH_CLR45_W { - CH_CLR45_W::new(self, 13) + pub fn ch_clr45(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch46 clear"] #[inline(always)] #[must_use] - pub fn ch_clr46(&mut self) -> CH_CLR46_W { - CH_CLR46_W::new(self, 14) + pub fn ch_clr46(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch47 clear"] #[inline(always)] #[must_use] - pub fn ch_clr47(&mut self) -> CH_CLR47_W { - CH_CLR47_W::new(self, 15) + pub fn ch_clr47(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch48 clear"] #[inline(always)] #[must_use] - pub fn ch_clr48(&mut self) -> CH_CLR48_W { - CH_CLR48_W::new(self, 16) + pub fn ch_clr48(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch49 clear"] #[inline(always)] #[must_use] - pub fn ch_clr49(&mut self) -> CH_CLR49_W { - CH_CLR49_W::new(self, 17) + pub fn ch_clr49(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 17) } } #[doc = "channel enable clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32h2/src/soc_etm/ch_ena_ad1_set.rs b/esp32h2/src/soc_etm/ch_ena_ad1_set.rs index 29f5c45d59..6d7ad3b41a 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad1_set.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad1_set.rs @@ -1,41 +1,7 @@ #[doc = "Register `CH_ENA_AD1_SET` writer"] pub type W = crate::W; -#[doc = "Field `CH_SET32` writer - ch32 set"] -pub type CH_SET32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET33` writer - ch33 set"] -pub type CH_SET33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET34` writer - ch34 set"] -pub type CH_SET34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET35` writer - ch35 set"] -pub type CH_SET35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET36` writer - ch36 set"] -pub type CH_SET36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET37` writer - ch37 set"] -pub type CH_SET37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET38` writer - ch38 set"] -pub type CH_SET38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET39` writer - ch39 set"] -pub type CH_SET39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET40` writer - ch40 set"] -pub type CH_SET40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET41` writer - ch41 set"] -pub type CH_SET41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET42` writer - ch42 set"] -pub type CH_SET42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET43` writer - ch43 set"] -pub type CH_SET43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET44` writer - ch44 set"] -pub type CH_SET44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET45` writer - ch45 set"] -pub type CH_SET45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET46` writer - ch46 set"] -pub type CH_SET46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET47` writer - ch47 set"] -pub type CH_SET47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET48` writer - ch48 set"] -pub type CH_SET48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET49` writer - ch49 set"] -pub type CH_SET49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_SET(32-49)` writer - ch%s set"] +pub type CH_SET_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -43,113 +9,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "ch(32-49) set"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_SET32` field"] + #[inline(always)] + #[must_use] + pub fn ch_set(&mut self, n: u8) -> CH_SET_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_SET_W::new(self, n) + } #[doc = "Bit 0 - ch32 set"] #[inline(always)] #[must_use] - pub fn ch_set32(&mut self) -> CH_SET32_W { - CH_SET32_W::new(self, 0) + pub fn ch_set32(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch33 set"] #[inline(always)] #[must_use] - pub fn ch_set33(&mut self) -> CH_SET33_W { - CH_SET33_W::new(self, 1) + pub fn ch_set33(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch34 set"] #[inline(always)] #[must_use] - pub fn ch_set34(&mut self) -> CH_SET34_W { - CH_SET34_W::new(self, 2) + pub fn ch_set34(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch35 set"] #[inline(always)] #[must_use] - pub fn ch_set35(&mut self) -> CH_SET35_W { - CH_SET35_W::new(self, 3) + pub fn ch_set35(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch36 set"] #[inline(always)] #[must_use] - pub fn ch_set36(&mut self) -> CH_SET36_W { - CH_SET36_W::new(self, 4) + pub fn ch_set36(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch37 set"] #[inline(always)] #[must_use] - pub fn ch_set37(&mut self) -> CH_SET37_W { - CH_SET37_W::new(self, 5) + pub fn ch_set37(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch38 set"] #[inline(always)] #[must_use] - pub fn ch_set38(&mut self) -> CH_SET38_W { - CH_SET38_W::new(self, 6) + pub fn ch_set38(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch39 set"] #[inline(always)] #[must_use] - pub fn ch_set39(&mut self) -> CH_SET39_W { - CH_SET39_W::new(self, 7) + pub fn ch_set39(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch40 set"] #[inline(always)] #[must_use] - pub fn ch_set40(&mut self) -> CH_SET40_W { - CH_SET40_W::new(self, 8) + pub fn ch_set40(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch41 set"] #[inline(always)] #[must_use] - pub fn ch_set41(&mut self) -> CH_SET41_W { - CH_SET41_W::new(self, 9) + pub fn ch_set41(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch42 set"] #[inline(always)] #[must_use] - pub fn ch_set42(&mut self) -> CH_SET42_W { - CH_SET42_W::new(self, 10) + pub fn ch_set42(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch43 set"] #[inline(always)] #[must_use] - pub fn ch_set43(&mut self) -> CH_SET43_W { - CH_SET43_W::new(self, 11) + pub fn ch_set43(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch44 set"] #[inline(always)] #[must_use] - pub fn ch_set44(&mut self) -> CH_SET44_W { - CH_SET44_W::new(self, 12) + pub fn ch_set44(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch45 set"] #[inline(always)] #[must_use] - pub fn ch_set45(&mut self) -> CH_SET45_W { - CH_SET45_W::new(self, 13) + pub fn ch_set45(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch46 set"] #[inline(always)] #[must_use] - pub fn ch_set46(&mut self) -> CH_SET46_W { - CH_SET46_W::new(self, 14) + pub fn ch_set46(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch47 set"] #[inline(always)] #[must_use] - pub fn ch_set47(&mut self) -> CH_SET47_W { - CH_SET47_W::new(self, 15) + pub fn ch_set47(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch48 set"] #[inline(always)] #[must_use] - pub fn ch_set48(&mut self) -> CH_SET48_W { - CH_SET48_W::new(self, 16) + pub fn ch_set48(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch49 set"] #[inline(always)] #[must_use] - pub fn ch_set49(&mut self) -> CH_SET49_W { - CH_SET49_W::new(self, 17) + pub fn ch_set49(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 17) } } #[doc = "channel enable set register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1_set::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32h2/svd/patches/esp32h2.yaml b/esp32h2/svd/patches/esp32h2.yaml index 1bfca803cc..9750a8cb79 100644 --- a/esp32h2/svd/patches/esp32h2.yaml +++ b/esp32h2/svd/patches/esp32h2.yaml @@ -48,6 +48,9 @@ SPI2: MCPWM0: _include: ../../../common_patches/mcpwm_collect.yaml +SOC_ETM: + _include: ../../../common_patches/etm_collect.yaml + DMA: _modify: OUT_CONF0_CH%s: diff --git a/esp32p4/src/soc_etm.rs b/esp32p4/src/soc_etm.rs index 9815451bd8..8dee12ca79 100644 --- a/esp32p4/src/soc_etm.rs +++ b/esp32p4/src/soc_etm.rs @@ -8,106 +8,7 @@ pub struct RegisterBlock { ch_ena_ad1: CH_ENA_AD1, ch_ena_ad1_set: CH_ENA_AD1_SET, ch_ena_ad1_clr: CH_ENA_AD1_CLR, - ch0_evt_id: CH0_EVT_ID, - ch0_task_id: CH0_TASK_ID, - ch1_evt_id: CH1_EVT_ID, - ch1_task_id: CH1_TASK_ID, - ch2_evt_id: CH2_EVT_ID, - ch2_task_id: CH2_TASK_ID, - ch3_evt_id: CH3_EVT_ID, - ch3_task_id: CH3_TASK_ID, - ch4_evt_id: CH4_EVT_ID, - ch4_task_id: CH4_TASK_ID, - ch5_evt_id: CH5_EVT_ID, - ch5_task_id: CH5_TASK_ID, - ch6_evt_id: CH6_EVT_ID, - ch6_task_id: CH6_TASK_ID, - ch7_evt_id: CH7_EVT_ID, - ch7_task_id: CH7_TASK_ID, - ch8_evt_id: CH8_EVT_ID, - ch8_task_id: CH8_TASK_ID, - ch9_evt_id: CH9_EVT_ID, - ch9_task_id: CH9_TASK_ID, - ch10_evt_id: CH10_EVT_ID, - ch10_task_id: CH10_TASK_ID, - ch11_evt_id: CH11_EVT_ID, - ch11_task_id: CH11_TASK_ID, - ch12_evt_id: CH12_EVT_ID, - ch12_task_id: CH12_TASK_ID, - ch13_evt_id: CH13_EVT_ID, - ch13_task_id: CH13_TASK_ID, - ch14_evt_id: CH14_EVT_ID, - ch14_task_id: CH14_TASK_ID, - ch15_evt_id: CH15_EVT_ID, - ch15_task_id: CH15_TASK_ID, - ch16_evt_id: CH16_EVT_ID, - ch16_task_id: CH16_TASK_ID, - ch17_evt_id: CH17_EVT_ID, - ch17_task_id: CH17_TASK_ID, - ch18_evt_id: CH18_EVT_ID, - ch18_task_id: CH18_TASK_ID, - ch19_evt_id: CH19_EVT_ID, - ch19_task_id: CH19_TASK_ID, - ch20_evt_id: CH20_EVT_ID, - ch20_task_id: CH20_TASK_ID, - ch21_evt_id: CH21_EVT_ID, - ch21_task_id: CH21_TASK_ID, - ch22_evt_id: CH22_EVT_ID, - ch22_task_id: CH22_TASK_ID, - ch23_evt_id: CH23_EVT_ID, - ch23_task_id: CH23_TASK_ID, - ch24_evt_id: CH24_EVT_ID, - ch24_task_id: CH24_TASK_ID, - ch25_evt_id: CH25_EVT_ID, - ch25_task_id: CH25_TASK_ID, - ch26_evt_id: CH26_EVT_ID, - ch26_task_id: CH26_TASK_ID, - ch27_evt_id: CH27_EVT_ID, - ch27_task_id: CH27_TASK_ID, - ch28_evt_id: CH28_EVT_ID, - ch28_task_id: CH28_TASK_ID, - ch29_evt_id: CH29_EVT_ID, - ch29_task_id: CH29_TASK_ID, - ch30_evt_id: CH30_EVT_ID, - ch30_task_id: CH30_TASK_ID, - ch31_evt_id: CH31_EVT_ID, - ch31_task_id: CH31_TASK_ID, - ch32_evt_id: CH32_EVT_ID, - ch32_task_id: CH32_TASK_ID, - ch33_evt_id: CH33_EVT_ID, - ch33_task_id: CH33_TASK_ID, - ch34_evt_id: CH34_EVT_ID, - ch34_task_id: CH34_TASK_ID, - ch35_evt_id: CH35_EVT_ID, - ch35_task_id: CH35_TASK_ID, - ch36_evt_id: CH36_EVT_ID, - ch36_task_id: CH36_TASK_ID, - ch37_evt_id: CH37_EVT_ID, - ch37_task_id: CH37_TASK_ID, - ch38_evt_id: CH38_EVT_ID, - ch38_task_id: CH38_TASK_ID, - ch39_evt_id: CH39_EVT_ID, - ch39_task_id: CH39_TASK_ID, - ch40_evt_id: CH40_EVT_ID, - ch40_task_id: CH40_TASK_ID, - ch41_evt_id: CH41_EVT_ID, - ch41_task_id: CH41_TASK_ID, - ch42_evt_id: CH42_EVT_ID, - ch42_task_id: CH42_TASK_ID, - ch43_evt_id: CH43_EVT_ID, - ch43_task_id: CH43_TASK_ID, - ch44_evt_id: CH44_EVT_ID, - ch44_task_id: CH44_TASK_ID, - ch45_evt_id: CH45_EVT_ID, - ch45_task_id: CH45_TASK_ID, - ch46_evt_id: CH46_EVT_ID, - ch46_task_id: CH46_TASK_ID, - ch47_evt_id: CH47_EVT_ID, - ch47_task_id: CH47_TASK_ID, - ch48_evt_id: CH48_EVT_ID, - ch48_task_id: CH48_TASK_ID, - ch49_evt_id: CH49_EVT_ID, - ch49_task_id: CH49_TASK_ID, + ch: [CH; 50], evt_st0: EVT_ST0, evt_st0_clr: EVT_ST0_CLR, evt_st1: EVT_ST1, @@ -172,505 +73,16 @@ impl RegisterBlock { pub const fn ch_ena_ad1_clr(&self) -> &CH_ENA_AD1_CLR { &self.ch_ena_ad1_clr } - #[doc = "0x18 - Channel0 event id register"] + #[doc = "0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] #[inline(always)] - pub const fn ch0_evt_id(&self) -> &CH0_EVT_ID { - &self.ch0_evt_id + pub const fn ch(&self, n: usize) -> &CH { + &self.ch[n] } - #[doc = "0x1c - Channel0 task id register"] + #[doc = "Iterator for array of:"] + #[doc = "0x18..0x1a8 - Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] #[inline(always)] - pub const fn ch0_task_id(&self) -> &CH0_TASK_ID { - &self.ch0_task_id - } - #[doc = "0x20 - Channel1 event id register"] - #[inline(always)] - pub const fn ch1_evt_id(&self) -> &CH1_EVT_ID { - &self.ch1_evt_id - } - #[doc = "0x24 - Channel1 task id register"] - #[inline(always)] - pub const fn ch1_task_id(&self) -> &CH1_TASK_ID { - &self.ch1_task_id - } - #[doc = "0x28 - Channel2 event id register"] - #[inline(always)] - pub const fn ch2_evt_id(&self) -> &CH2_EVT_ID { - &self.ch2_evt_id - } - #[doc = "0x2c - Channel2 task id register"] - #[inline(always)] - pub const fn ch2_task_id(&self) -> &CH2_TASK_ID { - &self.ch2_task_id - } - #[doc = "0x30 - Channel3 event id register"] - #[inline(always)] - pub const fn ch3_evt_id(&self) -> &CH3_EVT_ID { - &self.ch3_evt_id - } - #[doc = "0x34 - Channel3 task id register"] - #[inline(always)] - pub const fn ch3_task_id(&self) -> &CH3_TASK_ID { - &self.ch3_task_id - } - #[doc = "0x38 - Channel4 event id register"] - #[inline(always)] - pub const fn ch4_evt_id(&self) -> &CH4_EVT_ID { - &self.ch4_evt_id - } - #[doc = "0x3c - Channel4 task id register"] - #[inline(always)] - pub const fn ch4_task_id(&self) -> &CH4_TASK_ID { - &self.ch4_task_id - } - #[doc = "0x40 - Channel5 event id register"] - #[inline(always)] - pub const fn ch5_evt_id(&self) -> &CH5_EVT_ID { - &self.ch5_evt_id - } - #[doc = "0x44 - Channel5 task id register"] - #[inline(always)] - pub const fn ch5_task_id(&self) -> &CH5_TASK_ID { - &self.ch5_task_id - } - #[doc = "0x48 - Channel6 event id register"] - #[inline(always)] - pub const fn ch6_evt_id(&self) -> &CH6_EVT_ID { - &self.ch6_evt_id - } - #[doc = "0x4c - Channel6 task id register"] - #[inline(always)] - pub const fn ch6_task_id(&self) -> &CH6_TASK_ID { - &self.ch6_task_id - } - #[doc = "0x50 - Channel7 event id register"] - #[inline(always)] - pub const fn ch7_evt_id(&self) -> &CH7_EVT_ID { - &self.ch7_evt_id - } - #[doc = "0x54 - Channel7 task id register"] - #[inline(always)] - pub const fn ch7_task_id(&self) -> &CH7_TASK_ID { - &self.ch7_task_id - } - #[doc = "0x58 - Channel8 event id register"] - #[inline(always)] - pub const fn ch8_evt_id(&self) -> &CH8_EVT_ID { - &self.ch8_evt_id - } - #[doc = "0x5c - Channel8 task id register"] - #[inline(always)] - pub const fn ch8_task_id(&self) -> &CH8_TASK_ID { - &self.ch8_task_id - } - #[doc = "0x60 - Channel9 event id register"] - #[inline(always)] - pub const fn ch9_evt_id(&self) -> &CH9_EVT_ID { - &self.ch9_evt_id - } - #[doc = "0x64 - Channel9 task id register"] - #[inline(always)] - pub const fn ch9_task_id(&self) -> &CH9_TASK_ID { - &self.ch9_task_id - } - #[doc = "0x68 - Channel10 event id register"] - #[inline(always)] - pub const fn ch10_evt_id(&self) -> &CH10_EVT_ID { - &self.ch10_evt_id - } - #[doc = "0x6c - Channel10 task id register"] - #[inline(always)] - pub const fn ch10_task_id(&self) -> &CH10_TASK_ID { - &self.ch10_task_id - } - #[doc = "0x70 - Channel11 event id register"] - #[inline(always)] - pub const fn ch11_evt_id(&self) -> &CH11_EVT_ID { - &self.ch11_evt_id - } - #[doc = "0x74 - Channel11 task id register"] - #[inline(always)] - pub const fn ch11_task_id(&self) -> &CH11_TASK_ID { - &self.ch11_task_id - } - #[doc = "0x78 - Channel12 event id register"] - #[inline(always)] - pub const fn ch12_evt_id(&self) -> &CH12_EVT_ID { - &self.ch12_evt_id - } - #[doc = "0x7c - Channel12 task id register"] - #[inline(always)] - pub const fn ch12_task_id(&self) -> &CH12_TASK_ID { - &self.ch12_task_id - } - #[doc = "0x80 - Channel13 event id register"] - #[inline(always)] - pub const fn ch13_evt_id(&self) -> &CH13_EVT_ID { - &self.ch13_evt_id - } - #[doc = "0x84 - Channel13 task id register"] - #[inline(always)] - pub const fn ch13_task_id(&self) -> &CH13_TASK_ID { - &self.ch13_task_id - } - #[doc = "0x88 - Channel14 event id register"] - #[inline(always)] - pub const fn ch14_evt_id(&self) -> &CH14_EVT_ID { - &self.ch14_evt_id - } - #[doc = "0x8c - Channel14 task id register"] - #[inline(always)] - pub const fn ch14_task_id(&self) -> &CH14_TASK_ID { - &self.ch14_task_id - } - #[doc = "0x90 - Channel15 event id register"] - #[inline(always)] - pub const fn ch15_evt_id(&self) -> &CH15_EVT_ID { - &self.ch15_evt_id - } - #[doc = "0x94 - Channel15 task id register"] - #[inline(always)] - pub const fn ch15_task_id(&self) -> &CH15_TASK_ID { - &self.ch15_task_id - } - #[doc = "0x98 - Channel16 event id register"] - #[inline(always)] - pub const fn ch16_evt_id(&self) -> &CH16_EVT_ID { - &self.ch16_evt_id - } - #[doc = "0x9c - Channel16 task id register"] - #[inline(always)] - pub const fn ch16_task_id(&self) -> &CH16_TASK_ID { - &self.ch16_task_id - } - #[doc = "0xa0 - Channel17 event id register"] - #[inline(always)] - pub const fn ch17_evt_id(&self) -> &CH17_EVT_ID { - &self.ch17_evt_id - } - #[doc = "0xa4 - Channel17 task id register"] - #[inline(always)] - pub const fn ch17_task_id(&self) -> &CH17_TASK_ID { - &self.ch17_task_id - } - #[doc = "0xa8 - Channel18 event id register"] - #[inline(always)] - pub const fn ch18_evt_id(&self) -> &CH18_EVT_ID { - &self.ch18_evt_id - } - #[doc = "0xac - Channel18 task id register"] - #[inline(always)] - pub const fn ch18_task_id(&self) -> &CH18_TASK_ID { - &self.ch18_task_id - } - #[doc = "0xb0 - Channel19 event id register"] - #[inline(always)] - pub const fn ch19_evt_id(&self) -> &CH19_EVT_ID { - &self.ch19_evt_id - } - #[doc = "0xb4 - Channel19 task id register"] - #[inline(always)] - pub const fn ch19_task_id(&self) -> &CH19_TASK_ID { - &self.ch19_task_id - } - #[doc = "0xb8 - Channel20 event id register"] - #[inline(always)] - pub const fn ch20_evt_id(&self) -> &CH20_EVT_ID { - &self.ch20_evt_id - } - #[doc = "0xbc - Channel20 task id register"] - #[inline(always)] - pub const fn ch20_task_id(&self) -> &CH20_TASK_ID { - &self.ch20_task_id - } - #[doc = "0xc0 - Channel21 event id register"] - #[inline(always)] - pub const fn ch21_evt_id(&self) -> &CH21_EVT_ID { - &self.ch21_evt_id - } - #[doc = "0xc4 - Channel21 task id register"] - #[inline(always)] - pub const fn ch21_task_id(&self) -> &CH21_TASK_ID { - &self.ch21_task_id - } - #[doc = "0xc8 - Channel22 event id register"] - #[inline(always)] - pub const fn ch22_evt_id(&self) -> &CH22_EVT_ID { - &self.ch22_evt_id - } - #[doc = "0xcc - Channel22 task id register"] - #[inline(always)] - pub const fn ch22_task_id(&self) -> &CH22_TASK_ID { - &self.ch22_task_id - } - #[doc = "0xd0 - Channel23 event id register"] - #[inline(always)] - pub const fn ch23_evt_id(&self) -> &CH23_EVT_ID { - &self.ch23_evt_id - } - #[doc = "0xd4 - Channel23 task id register"] - #[inline(always)] - pub const fn ch23_task_id(&self) -> &CH23_TASK_ID { - &self.ch23_task_id - } - #[doc = "0xd8 - Channel24 event id register"] - #[inline(always)] - pub const fn ch24_evt_id(&self) -> &CH24_EVT_ID { - &self.ch24_evt_id - } - #[doc = "0xdc - Channel24 task id register"] - #[inline(always)] - pub const fn ch24_task_id(&self) -> &CH24_TASK_ID { - &self.ch24_task_id - } - #[doc = "0xe0 - Channel25 event id register"] - #[inline(always)] - pub const fn ch25_evt_id(&self) -> &CH25_EVT_ID { - &self.ch25_evt_id - } - #[doc = "0xe4 - Channel25 task id register"] - #[inline(always)] - pub const fn ch25_task_id(&self) -> &CH25_TASK_ID { - &self.ch25_task_id - } - #[doc = "0xe8 - Channel26 event id register"] - #[inline(always)] - pub const fn ch26_evt_id(&self) -> &CH26_EVT_ID { - &self.ch26_evt_id - } - #[doc = "0xec - Channel26 task id register"] - #[inline(always)] - pub const fn ch26_task_id(&self) -> &CH26_TASK_ID { - &self.ch26_task_id - } - #[doc = "0xf0 - Channel27 event id register"] - #[inline(always)] - pub const fn ch27_evt_id(&self) -> &CH27_EVT_ID { - &self.ch27_evt_id - } - #[doc = "0xf4 - Channel27 task id register"] - #[inline(always)] - pub const fn ch27_task_id(&self) -> &CH27_TASK_ID { - &self.ch27_task_id - } - #[doc = "0xf8 - Channel28 event id register"] - #[inline(always)] - pub const fn ch28_evt_id(&self) -> &CH28_EVT_ID { - &self.ch28_evt_id - } - #[doc = "0xfc - Channel28 task id register"] - #[inline(always)] - pub const fn ch28_task_id(&self) -> &CH28_TASK_ID { - &self.ch28_task_id - } - #[doc = "0x100 - Channel29 event id register"] - #[inline(always)] - pub const fn ch29_evt_id(&self) -> &CH29_EVT_ID { - &self.ch29_evt_id - } - #[doc = "0x104 - Channel29 task id register"] - #[inline(always)] - pub const fn ch29_task_id(&self) -> &CH29_TASK_ID { - &self.ch29_task_id - } - #[doc = "0x108 - Channel30 event id register"] - #[inline(always)] - pub const fn ch30_evt_id(&self) -> &CH30_EVT_ID { - &self.ch30_evt_id - } - #[doc = "0x10c - Channel30 task id register"] - #[inline(always)] - pub const fn ch30_task_id(&self) -> &CH30_TASK_ID { - &self.ch30_task_id - } - #[doc = "0x110 - Channel31 event id register"] - #[inline(always)] - pub const fn ch31_evt_id(&self) -> &CH31_EVT_ID { - &self.ch31_evt_id - } - #[doc = "0x114 - Channel31 task id register"] - #[inline(always)] - pub const fn ch31_task_id(&self) -> &CH31_TASK_ID { - &self.ch31_task_id - } - #[doc = "0x118 - Channel32 event id register"] - #[inline(always)] - pub const fn ch32_evt_id(&self) -> &CH32_EVT_ID { - &self.ch32_evt_id - } - #[doc = "0x11c - Channel32 task id register"] - #[inline(always)] - pub const fn ch32_task_id(&self) -> &CH32_TASK_ID { - &self.ch32_task_id - } - #[doc = "0x120 - Channel33 event id register"] - #[inline(always)] - pub const fn ch33_evt_id(&self) -> &CH33_EVT_ID { - &self.ch33_evt_id - } - #[doc = "0x124 - Channel33 task id register"] - #[inline(always)] - pub const fn ch33_task_id(&self) -> &CH33_TASK_ID { - &self.ch33_task_id - } - #[doc = "0x128 - Channel34 event id register"] - #[inline(always)] - pub const fn ch34_evt_id(&self) -> &CH34_EVT_ID { - &self.ch34_evt_id - } - #[doc = "0x12c - Channel34 task id register"] - #[inline(always)] - pub const fn ch34_task_id(&self) -> &CH34_TASK_ID { - &self.ch34_task_id - } - #[doc = "0x130 - Channel35 event id register"] - #[inline(always)] - pub const fn ch35_evt_id(&self) -> &CH35_EVT_ID { - &self.ch35_evt_id - } - #[doc = "0x134 - Channel35 task id register"] - #[inline(always)] - pub const fn ch35_task_id(&self) -> &CH35_TASK_ID { - &self.ch35_task_id - } - #[doc = "0x138 - Channel36 event id register"] - #[inline(always)] - pub const fn ch36_evt_id(&self) -> &CH36_EVT_ID { - &self.ch36_evt_id - } - #[doc = "0x13c - Channel36 task id register"] - #[inline(always)] - pub const fn ch36_task_id(&self) -> &CH36_TASK_ID { - &self.ch36_task_id - } - #[doc = "0x140 - Channel37 event id register"] - #[inline(always)] - pub const fn ch37_evt_id(&self) -> &CH37_EVT_ID { - &self.ch37_evt_id - } - #[doc = "0x144 - Channel37 task id register"] - #[inline(always)] - pub const fn ch37_task_id(&self) -> &CH37_TASK_ID { - &self.ch37_task_id - } - #[doc = "0x148 - Channel38 event id register"] - #[inline(always)] - pub const fn ch38_evt_id(&self) -> &CH38_EVT_ID { - &self.ch38_evt_id - } - #[doc = "0x14c - Channel38 task id register"] - #[inline(always)] - pub const fn ch38_task_id(&self) -> &CH38_TASK_ID { - &self.ch38_task_id - } - #[doc = "0x150 - Channel39 event id register"] - #[inline(always)] - pub const fn ch39_evt_id(&self) -> &CH39_EVT_ID { - &self.ch39_evt_id - } - #[doc = "0x154 - Channel39 task id register"] - #[inline(always)] - pub const fn ch39_task_id(&self) -> &CH39_TASK_ID { - &self.ch39_task_id - } - #[doc = "0x158 - Channel40 event id register"] - #[inline(always)] - pub const fn ch40_evt_id(&self) -> &CH40_EVT_ID { - &self.ch40_evt_id - } - #[doc = "0x15c - Channel40 task id register"] - #[inline(always)] - pub const fn ch40_task_id(&self) -> &CH40_TASK_ID { - &self.ch40_task_id - } - #[doc = "0x160 - Channel41 event id register"] - #[inline(always)] - pub const fn ch41_evt_id(&self) -> &CH41_EVT_ID { - &self.ch41_evt_id - } - #[doc = "0x164 - Channel41 task id register"] - #[inline(always)] - pub const fn ch41_task_id(&self) -> &CH41_TASK_ID { - &self.ch41_task_id - } - #[doc = "0x168 - Channel42 event id register"] - #[inline(always)] - pub const fn ch42_evt_id(&self) -> &CH42_EVT_ID { - &self.ch42_evt_id - } - #[doc = "0x16c - Channel42 task id register"] - #[inline(always)] - pub const fn ch42_task_id(&self) -> &CH42_TASK_ID { - &self.ch42_task_id - } - #[doc = "0x170 - Channel43 event id register"] - #[inline(always)] - pub const fn ch43_evt_id(&self) -> &CH43_EVT_ID { - &self.ch43_evt_id - } - #[doc = "0x174 - Channel43 task id register"] - #[inline(always)] - pub const fn ch43_task_id(&self) -> &CH43_TASK_ID { - &self.ch43_task_id - } - #[doc = "0x178 - Channel44 event id register"] - #[inline(always)] - pub const fn ch44_evt_id(&self) -> &CH44_EVT_ID { - &self.ch44_evt_id - } - #[doc = "0x17c - Channel44 task id register"] - #[inline(always)] - pub const fn ch44_task_id(&self) -> &CH44_TASK_ID { - &self.ch44_task_id - } - #[doc = "0x180 - Channel45 event id register"] - #[inline(always)] - pub const fn ch45_evt_id(&self) -> &CH45_EVT_ID { - &self.ch45_evt_id - } - #[doc = "0x184 - Channel45 task id register"] - #[inline(always)] - pub const fn ch45_task_id(&self) -> &CH45_TASK_ID { - &self.ch45_task_id - } - #[doc = "0x188 - Channel46 event id register"] - #[inline(always)] - pub const fn ch46_evt_id(&self) -> &CH46_EVT_ID { - &self.ch46_evt_id - } - #[doc = "0x18c - Channel46 task id register"] - #[inline(always)] - pub const fn ch46_task_id(&self) -> &CH46_TASK_ID { - &self.ch46_task_id - } - #[doc = "0x190 - Channel47 event id register"] - #[inline(always)] - pub const fn ch47_evt_id(&self) -> &CH47_EVT_ID { - &self.ch47_evt_id - } - #[doc = "0x194 - Channel47 task id register"] - #[inline(always)] - pub const fn ch47_task_id(&self) -> &CH47_TASK_ID { - &self.ch47_task_id - } - #[doc = "0x198 - Channel48 event id register"] - #[inline(always)] - pub const fn ch48_evt_id(&self) -> &CH48_EVT_ID { - &self.ch48_evt_id - } - #[doc = "0x19c - Channel48 task id register"] - #[inline(always)] - pub const fn ch48_task_id(&self) -> &CH48_TASK_ID { - &self.ch48_task_id - } - #[doc = "0x1a0 - Channel49 event id register"] - #[inline(always)] - pub const fn ch49_evt_id(&self) -> &CH49_EVT_ID { - &self.ch49_evt_id - } - #[doc = "0x1a4 - Channel49 task id register"] - #[inline(always)] - pub const fn ch49_task_id(&self) -> &CH49_TASK_ID { - &self.ch49_task_id + pub fn ch_iter(&self) -> impl Iterator { + self.ch.iter() } #[doc = "0x1a8 - Events trigger status register"] #[inline(always)] @@ -857,406 +269,11 @@ pub mod ch_ena_ad1_set; pub type CH_ENA_AD1_CLR = crate::Reg; #[doc = "Channel enable clear register"] pub mod ch_ena_ad1_clr; -#[doc = "CH0_EVT_ID (rw) register accessor: Channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch0_evt_id`] module"] -pub type CH0_EVT_ID = crate::Reg; -#[doc = "Channel0 event id register"] -pub mod ch0_evt_id; -#[doc = "CH0_TASK_ID (rw) register accessor: Channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch0_task_id`] module"] -pub type CH0_TASK_ID = crate::Reg; -#[doc = "Channel0 task id register"] -pub mod ch0_task_id; -#[doc = "CH1_EVT_ID (rw) register accessor: Channel1 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch1_evt_id`] module"] -pub type CH1_EVT_ID = crate::Reg; -#[doc = "Channel1 event id register"] -pub mod ch1_evt_id; -#[doc = "CH1_TASK_ID (rw) register accessor: Channel1 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch1_task_id`] module"] -pub type CH1_TASK_ID = crate::Reg; -#[doc = "Channel1 task id register"] -pub mod ch1_task_id; -#[doc = "CH2_EVT_ID (rw) register accessor: Channel2 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch2_evt_id`] module"] -pub type CH2_EVT_ID = crate::Reg; -#[doc = "Channel2 event id register"] -pub mod ch2_evt_id; -#[doc = "CH2_TASK_ID (rw) register accessor: Channel2 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch2_task_id`] module"] -pub type CH2_TASK_ID = crate::Reg; -#[doc = "Channel2 task id register"] -pub mod ch2_task_id; -#[doc = "CH3_EVT_ID (rw) register accessor: Channel3 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch3_evt_id`] module"] -pub type CH3_EVT_ID = crate::Reg; -#[doc = "Channel3 event id register"] -pub mod ch3_evt_id; -#[doc = "CH3_TASK_ID (rw) register accessor: Channel3 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch3_task_id`] module"] -pub type CH3_TASK_ID = crate::Reg; -#[doc = "Channel3 task id register"] -pub mod ch3_task_id; -#[doc = "CH4_EVT_ID (rw) register accessor: Channel4 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch4_evt_id`] module"] -pub type CH4_EVT_ID = crate::Reg; -#[doc = "Channel4 event id register"] -pub mod ch4_evt_id; -#[doc = "CH4_TASK_ID (rw) register accessor: Channel4 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch4_task_id`] module"] -pub type CH4_TASK_ID = crate::Reg; -#[doc = "Channel4 task id register"] -pub mod ch4_task_id; -#[doc = "CH5_EVT_ID (rw) register accessor: Channel5 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch5_evt_id`] module"] -pub type CH5_EVT_ID = crate::Reg; -#[doc = "Channel5 event id register"] -pub mod ch5_evt_id; -#[doc = "CH5_TASK_ID (rw) register accessor: Channel5 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch5_task_id`] module"] -pub type CH5_TASK_ID = crate::Reg; -#[doc = "Channel5 task id register"] -pub mod ch5_task_id; -#[doc = "CH6_EVT_ID (rw) register accessor: Channel6 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch6_evt_id`] module"] -pub type CH6_EVT_ID = crate::Reg; -#[doc = "Channel6 event id register"] -pub mod ch6_evt_id; -#[doc = "CH6_TASK_ID (rw) register accessor: Channel6 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch6_task_id`] module"] -pub type CH6_TASK_ID = crate::Reg; -#[doc = "Channel6 task id register"] -pub mod ch6_task_id; -#[doc = "CH7_EVT_ID (rw) register accessor: Channel7 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch7_evt_id`] module"] -pub type CH7_EVT_ID = crate::Reg; -#[doc = "Channel7 event id register"] -pub mod ch7_evt_id; -#[doc = "CH7_TASK_ID (rw) register accessor: Channel7 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch7_task_id`] module"] -pub type CH7_TASK_ID = crate::Reg; -#[doc = "Channel7 task id register"] -pub mod ch7_task_id; -#[doc = "CH8_EVT_ID (rw) register accessor: Channel8 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch8_evt_id`] module"] -pub type CH8_EVT_ID = crate::Reg; -#[doc = "Channel8 event id register"] -pub mod ch8_evt_id; -#[doc = "CH8_TASK_ID (rw) register accessor: Channel8 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch8_task_id`] module"] -pub type CH8_TASK_ID = crate::Reg; -#[doc = "Channel8 task id register"] -pub mod ch8_task_id; -#[doc = "CH9_EVT_ID (rw) register accessor: Channel9 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch9_evt_id`] module"] -pub type CH9_EVT_ID = crate::Reg; -#[doc = "Channel9 event id register"] -pub mod ch9_evt_id; -#[doc = "CH9_TASK_ID (rw) register accessor: Channel9 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch9_task_id`] module"] -pub type CH9_TASK_ID = crate::Reg; -#[doc = "Channel9 task id register"] -pub mod ch9_task_id; -#[doc = "CH10_EVT_ID (rw) register accessor: Channel10 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch10_evt_id`] module"] -pub type CH10_EVT_ID = crate::Reg; -#[doc = "Channel10 event id register"] -pub mod ch10_evt_id; -#[doc = "CH10_TASK_ID (rw) register accessor: Channel10 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch10_task_id`] module"] -pub type CH10_TASK_ID = crate::Reg; -#[doc = "Channel10 task id register"] -pub mod ch10_task_id; -#[doc = "CH11_EVT_ID (rw) register accessor: Channel11 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch11_evt_id`] module"] -pub type CH11_EVT_ID = crate::Reg; -#[doc = "Channel11 event id register"] -pub mod ch11_evt_id; -#[doc = "CH11_TASK_ID (rw) register accessor: Channel11 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch11_task_id`] module"] -pub type CH11_TASK_ID = crate::Reg; -#[doc = "Channel11 task id register"] -pub mod ch11_task_id; -#[doc = "CH12_EVT_ID (rw) register accessor: Channel12 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch12_evt_id`] module"] -pub type CH12_EVT_ID = crate::Reg; -#[doc = "Channel12 event id register"] -pub mod ch12_evt_id; -#[doc = "CH12_TASK_ID (rw) register accessor: Channel12 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch12_task_id`] module"] -pub type CH12_TASK_ID = crate::Reg; -#[doc = "Channel12 task id register"] -pub mod ch12_task_id; -#[doc = "CH13_EVT_ID (rw) register accessor: Channel13 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch13_evt_id`] module"] -pub type CH13_EVT_ID = crate::Reg; -#[doc = "Channel13 event id register"] -pub mod ch13_evt_id; -#[doc = "CH13_TASK_ID (rw) register accessor: Channel13 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch13_task_id`] module"] -pub type CH13_TASK_ID = crate::Reg; -#[doc = "Channel13 task id register"] -pub mod ch13_task_id; -#[doc = "CH14_EVT_ID (rw) register accessor: Channel14 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch14_evt_id`] module"] -pub type CH14_EVT_ID = crate::Reg; -#[doc = "Channel14 event id register"] -pub mod ch14_evt_id; -#[doc = "CH14_TASK_ID (rw) register accessor: Channel14 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch14_task_id`] module"] -pub type CH14_TASK_ID = crate::Reg; -#[doc = "Channel14 task id register"] -pub mod ch14_task_id; -#[doc = "CH15_EVT_ID (rw) register accessor: Channel15 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch15_evt_id`] module"] -pub type CH15_EVT_ID = crate::Reg; -#[doc = "Channel15 event id register"] -pub mod ch15_evt_id; -#[doc = "CH15_TASK_ID (rw) register accessor: Channel15 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch15_task_id`] module"] -pub type CH15_TASK_ID = crate::Reg; -#[doc = "Channel15 task id register"] -pub mod ch15_task_id; -#[doc = "CH16_EVT_ID (rw) register accessor: Channel16 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch16_evt_id`] module"] -pub type CH16_EVT_ID = crate::Reg; -#[doc = "Channel16 event id register"] -pub mod ch16_evt_id; -#[doc = "CH16_TASK_ID (rw) register accessor: Channel16 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch16_task_id`] module"] -pub type CH16_TASK_ID = crate::Reg; -#[doc = "Channel16 task id register"] -pub mod ch16_task_id; -#[doc = "CH17_EVT_ID (rw) register accessor: Channel17 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch17_evt_id`] module"] -pub type CH17_EVT_ID = crate::Reg; -#[doc = "Channel17 event id register"] -pub mod ch17_evt_id; -#[doc = "CH17_TASK_ID (rw) register accessor: Channel17 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch17_task_id`] module"] -pub type CH17_TASK_ID = crate::Reg; -#[doc = "Channel17 task id register"] -pub mod ch17_task_id; -#[doc = "CH18_EVT_ID (rw) register accessor: Channel18 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch18_evt_id`] module"] -pub type CH18_EVT_ID = crate::Reg; -#[doc = "Channel18 event id register"] -pub mod ch18_evt_id; -#[doc = "CH18_TASK_ID (rw) register accessor: Channel18 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch18_task_id`] module"] -pub type CH18_TASK_ID = crate::Reg; -#[doc = "Channel18 task id register"] -pub mod ch18_task_id; -#[doc = "CH19_EVT_ID (rw) register accessor: Channel19 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch19_evt_id`] module"] -pub type CH19_EVT_ID = crate::Reg; -#[doc = "Channel19 event id register"] -pub mod ch19_evt_id; -#[doc = "CH19_TASK_ID (rw) register accessor: Channel19 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch19_task_id`] module"] -pub type CH19_TASK_ID = crate::Reg; -#[doc = "Channel19 task id register"] -pub mod ch19_task_id; -#[doc = "CH20_EVT_ID (rw) register accessor: Channel20 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch20_evt_id`] module"] -pub type CH20_EVT_ID = crate::Reg; -#[doc = "Channel20 event id register"] -pub mod ch20_evt_id; -#[doc = "CH20_TASK_ID (rw) register accessor: Channel20 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch20_task_id`] module"] -pub type CH20_TASK_ID = crate::Reg; -#[doc = "Channel20 task id register"] -pub mod ch20_task_id; -#[doc = "CH21_EVT_ID (rw) register accessor: Channel21 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch21_evt_id`] module"] -pub type CH21_EVT_ID = crate::Reg; -#[doc = "Channel21 event id register"] -pub mod ch21_evt_id; -#[doc = "CH21_TASK_ID (rw) register accessor: Channel21 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch21_task_id`] module"] -pub type CH21_TASK_ID = crate::Reg; -#[doc = "Channel21 task id register"] -pub mod ch21_task_id; -#[doc = "CH22_EVT_ID (rw) register accessor: Channel22 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch22_evt_id`] module"] -pub type CH22_EVT_ID = crate::Reg; -#[doc = "Channel22 event id register"] -pub mod ch22_evt_id; -#[doc = "CH22_TASK_ID (rw) register accessor: Channel22 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch22_task_id`] module"] -pub type CH22_TASK_ID = crate::Reg; -#[doc = "Channel22 task id register"] -pub mod ch22_task_id; -#[doc = "CH23_EVT_ID (rw) register accessor: Channel23 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch23_evt_id`] module"] -pub type CH23_EVT_ID = crate::Reg; -#[doc = "Channel23 event id register"] -pub mod ch23_evt_id; -#[doc = "CH23_TASK_ID (rw) register accessor: Channel23 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch23_task_id`] module"] -pub type CH23_TASK_ID = crate::Reg; -#[doc = "Channel23 task id register"] -pub mod ch23_task_id; -#[doc = "CH24_EVT_ID (rw) register accessor: Channel24 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch24_evt_id`] module"] -pub type CH24_EVT_ID = crate::Reg; -#[doc = "Channel24 event id register"] -pub mod ch24_evt_id; -#[doc = "CH24_TASK_ID (rw) register accessor: Channel24 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch24_task_id`] module"] -pub type CH24_TASK_ID = crate::Reg; -#[doc = "Channel24 task id register"] -pub mod ch24_task_id; -#[doc = "CH25_EVT_ID (rw) register accessor: Channel25 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch25_evt_id`] module"] -pub type CH25_EVT_ID = crate::Reg; -#[doc = "Channel25 event id register"] -pub mod ch25_evt_id; -#[doc = "CH25_TASK_ID (rw) register accessor: Channel25 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch25_task_id`] module"] -pub type CH25_TASK_ID = crate::Reg; -#[doc = "Channel25 task id register"] -pub mod ch25_task_id; -#[doc = "CH26_EVT_ID (rw) register accessor: Channel26 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch26_evt_id`] module"] -pub type CH26_EVT_ID = crate::Reg; -#[doc = "Channel26 event id register"] -pub mod ch26_evt_id; -#[doc = "CH26_TASK_ID (rw) register accessor: Channel26 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch26_task_id`] module"] -pub type CH26_TASK_ID = crate::Reg; -#[doc = "Channel26 task id register"] -pub mod ch26_task_id; -#[doc = "CH27_EVT_ID (rw) register accessor: Channel27 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch27_evt_id`] module"] -pub type CH27_EVT_ID = crate::Reg; -#[doc = "Channel27 event id register"] -pub mod ch27_evt_id; -#[doc = "CH27_TASK_ID (rw) register accessor: Channel27 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch27_task_id`] module"] -pub type CH27_TASK_ID = crate::Reg; -#[doc = "Channel27 task id register"] -pub mod ch27_task_id; -#[doc = "CH28_EVT_ID (rw) register accessor: Channel28 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch28_evt_id`] module"] -pub type CH28_EVT_ID = crate::Reg; -#[doc = "Channel28 event id register"] -pub mod ch28_evt_id; -#[doc = "CH28_TASK_ID (rw) register accessor: Channel28 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch28_task_id`] module"] -pub type CH28_TASK_ID = crate::Reg; -#[doc = "Channel28 task id register"] -pub mod ch28_task_id; -#[doc = "CH29_EVT_ID (rw) register accessor: Channel29 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch29_evt_id`] module"] -pub type CH29_EVT_ID = crate::Reg; -#[doc = "Channel29 event id register"] -pub mod ch29_evt_id; -#[doc = "CH29_TASK_ID (rw) register accessor: Channel29 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch29_task_id`] module"] -pub type CH29_TASK_ID = crate::Reg; -#[doc = "Channel29 task id register"] -pub mod ch29_task_id; -#[doc = "CH30_EVT_ID (rw) register accessor: Channel30 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch30_evt_id`] module"] -pub type CH30_EVT_ID = crate::Reg; -#[doc = "Channel30 event id register"] -pub mod ch30_evt_id; -#[doc = "CH30_TASK_ID (rw) register accessor: Channel30 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch30_task_id`] module"] -pub type CH30_TASK_ID = crate::Reg; -#[doc = "Channel30 task id register"] -pub mod ch30_task_id; -#[doc = "CH31_EVT_ID (rw) register accessor: Channel31 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch31_evt_id`] module"] -pub type CH31_EVT_ID = crate::Reg; -#[doc = "Channel31 event id register"] -pub mod ch31_evt_id; -#[doc = "CH31_TASK_ID (rw) register accessor: Channel31 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch31_task_id`] module"] -pub type CH31_TASK_ID = crate::Reg; -#[doc = "Channel31 task id register"] -pub mod ch31_task_id; -#[doc = "CH32_EVT_ID (rw) register accessor: Channel32 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch32_evt_id`] module"] -pub type CH32_EVT_ID = crate::Reg; -#[doc = "Channel32 event id register"] -pub mod ch32_evt_id; -#[doc = "CH32_TASK_ID (rw) register accessor: Channel32 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch32_task_id`] module"] -pub type CH32_TASK_ID = crate::Reg; -#[doc = "Channel32 task id register"] -pub mod ch32_task_id; -#[doc = "CH33_EVT_ID (rw) register accessor: Channel33 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch33_evt_id`] module"] -pub type CH33_EVT_ID = crate::Reg; -#[doc = "Channel33 event id register"] -pub mod ch33_evt_id; -#[doc = "CH33_TASK_ID (rw) register accessor: Channel33 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch33_task_id`] module"] -pub type CH33_TASK_ID = crate::Reg; -#[doc = "Channel33 task id register"] -pub mod ch33_task_id; -#[doc = "CH34_EVT_ID (rw) register accessor: Channel34 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch34_evt_id`] module"] -pub type CH34_EVT_ID = crate::Reg; -#[doc = "Channel34 event id register"] -pub mod ch34_evt_id; -#[doc = "CH34_TASK_ID (rw) register accessor: Channel34 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch34_task_id`] module"] -pub type CH34_TASK_ID = crate::Reg; -#[doc = "Channel34 task id register"] -pub mod ch34_task_id; -#[doc = "CH35_EVT_ID (rw) register accessor: Channel35 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch35_evt_id`] module"] -pub type CH35_EVT_ID = crate::Reg; -#[doc = "Channel35 event id register"] -pub mod ch35_evt_id; -#[doc = "CH35_TASK_ID (rw) register accessor: Channel35 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch35_task_id`] module"] -pub type CH35_TASK_ID = crate::Reg; -#[doc = "Channel35 task id register"] -pub mod ch35_task_id; -#[doc = "CH36_EVT_ID (rw) register accessor: Channel36 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch36_evt_id`] module"] -pub type CH36_EVT_ID = crate::Reg; -#[doc = "Channel36 event id register"] -pub mod ch36_evt_id; -#[doc = "CH36_TASK_ID (rw) register accessor: Channel36 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch36_task_id`] module"] -pub type CH36_TASK_ID = crate::Reg; -#[doc = "Channel36 task id register"] -pub mod ch36_task_id; -#[doc = "CH37_EVT_ID (rw) register accessor: Channel37 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch37_evt_id`] module"] -pub type CH37_EVT_ID = crate::Reg; -#[doc = "Channel37 event id register"] -pub mod ch37_evt_id; -#[doc = "CH37_TASK_ID (rw) register accessor: Channel37 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch37_task_id`] module"] -pub type CH37_TASK_ID = crate::Reg; -#[doc = "Channel37 task id register"] -pub mod ch37_task_id; -#[doc = "CH38_EVT_ID (rw) register accessor: Channel38 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch38_evt_id`] module"] -pub type CH38_EVT_ID = crate::Reg; -#[doc = "Channel38 event id register"] -pub mod ch38_evt_id; -#[doc = "CH38_TASK_ID (rw) register accessor: Channel38 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch38_task_id`] module"] -pub type CH38_TASK_ID = crate::Reg; -#[doc = "Channel38 task id register"] -pub mod ch38_task_id; -#[doc = "CH39_EVT_ID (rw) register accessor: Channel39 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch39_evt_id`] module"] -pub type CH39_EVT_ID = crate::Reg; -#[doc = "Channel39 event id register"] -pub mod ch39_evt_id; -#[doc = "CH39_TASK_ID (rw) register accessor: Channel39 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch39_task_id`] module"] -pub type CH39_TASK_ID = crate::Reg; -#[doc = "Channel39 task id register"] -pub mod ch39_task_id; -#[doc = "CH40_EVT_ID (rw) register accessor: Channel40 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch40_evt_id`] module"] -pub type CH40_EVT_ID = crate::Reg; -#[doc = "Channel40 event id register"] -pub mod ch40_evt_id; -#[doc = "CH40_TASK_ID (rw) register accessor: Channel40 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch40_task_id`] module"] -pub type CH40_TASK_ID = crate::Reg; -#[doc = "Channel40 task id register"] -pub mod ch40_task_id; -#[doc = "CH41_EVT_ID (rw) register accessor: Channel41 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch41_evt_id`] module"] -pub type CH41_EVT_ID = crate::Reg; -#[doc = "Channel41 event id register"] -pub mod ch41_evt_id; -#[doc = "CH41_TASK_ID (rw) register accessor: Channel41 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch41_task_id`] module"] -pub type CH41_TASK_ID = crate::Reg; -#[doc = "Channel41 task id register"] -pub mod ch41_task_id; -#[doc = "CH42_EVT_ID (rw) register accessor: Channel42 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch42_evt_id`] module"] -pub type CH42_EVT_ID = crate::Reg; -#[doc = "Channel42 event id register"] -pub mod ch42_evt_id; -#[doc = "CH42_TASK_ID (rw) register accessor: Channel42 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch42_task_id`] module"] -pub type CH42_TASK_ID = crate::Reg; -#[doc = "Channel42 task id register"] -pub mod ch42_task_id; -#[doc = "CH43_EVT_ID (rw) register accessor: Channel43 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch43_evt_id`] module"] -pub type CH43_EVT_ID = crate::Reg; -#[doc = "Channel43 event id register"] -pub mod ch43_evt_id; -#[doc = "CH43_TASK_ID (rw) register accessor: Channel43 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch43_task_id`] module"] -pub type CH43_TASK_ID = crate::Reg; -#[doc = "Channel43 task id register"] -pub mod ch43_task_id; -#[doc = "CH44_EVT_ID (rw) register accessor: Channel44 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch44_evt_id`] module"] -pub type CH44_EVT_ID = crate::Reg; -#[doc = "Channel44 event id register"] -pub mod ch44_evt_id; -#[doc = "CH44_TASK_ID (rw) register accessor: Channel44 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch44_task_id`] module"] -pub type CH44_TASK_ID = crate::Reg; -#[doc = "Channel44 task id register"] -pub mod ch44_task_id; -#[doc = "CH45_EVT_ID (rw) register accessor: Channel45 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch45_evt_id`] module"] -pub type CH45_EVT_ID = crate::Reg; -#[doc = "Channel45 event id register"] -pub mod ch45_evt_id; -#[doc = "CH45_TASK_ID (rw) register accessor: Channel45 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch45_task_id`] module"] -pub type CH45_TASK_ID = crate::Reg; -#[doc = "Channel45 task id register"] -pub mod ch45_task_id; -#[doc = "CH46_EVT_ID (rw) register accessor: Channel46 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch46_evt_id`] module"] -pub type CH46_EVT_ID = crate::Reg; -#[doc = "Channel46 event id register"] -pub mod ch46_evt_id; -#[doc = "CH46_TASK_ID (rw) register accessor: Channel46 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch46_task_id`] module"] -pub type CH46_TASK_ID = crate::Reg; -#[doc = "Channel46 task id register"] -pub mod ch46_task_id; -#[doc = "CH47_EVT_ID (rw) register accessor: Channel47 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch47_evt_id`] module"] -pub type CH47_EVT_ID = crate::Reg; -#[doc = "Channel47 event id register"] -pub mod ch47_evt_id; -#[doc = "CH47_TASK_ID (rw) register accessor: Channel47 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch47_task_id`] module"] -pub type CH47_TASK_ID = crate::Reg; -#[doc = "Channel47 task id register"] -pub mod ch47_task_id; -#[doc = "CH48_EVT_ID (rw) register accessor: Channel48 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch48_evt_id`] module"] -pub type CH48_EVT_ID = crate::Reg; -#[doc = "Channel48 event id register"] -pub mod ch48_evt_id; -#[doc = "CH48_TASK_ID (rw) register accessor: Channel48 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch48_task_id`] module"] -pub type CH48_TASK_ID = crate::Reg; -#[doc = "Channel48 task id register"] -pub mod ch48_task_id; -#[doc = "CH49_EVT_ID (rw) register accessor: Channel49 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch49_evt_id`] module"] -pub type CH49_EVT_ID = crate::Reg; -#[doc = "Channel49 event id register"] -pub mod ch49_evt_id; -#[doc = "CH49_TASK_ID (rw) register accessor: Channel49 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch49_task_id`] module"] -pub type CH49_TASK_ID = crate::Reg; -#[doc = "Channel49 task id register"] -pub mod ch49_task_id; +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub use self::ch::CH; +#[doc = r"Cluster"] +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub mod ch; #[doc = "EVT_ST0 (rw) register accessor: Events trigger status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_st0::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_st0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_st0`] module"] pub type EVT_ST0 = crate::Reg; #[doc = "Events trigger status register"] diff --git a/esp32p4/src/soc_etm/ch.rs b/esp32p4/src/soc_etm/ch.rs new file mode 100644 index 0000000000..f37767ca19 --- /dev/null +++ b/esp32p4/src/soc_etm/ch.rs @@ -0,0 +1,27 @@ +#[repr(C)] +#[cfg_attr(feature = "impl-register-debug", derive(Debug))] +#[doc = "Cluster CH%s, containing CH*_EVT_ID, CH*_TASK_ID"] +pub struct CH { + evt_id: EVT_ID, + task_id: TASK_ID, +} +impl CH { + #[doc = "0x00 - Channel0 event id register"] + #[inline(always)] + pub const fn evt_id(&self) -> &EVT_ID { + &self.evt_id + } + #[doc = "0x04 - Channel0 task id register"] + #[inline(always)] + pub const fn task_id(&self) -> &TASK_ID { + &self.task_id + } +} +#[doc = "EVT_ID (rw) register accessor: Channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_id`] module"] +pub type EVT_ID = crate::Reg; +#[doc = "Channel0 event id register"] +pub mod evt_id; +#[doc = "TASK_ID (rw) register accessor: Channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`task_id::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_id::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@task_id`] module"] +pub type TASK_ID = crate::Reg; +#[doc = "Channel0 task id register"] +pub mod task_id; diff --git a/esp32p4/src/soc_etm/ch/evt_id.rs b/esp32p4/src/soc_etm/ch/evt_id.rs new file mode 100644 index 0000000000..efbfc94bcf --- /dev/null +++ b/esp32p4/src/soc_etm/ch/evt_id.rs @@ -0,0 +1,54 @@ +#[doc = "Register `EVT_ID` reader"] +pub type R = crate::R; +#[doc = "Register `EVT_ID` writer"] +pub type W = crate::W; +#[doc = "Field `EVT_ID` reader - Configures ch0_evt_id"] +pub type EVT_ID_R = crate::FieldReader; +#[doc = "Field `EVT_ID` writer - Configures ch0_evt_id"] +pub type EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; +impl R { + #[doc = "Bits 0:7 - Configures ch0_evt_id"] + #[inline(always)] + pub fn evt_id(&self) -> EVT_ID_R { + EVT_ID_R::new((self.bits & 0xff) as u8) + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for R { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + f.debug_struct("EVT_ID") + .field("evt_id", &format_args!("{}", self.evt_id().bits())) + .finish() + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for crate::generic::Reg { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + core::fmt::Debug::fmt(&self.read(), f) + } +} +impl W { + #[doc = "Bits 0:7 - Configures ch0_evt_id"] + #[inline(always)] + #[must_use] + pub fn evt_id(&mut self) -> EVT_ID_W { + EVT_ID_W::new(self, 0) + } +} +#[doc = "Channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +pub struct EVT_ID_SPEC; +impl crate::RegisterSpec for EVT_ID_SPEC { + type Ux = u32; +} +#[doc = "`read()` method returns [`evt_id::R`](R) reader structure"] +impl crate::Readable for EVT_ID_SPEC {} +#[doc = "`write(|w| ..)` method takes [`evt_id::W`](W) writer structure"] +impl crate::Writable for EVT_ID_SPEC { + type Safety = crate::Unsafe; + const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; +} +#[doc = "`reset()` method sets EVT_ID to value 0"] +impl crate::Resettable for EVT_ID_SPEC { + const RESET_VALUE: u32 = 0; +} diff --git a/esp32p4/src/soc_etm/ch/task_id.rs b/esp32p4/src/soc_etm/ch/task_id.rs new file mode 100644 index 0000000000..6d9fc00cfd --- /dev/null +++ b/esp32p4/src/soc_etm/ch/task_id.rs @@ -0,0 +1,54 @@ +#[doc = "Register `TASK_ID` reader"] +pub type R = crate::R; +#[doc = "Register `TASK_ID` writer"] +pub type W = crate::W; +#[doc = "Field `TASK_ID` reader - Configures ch0_task_id"] +pub type TASK_ID_R = crate::FieldReader; +#[doc = "Field `TASK_ID` writer - Configures ch0_task_id"] +pub type TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; +impl R { + #[doc = "Bits 0:7 - Configures ch0_task_id"] + #[inline(always)] + pub fn task_id(&self) -> TASK_ID_R { + TASK_ID_R::new((self.bits & 0xff) as u8) + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for R { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { + f.debug_struct("TASK_ID") + .field("task_id", &format_args!("{}", self.task_id().bits())) + .finish() + } +} +#[cfg(feature = "impl-register-debug")] +impl core::fmt::Debug for crate::generic::Reg { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { + core::fmt::Debug::fmt(&self.read(), f) + } +} +impl W { + #[doc = "Bits 0:7 - Configures ch0_task_id"] + #[inline(always)] + #[must_use] + pub fn task_id(&mut self) -> TASK_ID_W { + TASK_ID_W::new(self, 0) + } +} +#[doc = "Channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +pub struct TASK_ID_SPEC; +impl crate::RegisterSpec for TASK_ID_SPEC { + type Ux = u32; +} +#[doc = "`read()` method returns [`task_id::R`](R) reader structure"] +impl crate::Readable for TASK_ID_SPEC {} +#[doc = "`write(|w| ..)` method takes [`task_id::W`](W) writer structure"] +impl crate::Writable for TASK_ID_SPEC { + type Safety = crate::Unsafe; + const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; +} +#[doc = "`reset()` method sets TASK_ID to value 0"] +impl crate::Resettable for TASK_ID_SPEC { + const RESET_VALUE: u32 = 0; +} diff --git a/esp32p4/src/soc_etm/ch0_evt_id.rs b/esp32p4/src/soc_etm/ch0_evt_id.rs deleted file mode 100644 index 2c56e405ee..0000000000 --- a/esp32p4/src/soc_etm/ch0_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH0_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH0_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH0_EVT_ID` reader - Configures ch0_evt_id"] -pub type CH0_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH0_EVT_ID` writer - Configures ch0_evt_id"] -pub type CH0_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch0_evt_id"] - #[inline(always)] - pub fn ch0_evt_id(&self) -> CH0_EVT_ID_R { - CH0_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH0_EVT_ID") - .field("ch0_evt_id", &format_args!("{}", self.ch0_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch0_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch0_evt_id(&mut self) -> CH0_EVT_ID_W { - CH0_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel0 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH0_EVT_ID_SPEC; -impl crate::RegisterSpec for CH0_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch0_evt_id::R`](R) reader structure"] -impl crate::Readable for CH0_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch0_evt_id::W`](W) writer structure"] -impl crate::Writable for CH0_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH0_EVT_ID to value 0"] -impl crate::Resettable for CH0_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch0_task_id.rs b/esp32p4/src/soc_etm/ch0_task_id.rs deleted file mode 100644 index 5da77a651f..0000000000 --- a/esp32p4/src/soc_etm/ch0_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH0_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH0_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH0_TASK_ID` reader - Configures ch0_task_id"] -pub type CH0_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH0_TASK_ID` writer - Configures ch0_task_id"] -pub type CH0_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch0_task_id"] - #[inline(always)] - pub fn ch0_task_id(&self) -> CH0_TASK_ID_R { - CH0_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH0_TASK_ID") - .field( - "ch0_task_id", - &format_args!("{}", self.ch0_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch0_task_id"] - #[inline(always)] - #[must_use] - pub fn ch0_task_id(&mut self) -> CH0_TASK_ID_W { - CH0_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel0 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch0_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch0_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH0_TASK_ID_SPEC; -impl crate::RegisterSpec for CH0_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch0_task_id::R`](R) reader structure"] -impl crate::Readable for CH0_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch0_task_id::W`](W) writer structure"] -impl crate::Writable for CH0_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH0_TASK_ID to value 0"] -impl crate::Resettable for CH0_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch10_evt_id.rs b/esp32p4/src/soc_etm/ch10_evt_id.rs deleted file mode 100644 index a1a7c6a156..0000000000 --- a/esp32p4/src/soc_etm/ch10_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH10_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH10_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH10_EVT_ID` reader - Configures ch10_evt_id"] -pub type CH10_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH10_EVT_ID` writer - Configures ch10_evt_id"] -pub type CH10_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch10_evt_id"] - #[inline(always)] - pub fn ch10_evt_id(&self) -> CH10_EVT_ID_R { - CH10_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH10_EVT_ID") - .field( - "ch10_evt_id", - &format_args!("{}", self.ch10_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch10_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch10_evt_id(&mut self) -> CH10_EVT_ID_W { - CH10_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel10 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH10_EVT_ID_SPEC; -impl crate::RegisterSpec for CH10_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch10_evt_id::R`](R) reader structure"] -impl crate::Readable for CH10_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch10_evt_id::W`](W) writer structure"] -impl crate::Writable for CH10_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH10_EVT_ID to value 0"] -impl crate::Resettable for CH10_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch10_task_id.rs b/esp32p4/src/soc_etm/ch10_task_id.rs deleted file mode 100644 index 3d584108ca..0000000000 --- a/esp32p4/src/soc_etm/ch10_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH10_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH10_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH10_TASK_ID` reader - Configures ch10_task_id"] -pub type CH10_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH10_TASK_ID` writer - Configures ch10_task_id"] -pub type CH10_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch10_task_id"] - #[inline(always)] - pub fn ch10_task_id(&self) -> CH10_TASK_ID_R { - CH10_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH10_TASK_ID") - .field( - "ch10_task_id", - &format_args!("{}", self.ch10_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch10_task_id"] - #[inline(always)] - #[must_use] - pub fn ch10_task_id(&mut self) -> CH10_TASK_ID_W { - CH10_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel10 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch10_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch10_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH10_TASK_ID_SPEC; -impl crate::RegisterSpec for CH10_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch10_task_id::R`](R) reader structure"] -impl crate::Readable for CH10_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch10_task_id::W`](W) writer structure"] -impl crate::Writable for CH10_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH10_TASK_ID to value 0"] -impl crate::Resettable for CH10_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch11_evt_id.rs b/esp32p4/src/soc_etm/ch11_evt_id.rs deleted file mode 100644 index 0b75c0570d..0000000000 --- a/esp32p4/src/soc_etm/ch11_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH11_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH11_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH11_EVT_ID` reader - Configures ch11_evt_id"] -pub type CH11_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH11_EVT_ID` writer - Configures ch11_evt_id"] -pub type CH11_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch11_evt_id"] - #[inline(always)] - pub fn ch11_evt_id(&self) -> CH11_EVT_ID_R { - CH11_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH11_EVT_ID") - .field( - "ch11_evt_id", - &format_args!("{}", self.ch11_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch11_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch11_evt_id(&mut self) -> CH11_EVT_ID_W { - CH11_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel11 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH11_EVT_ID_SPEC; -impl crate::RegisterSpec for CH11_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch11_evt_id::R`](R) reader structure"] -impl crate::Readable for CH11_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch11_evt_id::W`](W) writer structure"] -impl crate::Writable for CH11_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH11_EVT_ID to value 0"] -impl crate::Resettable for CH11_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch11_task_id.rs b/esp32p4/src/soc_etm/ch11_task_id.rs deleted file mode 100644 index 19e2edf832..0000000000 --- a/esp32p4/src/soc_etm/ch11_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH11_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH11_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH11_TASK_ID` reader - Configures ch11_task_id"] -pub type CH11_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH11_TASK_ID` writer - Configures ch11_task_id"] -pub type CH11_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch11_task_id"] - #[inline(always)] - pub fn ch11_task_id(&self) -> CH11_TASK_ID_R { - CH11_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH11_TASK_ID") - .field( - "ch11_task_id", - &format_args!("{}", self.ch11_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch11_task_id"] - #[inline(always)] - #[must_use] - pub fn ch11_task_id(&mut self) -> CH11_TASK_ID_W { - CH11_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel11 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch11_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch11_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH11_TASK_ID_SPEC; -impl crate::RegisterSpec for CH11_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch11_task_id::R`](R) reader structure"] -impl crate::Readable for CH11_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch11_task_id::W`](W) writer structure"] -impl crate::Writable for CH11_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH11_TASK_ID to value 0"] -impl crate::Resettable for CH11_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch12_evt_id.rs b/esp32p4/src/soc_etm/ch12_evt_id.rs deleted file mode 100644 index 43170794fa..0000000000 --- a/esp32p4/src/soc_etm/ch12_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH12_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH12_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH12_EVT_ID` reader - Configures ch12_evt_id"] -pub type CH12_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH12_EVT_ID` writer - Configures ch12_evt_id"] -pub type CH12_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch12_evt_id"] - #[inline(always)] - pub fn ch12_evt_id(&self) -> CH12_EVT_ID_R { - CH12_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH12_EVT_ID") - .field( - "ch12_evt_id", - &format_args!("{}", self.ch12_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch12_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch12_evt_id(&mut self) -> CH12_EVT_ID_W { - CH12_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel12 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH12_EVT_ID_SPEC; -impl crate::RegisterSpec for CH12_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch12_evt_id::R`](R) reader structure"] -impl crate::Readable for CH12_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch12_evt_id::W`](W) writer structure"] -impl crate::Writable for CH12_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH12_EVT_ID to value 0"] -impl crate::Resettable for CH12_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch12_task_id.rs b/esp32p4/src/soc_etm/ch12_task_id.rs deleted file mode 100644 index e3a151b3c3..0000000000 --- a/esp32p4/src/soc_etm/ch12_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH12_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH12_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH12_TASK_ID` reader - Configures ch12_task_id"] -pub type CH12_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH12_TASK_ID` writer - Configures ch12_task_id"] -pub type CH12_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch12_task_id"] - #[inline(always)] - pub fn ch12_task_id(&self) -> CH12_TASK_ID_R { - CH12_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH12_TASK_ID") - .field( - "ch12_task_id", - &format_args!("{}", self.ch12_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch12_task_id"] - #[inline(always)] - #[must_use] - pub fn ch12_task_id(&mut self) -> CH12_TASK_ID_W { - CH12_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel12 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch12_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch12_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH12_TASK_ID_SPEC; -impl crate::RegisterSpec for CH12_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch12_task_id::R`](R) reader structure"] -impl crate::Readable for CH12_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch12_task_id::W`](W) writer structure"] -impl crate::Writable for CH12_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH12_TASK_ID to value 0"] -impl crate::Resettable for CH12_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch13_evt_id.rs b/esp32p4/src/soc_etm/ch13_evt_id.rs deleted file mode 100644 index 30fb1ee669..0000000000 --- a/esp32p4/src/soc_etm/ch13_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH13_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH13_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH13_EVT_ID` reader - Configures ch13_evt_id"] -pub type CH13_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH13_EVT_ID` writer - Configures ch13_evt_id"] -pub type CH13_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch13_evt_id"] - #[inline(always)] - pub fn ch13_evt_id(&self) -> CH13_EVT_ID_R { - CH13_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH13_EVT_ID") - .field( - "ch13_evt_id", - &format_args!("{}", self.ch13_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch13_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch13_evt_id(&mut self) -> CH13_EVT_ID_W { - CH13_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel13 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH13_EVT_ID_SPEC; -impl crate::RegisterSpec for CH13_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch13_evt_id::R`](R) reader structure"] -impl crate::Readable for CH13_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch13_evt_id::W`](W) writer structure"] -impl crate::Writable for CH13_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH13_EVT_ID to value 0"] -impl crate::Resettable for CH13_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch13_task_id.rs b/esp32p4/src/soc_etm/ch13_task_id.rs deleted file mode 100644 index 8fad261904..0000000000 --- a/esp32p4/src/soc_etm/ch13_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH13_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH13_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH13_TASK_ID` reader - Configures ch13_task_id"] -pub type CH13_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH13_TASK_ID` writer - Configures ch13_task_id"] -pub type CH13_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch13_task_id"] - #[inline(always)] - pub fn ch13_task_id(&self) -> CH13_TASK_ID_R { - CH13_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH13_TASK_ID") - .field( - "ch13_task_id", - &format_args!("{}", self.ch13_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch13_task_id"] - #[inline(always)] - #[must_use] - pub fn ch13_task_id(&mut self) -> CH13_TASK_ID_W { - CH13_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel13 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch13_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch13_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH13_TASK_ID_SPEC; -impl crate::RegisterSpec for CH13_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch13_task_id::R`](R) reader structure"] -impl crate::Readable for CH13_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch13_task_id::W`](W) writer structure"] -impl crate::Writable for CH13_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH13_TASK_ID to value 0"] -impl crate::Resettable for CH13_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch14_evt_id.rs b/esp32p4/src/soc_etm/ch14_evt_id.rs deleted file mode 100644 index 78098dfc19..0000000000 --- a/esp32p4/src/soc_etm/ch14_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH14_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH14_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH14_EVT_ID` reader - Configures ch14_evt_id"] -pub type CH14_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH14_EVT_ID` writer - Configures ch14_evt_id"] -pub type CH14_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch14_evt_id"] - #[inline(always)] - pub fn ch14_evt_id(&self) -> CH14_EVT_ID_R { - CH14_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH14_EVT_ID") - .field( - "ch14_evt_id", - &format_args!("{}", self.ch14_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch14_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch14_evt_id(&mut self) -> CH14_EVT_ID_W { - CH14_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel14 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH14_EVT_ID_SPEC; -impl crate::RegisterSpec for CH14_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch14_evt_id::R`](R) reader structure"] -impl crate::Readable for CH14_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch14_evt_id::W`](W) writer structure"] -impl crate::Writable for CH14_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH14_EVT_ID to value 0"] -impl crate::Resettable for CH14_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch14_task_id.rs b/esp32p4/src/soc_etm/ch14_task_id.rs deleted file mode 100644 index 014c4914b3..0000000000 --- a/esp32p4/src/soc_etm/ch14_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH14_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH14_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH14_TASK_ID` reader - Configures ch14_task_id"] -pub type CH14_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH14_TASK_ID` writer - Configures ch14_task_id"] -pub type CH14_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch14_task_id"] - #[inline(always)] - pub fn ch14_task_id(&self) -> CH14_TASK_ID_R { - CH14_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH14_TASK_ID") - .field( - "ch14_task_id", - &format_args!("{}", self.ch14_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch14_task_id"] - #[inline(always)] - #[must_use] - pub fn ch14_task_id(&mut self) -> CH14_TASK_ID_W { - CH14_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel14 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch14_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch14_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH14_TASK_ID_SPEC; -impl crate::RegisterSpec for CH14_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch14_task_id::R`](R) reader structure"] -impl crate::Readable for CH14_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch14_task_id::W`](W) writer structure"] -impl crate::Writable for CH14_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH14_TASK_ID to value 0"] -impl crate::Resettable for CH14_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch15_evt_id.rs b/esp32p4/src/soc_etm/ch15_evt_id.rs deleted file mode 100644 index 19471c9f91..0000000000 --- a/esp32p4/src/soc_etm/ch15_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH15_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH15_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH15_EVT_ID` reader - Configures ch15_evt_id"] -pub type CH15_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH15_EVT_ID` writer - Configures ch15_evt_id"] -pub type CH15_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch15_evt_id"] - #[inline(always)] - pub fn ch15_evt_id(&self) -> CH15_EVT_ID_R { - CH15_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH15_EVT_ID") - .field( - "ch15_evt_id", - &format_args!("{}", self.ch15_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch15_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch15_evt_id(&mut self) -> CH15_EVT_ID_W { - CH15_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel15 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH15_EVT_ID_SPEC; -impl crate::RegisterSpec for CH15_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch15_evt_id::R`](R) reader structure"] -impl crate::Readable for CH15_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch15_evt_id::W`](W) writer structure"] -impl crate::Writable for CH15_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH15_EVT_ID to value 0"] -impl crate::Resettable for CH15_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch15_task_id.rs b/esp32p4/src/soc_etm/ch15_task_id.rs deleted file mode 100644 index f9b52cc54c..0000000000 --- a/esp32p4/src/soc_etm/ch15_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH15_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH15_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH15_TASK_ID` reader - Configures ch15_task_id"] -pub type CH15_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH15_TASK_ID` writer - Configures ch15_task_id"] -pub type CH15_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch15_task_id"] - #[inline(always)] - pub fn ch15_task_id(&self) -> CH15_TASK_ID_R { - CH15_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH15_TASK_ID") - .field( - "ch15_task_id", - &format_args!("{}", self.ch15_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch15_task_id"] - #[inline(always)] - #[must_use] - pub fn ch15_task_id(&mut self) -> CH15_TASK_ID_W { - CH15_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel15 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch15_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch15_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH15_TASK_ID_SPEC; -impl crate::RegisterSpec for CH15_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch15_task_id::R`](R) reader structure"] -impl crate::Readable for CH15_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch15_task_id::W`](W) writer structure"] -impl crate::Writable for CH15_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH15_TASK_ID to value 0"] -impl crate::Resettable for CH15_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch16_evt_id.rs b/esp32p4/src/soc_etm/ch16_evt_id.rs deleted file mode 100644 index 427c2b15e6..0000000000 --- a/esp32p4/src/soc_etm/ch16_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH16_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH16_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH16_EVT_ID` reader - Configures ch16_evt_id"] -pub type CH16_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH16_EVT_ID` writer - Configures ch16_evt_id"] -pub type CH16_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch16_evt_id"] - #[inline(always)] - pub fn ch16_evt_id(&self) -> CH16_EVT_ID_R { - CH16_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH16_EVT_ID") - .field( - "ch16_evt_id", - &format_args!("{}", self.ch16_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch16_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch16_evt_id(&mut self) -> CH16_EVT_ID_W { - CH16_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel16 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH16_EVT_ID_SPEC; -impl crate::RegisterSpec for CH16_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch16_evt_id::R`](R) reader structure"] -impl crate::Readable for CH16_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch16_evt_id::W`](W) writer structure"] -impl crate::Writable for CH16_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH16_EVT_ID to value 0"] -impl crate::Resettable for CH16_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch16_task_id.rs b/esp32p4/src/soc_etm/ch16_task_id.rs deleted file mode 100644 index 6d51380025..0000000000 --- a/esp32p4/src/soc_etm/ch16_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH16_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH16_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH16_TASK_ID` reader - Configures ch16_task_id"] -pub type CH16_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH16_TASK_ID` writer - Configures ch16_task_id"] -pub type CH16_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch16_task_id"] - #[inline(always)] - pub fn ch16_task_id(&self) -> CH16_TASK_ID_R { - CH16_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH16_TASK_ID") - .field( - "ch16_task_id", - &format_args!("{}", self.ch16_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch16_task_id"] - #[inline(always)] - #[must_use] - pub fn ch16_task_id(&mut self) -> CH16_TASK_ID_W { - CH16_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel16 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch16_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch16_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH16_TASK_ID_SPEC; -impl crate::RegisterSpec for CH16_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch16_task_id::R`](R) reader structure"] -impl crate::Readable for CH16_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch16_task_id::W`](W) writer structure"] -impl crate::Writable for CH16_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH16_TASK_ID to value 0"] -impl crate::Resettable for CH16_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch17_evt_id.rs b/esp32p4/src/soc_etm/ch17_evt_id.rs deleted file mode 100644 index fd36ddc40b..0000000000 --- a/esp32p4/src/soc_etm/ch17_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH17_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH17_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH17_EVT_ID` reader - Configures ch17_evt_id"] -pub type CH17_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH17_EVT_ID` writer - Configures ch17_evt_id"] -pub type CH17_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch17_evt_id"] - #[inline(always)] - pub fn ch17_evt_id(&self) -> CH17_EVT_ID_R { - CH17_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH17_EVT_ID") - .field( - "ch17_evt_id", - &format_args!("{}", self.ch17_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch17_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch17_evt_id(&mut self) -> CH17_EVT_ID_W { - CH17_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel17 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH17_EVT_ID_SPEC; -impl crate::RegisterSpec for CH17_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch17_evt_id::R`](R) reader structure"] -impl crate::Readable for CH17_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch17_evt_id::W`](W) writer structure"] -impl crate::Writable for CH17_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH17_EVT_ID to value 0"] -impl crate::Resettable for CH17_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch17_task_id.rs b/esp32p4/src/soc_etm/ch17_task_id.rs deleted file mode 100644 index 400729216a..0000000000 --- a/esp32p4/src/soc_etm/ch17_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH17_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH17_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH17_TASK_ID` reader - Configures ch17_task_id"] -pub type CH17_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH17_TASK_ID` writer - Configures ch17_task_id"] -pub type CH17_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch17_task_id"] - #[inline(always)] - pub fn ch17_task_id(&self) -> CH17_TASK_ID_R { - CH17_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH17_TASK_ID") - .field( - "ch17_task_id", - &format_args!("{}", self.ch17_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch17_task_id"] - #[inline(always)] - #[must_use] - pub fn ch17_task_id(&mut self) -> CH17_TASK_ID_W { - CH17_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel17 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch17_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch17_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH17_TASK_ID_SPEC; -impl crate::RegisterSpec for CH17_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch17_task_id::R`](R) reader structure"] -impl crate::Readable for CH17_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch17_task_id::W`](W) writer structure"] -impl crate::Writable for CH17_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH17_TASK_ID to value 0"] -impl crate::Resettable for CH17_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch18_evt_id.rs b/esp32p4/src/soc_etm/ch18_evt_id.rs deleted file mode 100644 index c60b7986d0..0000000000 --- a/esp32p4/src/soc_etm/ch18_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH18_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH18_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH18_EVT_ID` reader - Configures ch18_evt_id"] -pub type CH18_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH18_EVT_ID` writer - Configures ch18_evt_id"] -pub type CH18_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch18_evt_id"] - #[inline(always)] - pub fn ch18_evt_id(&self) -> CH18_EVT_ID_R { - CH18_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH18_EVT_ID") - .field( - "ch18_evt_id", - &format_args!("{}", self.ch18_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch18_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch18_evt_id(&mut self) -> CH18_EVT_ID_W { - CH18_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel18 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH18_EVT_ID_SPEC; -impl crate::RegisterSpec for CH18_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch18_evt_id::R`](R) reader structure"] -impl crate::Readable for CH18_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch18_evt_id::W`](W) writer structure"] -impl crate::Writable for CH18_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH18_EVT_ID to value 0"] -impl crate::Resettable for CH18_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch18_task_id.rs b/esp32p4/src/soc_etm/ch18_task_id.rs deleted file mode 100644 index b188056ed8..0000000000 --- a/esp32p4/src/soc_etm/ch18_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH18_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH18_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH18_TASK_ID` reader - Configures ch18_task_id"] -pub type CH18_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH18_TASK_ID` writer - Configures ch18_task_id"] -pub type CH18_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch18_task_id"] - #[inline(always)] - pub fn ch18_task_id(&self) -> CH18_TASK_ID_R { - CH18_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH18_TASK_ID") - .field( - "ch18_task_id", - &format_args!("{}", self.ch18_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch18_task_id"] - #[inline(always)] - #[must_use] - pub fn ch18_task_id(&mut self) -> CH18_TASK_ID_W { - CH18_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel18 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch18_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch18_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH18_TASK_ID_SPEC; -impl crate::RegisterSpec for CH18_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch18_task_id::R`](R) reader structure"] -impl crate::Readable for CH18_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch18_task_id::W`](W) writer structure"] -impl crate::Writable for CH18_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH18_TASK_ID to value 0"] -impl crate::Resettable for CH18_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch19_evt_id.rs b/esp32p4/src/soc_etm/ch19_evt_id.rs deleted file mode 100644 index 651536534b..0000000000 --- a/esp32p4/src/soc_etm/ch19_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH19_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH19_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH19_EVT_ID` reader - Configures ch19_evt_id"] -pub type CH19_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH19_EVT_ID` writer - Configures ch19_evt_id"] -pub type CH19_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch19_evt_id"] - #[inline(always)] - pub fn ch19_evt_id(&self) -> CH19_EVT_ID_R { - CH19_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH19_EVT_ID") - .field( - "ch19_evt_id", - &format_args!("{}", self.ch19_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch19_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch19_evt_id(&mut self) -> CH19_EVT_ID_W { - CH19_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel19 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH19_EVT_ID_SPEC; -impl crate::RegisterSpec for CH19_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch19_evt_id::R`](R) reader structure"] -impl crate::Readable for CH19_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch19_evt_id::W`](W) writer structure"] -impl crate::Writable for CH19_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH19_EVT_ID to value 0"] -impl crate::Resettable for CH19_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch19_task_id.rs b/esp32p4/src/soc_etm/ch19_task_id.rs deleted file mode 100644 index a07ca9a7da..0000000000 --- a/esp32p4/src/soc_etm/ch19_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH19_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH19_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH19_TASK_ID` reader - Configures ch19_task_id"] -pub type CH19_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH19_TASK_ID` writer - Configures ch19_task_id"] -pub type CH19_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch19_task_id"] - #[inline(always)] - pub fn ch19_task_id(&self) -> CH19_TASK_ID_R { - CH19_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH19_TASK_ID") - .field( - "ch19_task_id", - &format_args!("{}", self.ch19_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch19_task_id"] - #[inline(always)] - #[must_use] - pub fn ch19_task_id(&mut self) -> CH19_TASK_ID_W { - CH19_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel19 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch19_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch19_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH19_TASK_ID_SPEC; -impl crate::RegisterSpec for CH19_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch19_task_id::R`](R) reader structure"] -impl crate::Readable for CH19_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch19_task_id::W`](W) writer structure"] -impl crate::Writable for CH19_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH19_TASK_ID to value 0"] -impl crate::Resettable for CH19_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch1_evt_id.rs b/esp32p4/src/soc_etm/ch1_evt_id.rs deleted file mode 100644 index 9edb55ba8e..0000000000 --- a/esp32p4/src/soc_etm/ch1_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH1_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH1_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH1_EVT_ID` reader - Configures ch1_evt_id"] -pub type CH1_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH1_EVT_ID` writer - Configures ch1_evt_id"] -pub type CH1_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch1_evt_id"] - #[inline(always)] - pub fn ch1_evt_id(&self) -> CH1_EVT_ID_R { - CH1_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH1_EVT_ID") - .field("ch1_evt_id", &format_args!("{}", self.ch1_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch1_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch1_evt_id(&mut self) -> CH1_EVT_ID_W { - CH1_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel1 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH1_EVT_ID_SPEC; -impl crate::RegisterSpec for CH1_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch1_evt_id::R`](R) reader structure"] -impl crate::Readable for CH1_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch1_evt_id::W`](W) writer structure"] -impl crate::Writable for CH1_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH1_EVT_ID to value 0"] -impl crate::Resettable for CH1_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch1_task_id.rs b/esp32p4/src/soc_etm/ch1_task_id.rs deleted file mode 100644 index 5c8e8a48f2..0000000000 --- a/esp32p4/src/soc_etm/ch1_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH1_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH1_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH1_TASK_ID` reader - Configures ch1_task_id"] -pub type CH1_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH1_TASK_ID` writer - Configures ch1_task_id"] -pub type CH1_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch1_task_id"] - #[inline(always)] - pub fn ch1_task_id(&self) -> CH1_TASK_ID_R { - CH1_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH1_TASK_ID") - .field( - "ch1_task_id", - &format_args!("{}", self.ch1_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch1_task_id"] - #[inline(always)] - #[must_use] - pub fn ch1_task_id(&mut self) -> CH1_TASK_ID_W { - CH1_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel1 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch1_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch1_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH1_TASK_ID_SPEC; -impl crate::RegisterSpec for CH1_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch1_task_id::R`](R) reader structure"] -impl crate::Readable for CH1_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch1_task_id::W`](W) writer structure"] -impl crate::Writable for CH1_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH1_TASK_ID to value 0"] -impl crate::Resettable for CH1_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch20_evt_id.rs b/esp32p4/src/soc_etm/ch20_evt_id.rs deleted file mode 100644 index 579f814ca3..0000000000 --- a/esp32p4/src/soc_etm/ch20_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH20_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH20_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH20_EVT_ID` reader - Configures ch20_evt_id"] -pub type CH20_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH20_EVT_ID` writer - Configures ch20_evt_id"] -pub type CH20_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch20_evt_id"] - #[inline(always)] - pub fn ch20_evt_id(&self) -> CH20_EVT_ID_R { - CH20_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH20_EVT_ID") - .field( - "ch20_evt_id", - &format_args!("{}", self.ch20_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch20_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch20_evt_id(&mut self) -> CH20_EVT_ID_W { - CH20_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel20 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH20_EVT_ID_SPEC; -impl crate::RegisterSpec for CH20_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch20_evt_id::R`](R) reader structure"] -impl crate::Readable for CH20_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch20_evt_id::W`](W) writer structure"] -impl crate::Writable for CH20_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH20_EVT_ID to value 0"] -impl crate::Resettable for CH20_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch20_task_id.rs b/esp32p4/src/soc_etm/ch20_task_id.rs deleted file mode 100644 index 0924adbb62..0000000000 --- a/esp32p4/src/soc_etm/ch20_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH20_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH20_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH20_TASK_ID` reader - Configures ch20_task_id"] -pub type CH20_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH20_TASK_ID` writer - Configures ch20_task_id"] -pub type CH20_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch20_task_id"] - #[inline(always)] - pub fn ch20_task_id(&self) -> CH20_TASK_ID_R { - CH20_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH20_TASK_ID") - .field( - "ch20_task_id", - &format_args!("{}", self.ch20_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch20_task_id"] - #[inline(always)] - #[must_use] - pub fn ch20_task_id(&mut self) -> CH20_TASK_ID_W { - CH20_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel20 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch20_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch20_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH20_TASK_ID_SPEC; -impl crate::RegisterSpec for CH20_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch20_task_id::R`](R) reader structure"] -impl crate::Readable for CH20_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch20_task_id::W`](W) writer structure"] -impl crate::Writable for CH20_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH20_TASK_ID to value 0"] -impl crate::Resettable for CH20_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch21_evt_id.rs b/esp32p4/src/soc_etm/ch21_evt_id.rs deleted file mode 100644 index 82ee82340a..0000000000 --- a/esp32p4/src/soc_etm/ch21_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH21_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH21_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH21_EVT_ID` reader - Configures ch21_evt_id"] -pub type CH21_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH21_EVT_ID` writer - Configures ch21_evt_id"] -pub type CH21_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch21_evt_id"] - #[inline(always)] - pub fn ch21_evt_id(&self) -> CH21_EVT_ID_R { - CH21_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH21_EVT_ID") - .field( - "ch21_evt_id", - &format_args!("{}", self.ch21_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch21_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch21_evt_id(&mut self) -> CH21_EVT_ID_W { - CH21_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel21 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH21_EVT_ID_SPEC; -impl crate::RegisterSpec for CH21_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch21_evt_id::R`](R) reader structure"] -impl crate::Readable for CH21_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch21_evt_id::W`](W) writer structure"] -impl crate::Writable for CH21_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH21_EVT_ID to value 0"] -impl crate::Resettable for CH21_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch21_task_id.rs b/esp32p4/src/soc_etm/ch21_task_id.rs deleted file mode 100644 index 2d85e6610d..0000000000 --- a/esp32p4/src/soc_etm/ch21_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH21_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH21_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH21_TASK_ID` reader - Configures ch21_task_id"] -pub type CH21_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH21_TASK_ID` writer - Configures ch21_task_id"] -pub type CH21_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch21_task_id"] - #[inline(always)] - pub fn ch21_task_id(&self) -> CH21_TASK_ID_R { - CH21_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH21_TASK_ID") - .field( - "ch21_task_id", - &format_args!("{}", self.ch21_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch21_task_id"] - #[inline(always)] - #[must_use] - pub fn ch21_task_id(&mut self) -> CH21_TASK_ID_W { - CH21_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel21 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch21_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch21_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH21_TASK_ID_SPEC; -impl crate::RegisterSpec for CH21_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch21_task_id::R`](R) reader structure"] -impl crate::Readable for CH21_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch21_task_id::W`](W) writer structure"] -impl crate::Writable for CH21_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH21_TASK_ID to value 0"] -impl crate::Resettable for CH21_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch22_evt_id.rs b/esp32p4/src/soc_etm/ch22_evt_id.rs deleted file mode 100644 index 388486b232..0000000000 --- a/esp32p4/src/soc_etm/ch22_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH22_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH22_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH22_EVT_ID` reader - Configures ch22_evt_id"] -pub type CH22_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH22_EVT_ID` writer - Configures ch22_evt_id"] -pub type CH22_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch22_evt_id"] - #[inline(always)] - pub fn ch22_evt_id(&self) -> CH22_EVT_ID_R { - CH22_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH22_EVT_ID") - .field( - "ch22_evt_id", - &format_args!("{}", self.ch22_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch22_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch22_evt_id(&mut self) -> CH22_EVT_ID_W { - CH22_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel22 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH22_EVT_ID_SPEC; -impl crate::RegisterSpec for CH22_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch22_evt_id::R`](R) reader structure"] -impl crate::Readable for CH22_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch22_evt_id::W`](W) writer structure"] -impl crate::Writable for CH22_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH22_EVT_ID to value 0"] -impl crate::Resettable for CH22_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch22_task_id.rs b/esp32p4/src/soc_etm/ch22_task_id.rs deleted file mode 100644 index 366147b757..0000000000 --- a/esp32p4/src/soc_etm/ch22_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH22_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH22_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH22_TASK_ID` reader - Configures ch22_task_id"] -pub type CH22_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH22_TASK_ID` writer - Configures ch22_task_id"] -pub type CH22_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch22_task_id"] - #[inline(always)] - pub fn ch22_task_id(&self) -> CH22_TASK_ID_R { - CH22_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH22_TASK_ID") - .field( - "ch22_task_id", - &format_args!("{}", self.ch22_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch22_task_id"] - #[inline(always)] - #[must_use] - pub fn ch22_task_id(&mut self) -> CH22_TASK_ID_W { - CH22_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel22 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch22_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch22_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH22_TASK_ID_SPEC; -impl crate::RegisterSpec for CH22_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch22_task_id::R`](R) reader structure"] -impl crate::Readable for CH22_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch22_task_id::W`](W) writer structure"] -impl crate::Writable for CH22_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH22_TASK_ID to value 0"] -impl crate::Resettable for CH22_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch23_evt_id.rs b/esp32p4/src/soc_etm/ch23_evt_id.rs deleted file mode 100644 index cdcab2d391..0000000000 --- a/esp32p4/src/soc_etm/ch23_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH23_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH23_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH23_EVT_ID` reader - Configures ch23_evt_id"] -pub type CH23_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH23_EVT_ID` writer - Configures ch23_evt_id"] -pub type CH23_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch23_evt_id"] - #[inline(always)] - pub fn ch23_evt_id(&self) -> CH23_EVT_ID_R { - CH23_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH23_EVT_ID") - .field( - "ch23_evt_id", - &format_args!("{}", self.ch23_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch23_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch23_evt_id(&mut self) -> CH23_EVT_ID_W { - CH23_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel23 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH23_EVT_ID_SPEC; -impl crate::RegisterSpec for CH23_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch23_evt_id::R`](R) reader structure"] -impl crate::Readable for CH23_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch23_evt_id::W`](W) writer structure"] -impl crate::Writable for CH23_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH23_EVT_ID to value 0"] -impl crate::Resettable for CH23_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch23_task_id.rs b/esp32p4/src/soc_etm/ch23_task_id.rs deleted file mode 100644 index 560adbc0f5..0000000000 --- a/esp32p4/src/soc_etm/ch23_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH23_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH23_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH23_TASK_ID` reader - Configures ch23_task_id"] -pub type CH23_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH23_TASK_ID` writer - Configures ch23_task_id"] -pub type CH23_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch23_task_id"] - #[inline(always)] - pub fn ch23_task_id(&self) -> CH23_TASK_ID_R { - CH23_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH23_TASK_ID") - .field( - "ch23_task_id", - &format_args!("{}", self.ch23_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch23_task_id"] - #[inline(always)] - #[must_use] - pub fn ch23_task_id(&mut self) -> CH23_TASK_ID_W { - CH23_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel23 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch23_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch23_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH23_TASK_ID_SPEC; -impl crate::RegisterSpec for CH23_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch23_task_id::R`](R) reader structure"] -impl crate::Readable for CH23_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch23_task_id::W`](W) writer structure"] -impl crate::Writable for CH23_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH23_TASK_ID to value 0"] -impl crate::Resettable for CH23_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch24_evt_id.rs b/esp32p4/src/soc_etm/ch24_evt_id.rs deleted file mode 100644 index 1419337cb3..0000000000 --- a/esp32p4/src/soc_etm/ch24_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH24_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH24_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH24_EVT_ID` reader - Configures ch24_evt_id"] -pub type CH24_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH24_EVT_ID` writer - Configures ch24_evt_id"] -pub type CH24_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch24_evt_id"] - #[inline(always)] - pub fn ch24_evt_id(&self) -> CH24_EVT_ID_R { - CH24_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH24_EVT_ID") - .field( - "ch24_evt_id", - &format_args!("{}", self.ch24_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch24_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch24_evt_id(&mut self) -> CH24_EVT_ID_W { - CH24_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel24 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH24_EVT_ID_SPEC; -impl crate::RegisterSpec for CH24_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch24_evt_id::R`](R) reader structure"] -impl crate::Readable for CH24_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch24_evt_id::W`](W) writer structure"] -impl crate::Writable for CH24_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH24_EVT_ID to value 0"] -impl crate::Resettable for CH24_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch24_task_id.rs b/esp32p4/src/soc_etm/ch24_task_id.rs deleted file mode 100644 index 2f112edd95..0000000000 --- a/esp32p4/src/soc_etm/ch24_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH24_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH24_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH24_TASK_ID` reader - Configures ch24_task_id"] -pub type CH24_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH24_TASK_ID` writer - Configures ch24_task_id"] -pub type CH24_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch24_task_id"] - #[inline(always)] - pub fn ch24_task_id(&self) -> CH24_TASK_ID_R { - CH24_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH24_TASK_ID") - .field( - "ch24_task_id", - &format_args!("{}", self.ch24_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch24_task_id"] - #[inline(always)] - #[must_use] - pub fn ch24_task_id(&mut self) -> CH24_TASK_ID_W { - CH24_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel24 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch24_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch24_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH24_TASK_ID_SPEC; -impl crate::RegisterSpec for CH24_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch24_task_id::R`](R) reader structure"] -impl crate::Readable for CH24_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch24_task_id::W`](W) writer structure"] -impl crate::Writable for CH24_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH24_TASK_ID to value 0"] -impl crate::Resettable for CH24_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch25_evt_id.rs b/esp32p4/src/soc_etm/ch25_evt_id.rs deleted file mode 100644 index 28c6bb69e4..0000000000 --- a/esp32p4/src/soc_etm/ch25_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH25_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH25_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH25_EVT_ID` reader - Configures ch25_evt_id"] -pub type CH25_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH25_EVT_ID` writer - Configures ch25_evt_id"] -pub type CH25_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch25_evt_id"] - #[inline(always)] - pub fn ch25_evt_id(&self) -> CH25_EVT_ID_R { - CH25_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH25_EVT_ID") - .field( - "ch25_evt_id", - &format_args!("{}", self.ch25_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch25_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch25_evt_id(&mut self) -> CH25_EVT_ID_W { - CH25_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel25 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH25_EVT_ID_SPEC; -impl crate::RegisterSpec for CH25_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch25_evt_id::R`](R) reader structure"] -impl crate::Readable for CH25_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch25_evt_id::W`](W) writer structure"] -impl crate::Writable for CH25_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH25_EVT_ID to value 0"] -impl crate::Resettable for CH25_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch25_task_id.rs b/esp32p4/src/soc_etm/ch25_task_id.rs deleted file mode 100644 index 6260a810c4..0000000000 --- a/esp32p4/src/soc_etm/ch25_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH25_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH25_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH25_TASK_ID` reader - Configures ch25_task_id"] -pub type CH25_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH25_TASK_ID` writer - Configures ch25_task_id"] -pub type CH25_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch25_task_id"] - #[inline(always)] - pub fn ch25_task_id(&self) -> CH25_TASK_ID_R { - CH25_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH25_TASK_ID") - .field( - "ch25_task_id", - &format_args!("{}", self.ch25_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch25_task_id"] - #[inline(always)] - #[must_use] - pub fn ch25_task_id(&mut self) -> CH25_TASK_ID_W { - CH25_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel25 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch25_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch25_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH25_TASK_ID_SPEC; -impl crate::RegisterSpec for CH25_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch25_task_id::R`](R) reader structure"] -impl crate::Readable for CH25_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch25_task_id::W`](W) writer structure"] -impl crate::Writable for CH25_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH25_TASK_ID to value 0"] -impl crate::Resettable for CH25_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch26_evt_id.rs b/esp32p4/src/soc_etm/ch26_evt_id.rs deleted file mode 100644 index 7c245535f3..0000000000 --- a/esp32p4/src/soc_etm/ch26_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH26_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH26_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH26_EVT_ID` reader - Configures ch26_evt_id"] -pub type CH26_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH26_EVT_ID` writer - Configures ch26_evt_id"] -pub type CH26_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch26_evt_id"] - #[inline(always)] - pub fn ch26_evt_id(&self) -> CH26_EVT_ID_R { - CH26_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH26_EVT_ID") - .field( - "ch26_evt_id", - &format_args!("{}", self.ch26_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch26_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch26_evt_id(&mut self) -> CH26_EVT_ID_W { - CH26_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel26 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH26_EVT_ID_SPEC; -impl crate::RegisterSpec for CH26_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch26_evt_id::R`](R) reader structure"] -impl crate::Readable for CH26_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch26_evt_id::W`](W) writer structure"] -impl crate::Writable for CH26_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH26_EVT_ID to value 0"] -impl crate::Resettable for CH26_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch26_task_id.rs b/esp32p4/src/soc_etm/ch26_task_id.rs deleted file mode 100644 index 1c1d645097..0000000000 --- a/esp32p4/src/soc_etm/ch26_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH26_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH26_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH26_TASK_ID` reader - Configures ch26_task_id"] -pub type CH26_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH26_TASK_ID` writer - Configures ch26_task_id"] -pub type CH26_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch26_task_id"] - #[inline(always)] - pub fn ch26_task_id(&self) -> CH26_TASK_ID_R { - CH26_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH26_TASK_ID") - .field( - "ch26_task_id", - &format_args!("{}", self.ch26_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch26_task_id"] - #[inline(always)] - #[must_use] - pub fn ch26_task_id(&mut self) -> CH26_TASK_ID_W { - CH26_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel26 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch26_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch26_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH26_TASK_ID_SPEC; -impl crate::RegisterSpec for CH26_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch26_task_id::R`](R) reader structure"] -impl crate::Readable for CH26_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch26_task_id::W`](W) writer structure"] -impl crate::Writable for CH26_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH26_TASK_ID to value 0"] -impl crate::Resettable for CH26_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch27_evt_id.rs b/esp32p4/src/soc_etm/ch27_evt_id.rs deleted file mode 100644 index 24581436ed..0000000000 --- a/esp32p4/src/soc_etm/ch27_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH27_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH27_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH27_EVT_ID` reader - Configures ch27_evt_id"] -pub type CH27_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH27_EVT_ID` writer - Configures ch27_evt_id"] -pub type CH27_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch27_evt_id"] - #[inline(always)] - pub fn ch27_evt_id(&self) -> CH27_EVT_ID_R { - CH27_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH27_EVT_ID") - .field( - "ch27_evt_id", - &format_args!("{}", self.ch27_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch27_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch27_evt_id(&mut self) -> CH27_EVT_ID_W { - CH27_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel27 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH27_EVT_ID_SPEC; -impl crate::RegisterSpec for CH27_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch27_evt_id::R`](R) reader structure"] -impl crate::Readable for CH27_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch27_evt_id::W`](W) writer structure"] -impl crate::Writable for CH27_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH27_EVT_ID to value 0"] -impl crate::Resettable for CH27_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch27_task_id.rs b/esp32p4/src/soc_etm/ch27_task_id.rs deleted file mode 100644 index 3e9331aea4..0000000000 --- a/esp32p4/src/soc_etm/ch27_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH27_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH27_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH27_TASK_ID` reader - Configures ch27_task_id"] -pub type CH27_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH27_TASK_ID` writer - Configures ch27_task_id"] -pub type CH27_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch27_task_id"] - #[inline(always)] - pub fn ch27_task_id(&self) -> CH27_TASK_ID_R { - CH27_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH27_TASK_ID") - .field( - "ch27_task_id", - &format_args!("{}", self.ch27_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch27_task_id"] - #[inline(always)] - #[must_use] - pub fn ch27_task_id(&mut self) -> CH27_TASK_ID_W { - CH27_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel27 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch27_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch27_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH27_TASK_ID_SPEC; -impl crate::RegisterSpec for CH27_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch27_task_id::R`](R) reader structure"] -impl crate::Readable for CH27_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch27_task_id::W`](W) writer structure"] -impl crate::Writable for CH27_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH27_TASK_ID to value 0"] -impl crate::Resettable for CH27_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch28_evt_id.rs b/esp32p4/src/soc_etm/ch28_evt_id.rs deleted file mode 100644 index f2260034ba..0000000000 --- a/esp32p4/src/soc_etm/ch28_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH28_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH28_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH28_EVT_ID` reader - Configures ch28_evt_id"] -pub type CH28_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH28_EVT_ID` writer - Configures ch28_evt_id"] -pub type CH28_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch28_evt_id"] - #[inline(always)] - pub fn ch28_evt_id(&self) -> CH28_EVT_ID_R { - CH28_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH28_EVT_ID") - .field( - "ch28_evt_id", - &format_args!("{}", self.ch28_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch28_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch28_evt_id(&mut self) -> CH28_EVT_ID_W { - CH28_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel28 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH28_EVT_ID_SPEC; -impl crate::RegisterSpec for CH28_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch28_evt_id::R`](R) reader structure"] -impl crate::Readable for CH28_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch28_evt_id::W`](W) writer structure"] -impl crate::Writable for CH28_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH28_EVT_ID to value 0"] -impl crate::Resettable for CH28_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch28_task_id.rs b/esp32p4/src/soc_etm/ch28_task_id.rs deleted file mode 100644 index fc1d545b2c..0000000000 --- a/esp32p4/src/soc_etm/ch28_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH28_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH28_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH28_TASK_ID` reader - Configures ch28_task_id"] -pub type CH28_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH28_TASK_ID` writer - Configures ch28_task_id"] -pub type CH28_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch28_task_id"] - #[inline(always)] - pub fn ch28_task_id(&self) -> CH28_TASK_ID_R { - CH28_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH28_TASK_ID") - .field( - "ch28_task_id", - &format_args!("{}", self.ch28_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch28_task_id"] - #[inline(always)] - #[must_use] - pub fn ch28_task_id(&mut self) -> CH28_TASK_ID_W { - CH28_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel28 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch28_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch28_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH28_TASK_ID_SPEC; -impl crate::RegisterSpec for CH28_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch28_task_id::R`](R) reader structure"] -impl crate::Readable for CH28_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch28_task_id::W`](W) writer structure"] -impl crate::Writable for CH28_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH28_TASK_ID to value 0"] -impl crate::Resettable for CH28_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch29_evt_id.rs b/esp32p4/src/soc_etm/ch29_evt_id.rs deleted file mode 100644 index 0b3f5f9221..0000000000 --- a/esp32p4/src/soc_etm/ch29_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH29_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH29_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH29_EVT_ID` reader - Configures ch29_evt_id"] -pub type CH29_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH29_EVT_ID` writer - Configures ch29_evt_id"] -pub type CH29_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch29_evt_id"] - #[inline(always)] - pub fn ch29_evt_id(&self) -> CH29_EVT_ID_R { - CH29_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH29_EVT_ID") - .field( - "ch29_evt_id", - &format_args!("{}", self.ch29_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch29_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch29_evt_id(&mut self) -> CH29_EVT_ID_W { - CH29_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel29 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH29_EVT_ID_SPEC; -impl crate::RegisterSpec for CH29_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch29_evt_id::R`](R) reader structure"] -impl crate::Readable for CH29_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch29_evt_id::W`](W) writer structure"] -impl crate::Writable for CH29_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH29_EVT_ID to value 0"] -impl crate::Resettable for CH29_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch29_task_id.rs b/esp32p4/src/soc_etm/ch29_task_id.rs deleted file mode 100644 index 57d8f4936c..0000000000 --- a/esp32p4/src/soc_etm/ch29_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH29_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH29_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH29_TASK_ID` reader - Configures ch29_task_id"] -pub type CH29_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH29_TASK_ID` writer - Configures ch29_task_id"] -pub type CH29_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch29_task_id"] - #[inline(always)] - pub fn ch29_task_id(&self) -> CH29_TASK_ID_R { - CH29_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH29_TASK_ID") - .field( - "ch29_task_id", - &format_args!("{}", self.ch29_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch29_task_id"] - #[inline(always)] - #[must_use] - pub fn ch29_task_id(&mut self) -> CH29_TASK_ID_W { - CH29_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel29 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch29_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch29_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH29_TASK_ID_SPEC; -impl crate::RegisterSpec for CH29_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch29_task_id::R`](R) reader structure"] -impl crate::Readable for CH29_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch29_task_id::W`](W) writer structure"] -impl crate::Writable for CH29_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH29_TASK_ID to value 0"] -impl crate::Resettable for CH29_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch2_evt_id.rs b/esp32p4/src/soc_etm/ch2_evt_id.rs deleted file mode 100644 index a88b1c3a42..0000000000 --- a/esp32p4/src/soc_etm/ch2_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH2_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH2_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH2_EVT_ID` reader - Configures ch2_evt_id"] -pub type CH2_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH2_EVT_ID` writer - Configures ch2_evt_id"] -pub type CH2_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch2_evt_id"] - #[inline(always)] - pub fn ch2_evt_id(&self) -> CH2_EVT_ID_R { - CH2_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH2_EVT_ID") - .field("ch2_evt_id", &format_args!("{}", self.ch2_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch2_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch2_evt_id(&mut self) -> CH2_EVT_ID_W { - CH2_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel2 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH2_EVT_ID_SPEC; -impl crate::RegisterSpec for CH2_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch2_evt_id::R`](R) reader structure"] -impl crate::Readable for CH2_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch2_evt_id::W`](W) writer structure"] -impl crate::Writable for CH2_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH2_EVT_ID to value 0"] -impl crate::Resettable for CH2_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch2_task_id.rs b/esp32p4/src/soc_etm/ch2_task_id.rs deleted file mode 100644 index 0a0ae7e421..0000000000 --- a/esp32p4/src/soc_etm/ch2_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH2_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH2_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH2_TASK_ID` reader - Configures ch2_task_id"] -pub type CH2_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH2_TASK_ID` writer - Configures ch2_task_id"] -pub type CH2_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch2_task_id"] - #[inline(always)] - pub fn ch2_task_id(&self) -> CH2_TASK_ID_R { - CH2_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH2_TASK_ID") - .field( - "ch2_task_id", - &format_args!("{}", self.ch2_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch2_task_id"] - #[inline(always)] - #[must_use] - pub fn ch2_task_id(&mut self) -> CH2_TASK_ID_W { - CH2_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel2 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch2_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch2_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH2_TASK_ID_SPEC; -impl crate::RegisterSpec for CH2_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch2_task_id::R`](R) reader structure"] -impl crate::Readable for CH2_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch2_task_id::W`](W) writer structure"] -impl crate::Writable for CH2_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH2_TASK_ID to value 0"] -impl crate::Resettable for CH2_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch30_evt_id.rs b/esp32p4/src/soc_etm/ch30_evt_id.rs deleted file mode 100644 index 414fd48661..0000000000 --- a/esp32p4/src/soc_etm/ch30_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH30_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH30_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH30_EVT_ID` reader - Configures ch30_evt_id"] -pub type CH30_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH30_EVT_ID` writer - Configures ch30_evt_id"] -pub type CH30_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch30_evt_id"] - #[inline(always)] - pub fn ch30_evt_id(&self) -> CH30_EVT_ID_R { - CH30_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH30_EVT_ID") - .field( - "ch30_evt_id", - &format_args!("{}", self.ch30_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch30_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch30_evt_id(&mut self) -> CH30_EVT_ID_W { - CH30_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel30 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH30_EVT_ID_SPEC; -impl crate::RegisterSpec for CH30_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch30_evt_id::R`](R) reader structure"] -impl crate::Readable for CH30_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch30_evt_id::W`](W) writer structure"] -impl crate::Writable for CH30_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH30_EVT_ID to value 0"] -impl crate::Resettable for CH30_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch30_task_id.rs b/esp32p4/src/soc_etm/ch30_task_id.rs deleted file mode 100644 index 5cdc7f2d5e..0000000000 --- a/esp32p4/src/soc_etm/ch30_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH30_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH30_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH30_TASK_ID` reader - Configures ch30_task_id"] -pub type CH30_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH30_TASK_ID` writer - Configures ch30_task_id"] -pub type CH30_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch30_task_id"] - #[inline(always)] - pub fn ch30_task_id(&self) -> CH30_TASK_ID_R { - CH30_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH30_TASK_ID") - .field( - "ch30_task_id", - &format_args!("{}", self.ch30_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch30_task_id"] - #[inline(always)] - #[must_use] - pub fn ch30_task_id(&mut self) -> CH30_TASK_ID_W { - CH30_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel30 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch30_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch30_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH30_TASK_ID_SPEC; -impl crate::RegisterSpec for CH30_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch30_task_id::R`](R) reader structure"] -impl crate::Readable for CH30_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch30_task_id::W`](W) writer structure"] -impl crate::Writable for CH30_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH30_TASK_ID to value 0"] -impl crate::Resettable for CH30_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch31_evt_id.rs b/esp32p4/src/soc_etm/ch31_evt_id.rs deleted file mode 100644 index f740e2d41f..0000000000 --- a/esp32p4/src/soc_etm/ch31_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH31_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH31_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH31_EVT_ID` reader - Configures ch31_evt_id"] -pub type CH31_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH31_EVT_ID` writer - Configures ch31_evt_id"] -pub type CH31_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch31_evt_id"] - #[inline(always)] - pub fn ch31_evt_id(&self) -> CH31_EVT_ID_R { - CH31_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH31_EVT_ID") - .field( - "ch31_evt_id", - &format_args!("{}", self.ch31_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch31_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch31_evt_id(&mut self) -> CH31_EVT_ID_W { - CH31_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel31 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH31_EVT_ID_SPEC; -impl crate::RegisterSpec for CH31_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch31_evt_id::R`](R) reader structure"] -impl crate::Readable for CH31_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch31_evt_id::W`](W) writer structure"] -impl crate::Writable for CH31_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH31_EVT_ID to value 0"] -impl crate::Resettable for CH31_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch31_task_id.rs b/esp32p4/src/soc_etm/ch31_task_id.rs deleted file mode 100644 index e2bb9df825..0000000000 --- a/esp32p4/src/soc_etm/ch31_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH31_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH31_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH31_TASK_ID` reader - Configures ch31_task_id"] -pub type CH31_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH31_TASK_ID` writer - Configures ch31_task_id"] -pub type CH31_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch31_task_id"] - #[inline(always)] - pub fn ch31_task_id(&self) -> CH31_TASK_ID_R { - CH31_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH31_TASK_ID") - .field( - "ch31_task_id", - &format_args!("{}", self.ch31_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch31_task_id"] - #[inline(always)] - #[must_use] - pub fn ch31_task_id(&mut self) -> CH31_TASK_ID_W { - CH31_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel31 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch31_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch31_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH31_TASK_ID_SPEC; -impl crate::RegisterSpec for CH31_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch31_task_id::R`](R) reader structure"] -impl crate::Readable for CH31_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch31_task_id::W`](W) writer structure"] -impl crate::Writable for CH31_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH31_TASK_ID to value 0"] -impl crate::Resettable for CH31_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch32_evt_id.rs b/esp32p4/src/soc_etm/ch32_evt_id.rs deleted file mode 100644 index 5fd4c9a7b7..0000000000 --- a/esp32p4/src/soc_etm/ch32_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH32_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH32_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH32_EVT_ID` reader - Configures ch32_evt_id"] -pub type CH32_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH32_EVT_ID` writer - Configures ch32_evt_id"] -pub type CH32_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch32_evt_id"] - #[inline(always)] - pub fn ch32_evt_id(&self) -> CH32_EVT_ID_R { - CH32_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH32_EVT_ID") - .field( - "ch32_evt_id", - &format_args!("{}", self.ch32_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch32_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch32_evt_id(&mut self) -> CH32_EVT_ID_W { - CH32_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel32 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH32_EVT_ID_SPEC; -impl crate::RegisterSpec for CH32_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch32_evt_id::R`](R) reader structure"] -impl crate::Readable for CH32_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch32_evt_id::W`](W) writer structure"] -impl crate::Writable for CH32_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH32_EVT_ID to value 0"] -impl crate::Resettable for CH32_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch32_task_id.rs b/esp32p4/src/soc_etm/ch32_task_id.rs deleted file mode 100644 index 778d9edb04..0000000000 --- a/esp32p4/src/soc_etm/ch32_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH32_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH32_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH32_TASK_ID` reader - Configures ch32_task_id"] -pub type CH32_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH32_TASK_ID` writer - Configures ch32_task_id"] -pub type CH32_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch32_task_id"] - #[inline(always)] - pub fn ch32_task_id(&self) -> CH32_TASK_ID_R { - CH32_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH32_TASK_ID") - .field( - "ch32_task_id", - &format_args!("{}", self.ch32_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch32_task_id"] - #[inline(always)] - #[must_use] - pub fn ch32_task_id(&mut self) -> CH32_TASK_ID_W { - CH32_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel32 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch32_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch32_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH32_TASK_ID_SPEC; -impl crate::RegisterSpec for CH32_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch32_task_id::R`](R) reader structure"] -impl crate::Readable for CH32_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch32_task_id::W`](W) writer structure"] -impl crate::Writable for CH32_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH32_TASK_ID to value 0"] -impl crate::Resettable for CH32_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch33_evt_id.rs b/esp32p4/src/soc_etm/ch33_evt_id.rs deleted file mode 100644 index 7e1809b9a3..0000000000 --- a/esp32p4/src/soc_etm/ch33_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH33_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH33_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH33_EVT_ID` reader - Configures ch33_evt_id"] -pub type CH33_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH33_EVT_ID` writer - Configures ch33_evt_id"] -pub type CH33_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch33_evt_id"] - #[inline(always)] - pub fn ch33_evt_id(&self) -> CH33_EVT_ID_R { - CH33_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH33_EVT_ID") - .field( - "ch33_evt_id", - &format_args!("{}", self.ch33_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch33_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch33_evt_id(&mut self) -> CH33_EVT_ID_W { - CH33_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel33 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH33_EVT_ID_SPEC; -impl crate::RegisterSpec for CH33_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch33_evt_id::R`](R) reader structure"] -impl crate::Readable for CH33_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch33_evt_id::W`](W) writer structure"] -impl crate::Writable for CH33_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH33_EVT_ID to value 0"] -impl crate::Resettable for CH33_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch33_task_id.rs b/esp32p4/src/soc_etm/ch33_task_id.rs deleted file mode 100644 index 376c965898..0000000000 --- a/esp32p4/src/soc_etm/ch33_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH33_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH33_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH33_TASK_ID` reader - Configures ch33_task_id"] -pub type CH33_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH33_TASK_ID` writer - Configures ch33_task_id"] -pub type CH33_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch33_task_id"] - #[inline(always)] - pub fn ch33_task_id(&self) -> CH33_TASK_ID_R { - CH33_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH33_TASK_ID") - .field( - "ch33_task_id", - &format_args!("{}", self.ch33_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch33_task_id"] - #[inline(always)] - #[must_use] - pub fn ch33_task_id(&mut self) -> CH33_TASK_ID_W { - CH33_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel33 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch33_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch33_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH33_TASK_ID_SPEC; -impl crate::RegisterSpec for CH33_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch33_task_id::R`](R) reader structure"] -impl crate::Readable for CH33_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch33_task_id::W`](W) writer structure"] -impl crate::Writable for CH33_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH33_TASK_ID to value 0"] -impl crate::Resettable for CH33_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch34_evt_id.rs b/esp32p4/src/soc_etm/ch34_evt_id.rs deleted file mode 100644 index 7452452755..0000000000 --- a/esp32p4/src/soc_etm/ch34_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH34_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH34_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH34_EVT_ID` reader - Configures ch34_evt_id"] -pub type CH34_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH34_EVT_ID` writer - Configures ch34_evt_id"] -pub type CH34_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch34_evt_id"] - #[inline(always)] - pub fn ch34_evt_id(&self) -> CH34_EVT_ID_R { - CH34_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH34_EVT_ID") - .field( - "ch34_evt_id", - &format_args!("{}", self.ch34_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch34_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch34_evt_id(&mut self) -> CH34_EVT_ID_W { - CH34_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel34 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH34_EVT_ID_SPEC; -impl crate::RegisterSpec for CH34_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch34_evt_id::R`](R) reader structure"] -impl crate::Readable for CH34_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch34_evt_id::W`](W) writer structure"] -impl crate::Writable for CH34_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH34_EVT_ID to value 0"] -impl crate::Resettable for CH34_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch34_task_id.rs b/esp32p4/src/soc_etm/ch34_task_id.rs deleted file mode 100644 index e78fc7dbd4..0000000000 --- a/esp32p4/src/soc_etm/ch34_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH34_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH34_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH34_TASK_ID` reader - Configures ch34_task_id"] -pub type CH34_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH34_TASK_ID` writer - Configures ch34_task_id"] -pub type CH34_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch34_task_id"] - #[inline(always)] - pub fn ch34_task_id(&self) -> CH34_TASK_ID_R { - CH34_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH34_TASK_ID") - .field( - "ch34_task_id", - &format_args!("{}", self.ch34_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch34_task_id"] - #[inline(always)] - #[must_use] - pub fn ch34_task_id(&mut self) -> CH34_TASK_ID_W { - CH34_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel34 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch34_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch34_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH34_TASK_ID_SPEC; -impl crate::RegisterSpec for CH34_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch34_task_id::R`](R) reader structure"] -impl crate::Readable for CH34_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch34_task_id::W`](W) writer structure"] -impl crate::Writable for CH34_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH34_TASK_ID to value 0"] -impl crate::Resettable for CH34_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch35_evt_id.rs b/esp32p4/src/soc_etm/ch35_evt_id.rs deleted file mode 100644 index 6cac1b14e3..0000000000 --- a/esp32p4/src/soc_etm/ch35_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH35_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH35_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH35_EVT_ID` reader - Configures ch35_evt_id"] -pub type CH35_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH35_EVT_ID` writer - Configures ch35_evt_id"] -pub type CH35_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch35_evt_id"] - #[inline(always)] - pub fn ch35_evt_id(&self) -> CH35_EVT_ID_R { - CH35_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH35_EVT_ID") - .field( - "ch35_evt_id", - &format_args!("{}", self.ch35_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch35_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch35_evt_id(&mut self) -> CH35_EVT_ID_W { - CH35_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel35 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH35_EVT_ID_SPEC; -impl crate::RegisterSpec for CH35_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch35_evt_id::R`](R) reader structure"] -impl crate::Readable for CH35_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch35_evt_id::W`](W) writer structure"] -impl crate::Writable for CH35_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH35_EVT_ID to value 0"] -impl crate::Resettable for CH35_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch35_task_id.rs b/esp32p4/src/soc_etm/ch35_task_id.rs deleted file mode 100644 index 286e0d349c..0000000000 --- a/esp32p4/src/soc_etm/ch35_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH35_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH35_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH35_TASK_ID` reader - Configures ch35_task_id"] -pub type CH35_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH35_TASK_ID` writer - Configures ch35_task_id"] -pub type CH35_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch35_task_id"] - #[inline(always)] - pub fn ch35_task_id(&self) -> CH35_TASK_ID_R { - CH35_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH35_TASK_ID") - .field( - "ch35_task_id", - &format_args!("{}", self.ch35_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch35_task_id"] - #[inline(always)] - #[must_use] - pub fn ch35_task_id(&mut self) -> CH35_TASK_ID_W { - CH35_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel35 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch35_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch35_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH35_TASK_ID_SPEC; -impl crate::RegisterSpec for CH35_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch35_task_id::R`](R) reader structure"] -impl crate::Readable for CH35_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch35_task_id::W`](W) writer structure"] -impl crate::Writable for CH35_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH35_TASK_ID to value 0"] -impl crate::Resettable for CH35_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch36_evt_id.rs b/esp32p4/src/soc_etm/ch36_evt_id.rs deleted file mode 100644 index ef3da18800..0000000000 --- a/esp32p4/src/soc_etm/ch36_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH36_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH36_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH36_EVT_ID` reader - Configures ch36_evt_id"] -pub type CH36_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH36_EVT_ID` writer - Configures ch36_evt_id"] -pub type CH36_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch36_evt_id"] - #[inline(always)] - pub fn ch36_evt_id(&self) -> CH36_EVT_ID_R { - CH36_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH36_EVT_ID") - .field( - "ch36_evt_id", - &format_args!("{}", self.ch36_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch36_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch36_evt_id(&mut self) -> CH36_EVT_ID_W { - CH36_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel36 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH36_EVT_ID_SPEC; -impl crate::RegisterSpec for CH36_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch36_evt_id::R`](R) reader structure"] -impl crate::Readable for CH36_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch36_evt_id::W`](W) writer structure"] -impl crate::Writable for CH36_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH36_EVT_ID to value 0"] -impl crate::Resettable for CH36_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch36_task_id.rs b/esp32p4/src/soc_etm/ch36_task_id.rs deleted file mode 100644 index ff56de1aef..0000000000 --- a/esp32p4/src/soc_etm/ch36_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH36_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH36_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH36_TASK_ID` reader - Configures ch36_task_id"] -pub type CH36_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH36_TASK_ID` writer - Configures ch36_task_id"] -pub type CH36_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch36_task_id"] - #[inline(always)] - pub fn ch36_task_id(&self) -> CH36_TASK_ID_R { - CH36_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH36_TASK_ID") - .field( - "ch36_task_id", - &format_args!("{}", self.ch36_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch36_task_id"] - #[inline(always)] - #[must_use] - pub fn ch36_task_id(&mut self) -> CH36_TASK_ID_W { - CH36_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel36 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch36_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch36_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH36_TASK_ID_SPEC; -impl crate::RegisterSpec for CH36_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch36_task_id::R`](R) reader structure"] -impl crate::Readable for CH36_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch36_task_id::W`](W) writer structure"] -impl crate::Writable for CH36_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH36_TASK_ID to value 0"] -impl crate::Resettable for CH36_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch37_evt_id.rs b/esp32p4/src/soc_etm/ch37_evt_id.rs deleted file mode 100644 index aeeacc9a22..0000000000 --- a/esp32p4/src/soc_etm/ch37_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH37_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH37_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH37_EVT_ID` reader - Configures ch37_evt_id"] -pub type CH37_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH37_EVT_ID` writer - Configures ch37_evt_id"] -pub type CH37_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch37_evt_id"] - #[inline(always)] - pub fn ch37_evt_id(&self) -> CH37_EVT_ID_R { - CH37_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH37_EVT_ID") - .field( - "ch37_evt_id", - &format_args!("{}", self.ch37_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch37_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch37_evt_id(&mut self) -> CH37_EVT_ID_W { - CH37_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel37 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH37_EVT_ID_SPEC; -impl crate::RegisterSpec for CH37_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch37_evt_id::R`](R) reader structure"] -impl crate::Readable for CH37_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch37_evt_id::W`](W) writer structure"] -impl crate::Writable for CH37_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH37_EVT_ID to value 0"] -impl crate::Resettable for CH37_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch37_task_id.rs b/esp32p4/src/soc_etm/ch37_task_id.rs deleted file mode 100644 index 9cfd70f64e..0000000000 --- a/esp32p4/src/soc_etm/ch37_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH37_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH37_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH37_TASK_ID` reader - Configures ch37_task_id"] -pub type CH37_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH37_TASK_ID` writer - Configures ch37_task_id"] -pub type CH37_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch37_task_id"] - #[inline(always)] - pub fn ch37_task_id(&self) -> CH37_TASK_ID_R { - CH37_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH37_TASK_ID") - .field( - "ch37_task_id", - &format_args!("{}", self.ch37_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch37_task_id"] - #[inline(always)] - #[must_use] - pub fn ch37_task_id(&mut self) -> CH37_TASK_ID_W { - CH37_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel37 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch37_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch37_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH37_TASK_ID_SPEC; -impl crate::RegisterSpec for CH37_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch37_task_id::R`](R) reader structure"] -impl crate::Readable for CH37_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch37_task_id::W`](W) writer structure"] -impl crate::Writable for CH37_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH37_TASK_ID to value 0"] -impl crate::Resettable for CH37_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch38_evt_id.rs b/esp32p4/src/soc_etm/ch38_evt_id.rs deleted file mode 100644 index ae1c46d110..0000000000 --- a/esp32p4/src/soc_etm/ch38_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH38_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH38_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH38_EVT_ID` reader - Configures ch38_evt_id"] -pub type CH38_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH38_EVT_ID` writer - Configures ch38_evt_id"] -pub type CH38_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch38_evt_id"] - #[inline(always)] - pub fn ch38_evt_id(&self) -> CH38_EVT_ID_R { - CH38_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH38_EVT_ID") - .field( - "ch38_evt_id", - &format_args!("{}", self.ch38_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch38_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch38_evt_id(&mut self) -> CH38_EVT_ID_W { - CH38_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel38 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH38_EVT_ID_SPEC; -impl crate::RegisterSpec for CH38_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch38_evt_id::R`](R) reader structure"] -impl crate::Readable for CH38_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch38_evt_id::W`](W) writer structure"] -impl crate::Writable for CH38_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH38_EVT_ID to value 0"] -impl crate::Resettable for CH38_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch38_task_id.rs b/esp32p4/src/soc_etm/ch38_task_id.rs deleted file mode 100644 index 52b915fe46..0000000000 --- a/esp32p4/src/soc_etm/ch38_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH38_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH38_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH38_TASK_ID` reader - Configures ch38_task_id"] -pub type CH38_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH38_TASK_ID` writer - Configures ch38_task_id"] -pub type CH38_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch38_task_id"] - #[inline(always)] - pub fn ch38_task_id(&self) -> CH38_TASK_ID_R { - CH38_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH38_TASK_ID") - .field( - "ch38_task_id", - &format_args!("{}", self.ch38_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch38_task_id"] - #[inline(always)] - #[must_use] - pub fn ch38_task_id(&mut self) -> CH38_TASK_ID_W { - CH38_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel38 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch38_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch38_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH38_TASK_ID_SPEC; -impl crate::RegisterSpec for CH38_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch38_task_id::R`](R) reader structure"] -impl crate::Readable for CH38_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch38_task_id::W`](W) writer structure"] -impl crate::Writable for CH38_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH38_TASK_ID to value 0"] -impl crate::Resettable for CH38_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch39_evt_id.rs b/esp32p4/src/soc_etm/ch39_evt_id.rs deleted file mode 100644 index 09da1ca8ea..0000000000 --- a/esp32p4/src/soc_etm/ch39_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH39_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH39_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH39_EVT_ID` reader - Configures ch39_evt_id"] -pub type CH39_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH39_EVT_ID` writer - Configures ch39_evt_id"] -pub type CH39_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch39_evt_id"] - #[inline(always)] - pub fn ch39_evt_id(&self) -> CH39_EVT_ID_R { - CH39_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH39_EVT_ID") - .field( - "ch39_evt_id", - &format_args!("{}", self.ch39_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch39_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch39_evt_id(&mut self) -> CH39_EVT_ID_W { - CH39_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel39 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH39_EVT_ID_SPEC; -impl crate::RegisterSpec for CH39_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch39_evt_id::R`](R) reader structure"] -impl crate::Readable for CH39_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch39_evt_id::W`](W) writer structure"] -impl crate::Writable for CH39_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH39_EVT_ID to value 0"] -impl crate::Resettable for CH39_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch39_task_id.rs b/esp32p4/src/soc_etm/ch39_task_id.rs deleted file mode 100644 index f0b14c5c0c..0000000000 --- a/esp32p4/src/soc_etm/ch39_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH39_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH39_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH39_TASK_ID` reader - Configures ch39_task_id"] -pub type CH39_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH39_TASK_ID` writer - Configures ch39_task_id"] -pub type CH39_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch39_task_id"] - #[inline(always)] - pub fn ch39_task_id(&self) -> CH39_TASK_ID_R { - CH39_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH39_TASK_ID") - .field( - "ch39_task_id", - &format_args!("{}", self.ch39_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch39_task_id"] - #[inline(always)] - #[must_use] - pub fn ch39_task_id(&mut self) -> CH39_TASK_ID_W { - CH39_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel39 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch39_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch39_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH39_TASK_ID_SPEC; -impl crate::RegisterSpec for CH39_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch39_task_id::R`](R) reader structure"] -impl crate::Readable for CH39_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch39_task_id::W`](W) writer structure"] -impl crate::Writable for CH39_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH39_TASK_ID to value 0"] -impl crate::Resettable for CH39_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch3_evt_id.rs b/esp32p4/src/soc_etm/ch3_evt_id.rs deleted file mode 100644 index 53fefe80b3..0000000000 --- a/esp32p4/src/soc_etm/ch3_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH3_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH3_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH3_EVT_ID` reader - Configures ch3_evt_id"] -pub type CH3_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH3_EVT_ID` writer - Configures ch3_evt_id"] -pub type CH3_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch3_evt_id"] - #[inline(always)] - pub fn ch3_evt_id(&self) -> CH3_EVT_ID_R { - CH3_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH3_EVT_ID") - .field("ch3_evt_id", &format_args!("{}", self.ch3_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch3_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch3_evt_id(&mut self) -> CH3_EVT_ID_W { - CH3_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel3 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH3_EVT_ID_SPEC; -impl crate::RegisterSpec for CH3_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch3_evt_id::R`](R) reader structure"] -impl crate::Readable for CH3_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch3_evt_id::W`](W) writer structure"] -impl crate::Writable for CH3_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH3_EVT_ID to value 0"] -impl crate::Resettable for CH3_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch3_task_id.rs b/esp32p4/src/soc_etm/ch3_task_id.rs deleted file mode 100644 index cfff0a998f..0000000000 --- a/esp32p4/src/soc_etm/ch3_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH3_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH3_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH3_TASK_ID` reader - Configures ch3_task_id"] -pub type CH3_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH3_TASK_ID` writer - Configures ch3_task_id"] -pub type CH3_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch3_task_id"] - #[inline(always)] - pub fn ch3_task_id(&self) -> CH3_TASK_ID_R { - CH3_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH3_TASK_ID") - .field( - "ch3_task_id", - &format_args!("{}", self.ch3_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch3_task_id"] - #[inline(always)] - #[must_use] - pub fn ch3_task_id(&mut self) -> CH3_TASK_ID_W { - CH3_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel3 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch3_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch3_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH3_TASK_ID_SPEC; -impl crate::RegisterSpec for CH3_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch3_task_id::R`](R) reader structure"] -impl crate::Readable for CH3_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch3_task_id::W`](W) writer structure"] -impl crate::Writable for CH3_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH3_TASK_ID to value 0"] -impl crate::Resettable for CH3_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch40_evt_id.rs b/esp32p4/src/soc_etm/ch40_evt_id.rs deleted file mode 100644 index 879786fd00..0000000000 --- a/esp32p4/src/soc_etm/ch40_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH40_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH40_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH40_EVT_ID` reader - Configures ch40_evt_id"] -pub type CH40_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH40_EVT_ID` writer - Configures ch40_evt_id"] -pub type CH40_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch40_evt_id"] - #[inline(always)] - pub fn ch40_evt_id(&self) -> CH40_EVT_ID_R { - CH40_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH40_EVT_ID") - .field( - "ch40_evt_id", - &format_args!("{}", self.ch40_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch40_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch40_evt_id(&mut self) -> CH40_EVT_ID_W { - CH40_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel40 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH40_EVT_ID_SPEC; -impl crate::RegisterSpec for CH40_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch40_evt_id::R`](R) reader structure"] -impl crate::Readable for CH40_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch40_evt_id::W`](W) writer structure"] -impl crate::Writable for CH40_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH40_EVT_ID to value 0"] -impl crate::Resettable for CH40_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch40_task_id.rs b/esp32p4/src/soc_etm/ch40_task_id.rs deleted file mode 100644 index a9b8a132fd..0000000000 --- a/esp32p4/src/soc_etm/ch40_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH40_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH40_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH40_TASK_ID` reader - Configures ch40_task_id"] -pub type CH40_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH40_TASK_ID` writer - Configures ch40_task_id"] -pub type CH40_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch40_task_id"] - #[inline(always)] - pub fn ch40_task_id(&self) -> CH40_TASK_ID_R { - CH40_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH40_TASK_ID") - .field( - "ch40_task_id", - &format_args!("{}", self.ch40_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch40_task_id"] - #[inline(always)] - #[must_use] - pub fn ch40_task_id(&mut self) -> CH40_TASK_ID_W { - CH40_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel40 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch40_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch40_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH40_TASK_ID_SPEC; -impl crate::RegisterSpec for CH40_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch40_task_id::R`](R) reader structure"] -impl crate::Readable for CH40_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch40_task_id::W`](W) writer structure"] -impl crate::Writable for CH40_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH40_TASK_ID to value 0"] -impl crate::Resettable for CH40_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch41_evt_id.rs b/esp32p4/src/soc_etm/ch41_evt_id.rs deleted file mode 100644 index 3f57ba0184..0000000000 --- a/esp32p4/src/soc_etm/ch41_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH41_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH41_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH41_EVT_ID` reader - Configures ch41_evt_id"] -pub type CH41_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH41_EVT_ID` writer - Configures ch41_evt_id"] -pub type CH41_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch41_evt_id"] - #[inline(always)] - pub fn ch41_evt_id(&self) -> CH41_EVT_ID_R { - CH41_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH41_EVT_ID") - .field( - "ch41_evt_id", - &format_args!("{}", self.ch41_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch41_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch41_evt_id(&mut self) -> CH41_EVT_ID_W { - CH41_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel41 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH41_EVT_ID_SPEC; -impl crate::RegisterSpec for CH41_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch41_evt_id::R`](R) reader structure"] -impl crate::Readable for CH41_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch41_evt_id::W`](W) writer structure"] -impl crate::Writable for CH41_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH41_EVT_ID to value 0"] -impl crate::Resettable for CH41_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch41_task_id.rs b/esp32p4/src/soc_etm/ch41_task_id.rs deleted file mode 100644 index 7de20936d3..0000000000 --- a/esp32p4/src/soc_etm/ch41_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH41_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH41_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH41_TASK_ID` reader - Configures ch41_task_id"] -pub type CH41_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH41_TASK_ID` writer - Configures ch41_task_id"] -pub type CH41_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch41_task_id"] - #[inline(always)] - pub fn ch41_task_id(&self) -> CH41_TASK_ID_R { - CH41_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH41_TASK_ID") - .field( - "ch41_task_id", - &format_args!("{}", self.ch41_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch41_task_id"] - #[inline(always)] - #[must_use] - pub fn ch41_task_id(&mut self) -> CH41_TASK_ID_W { - CH41_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel41 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch41_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch41_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH41_TASK_ID_SPEC; -impl crate::RegisterSpec for CH41_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch41_task_id::R`](R) reader structure"] -impl crate::Readable for CH41_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch41_task_id::W`](W) writer structure"] -impl crate::Writable for CH41_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH41_TASK_ID to value 0"] -impl crate::Resettable for CH41_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch42_evt_id.rs b/esp32p4/src/soc_etm/ch42_evt_id.rs deleted file mode 100644 index 1a1cce10f2..0000000000 --- a/esp32p4/src/soc_etm/ch42_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH42_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH42_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH42_EVT_ID` reader - Configures ch42_evt_id"] -pub type CH42_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH42_EVT_ID` writer - Configures ch42_evt_id"] -pub type CH42_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch42_evt_id"] - #[inline(always)] - pub fn ch42_evt_id(&self) -> CH42_EVT_ID_R { - CH42_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH42_EVT_ID") - .field( - "ch42_evt_id", - &format_args!("{}", self.ch42_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch42_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch42_evt_id(&mut self) -> CH42_EVT_ID_W { - CH42_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel42 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH42_EVT_ID_SPEC; -impl crate::RegisterSpec for CH42_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch42_evt_id::R`](R) reader structure"] -impl crate::Readable for CH42_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch42_evt_id::W`](W) writer structure"] -impl crate::Writable for CH42_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH42_EVT_ID to value 0"] -impl crate::Resettable for CH42_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch42_task_id.rs b/esp32p4/src/soc_etm/ch42_task_id.rs deleted file mode 100644 index 7519d39543..0000000000 --- a/esp32p4/src/soc_etm/ch42_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH42_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH42_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH42_TASK_ID` reader - Configures ch42_task_id"] -pub type CH42_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH42_TASK_ID` writer - Configures ch42_task_id"] -pub type CH42_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch42_task_id"] - #[inline(always)] - pub fn ch42_task_id(&self) -> CH42_TASK_ID_R { - CH42_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH42_TASK_ID") - .field( - "ch42_task_id", - &format_args!("{}", self.ch42_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch42_task_id"] - #[inline(always)] - #[must_use] - pub fn ch42_task_id(&mut self) -> CH42_TASK_ID_W { - CH42_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel42 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch42_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch42_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH42_TASK_ID_SPEC; -impl crate::RegisterSpec for CH42_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch42_task_id::R`](R) reader structure"] -impl crate::Readable for CH42_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch42_task_id::W`](W) writer structure"] -impl crate::Writable for CH42_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH42_TASK_ID to value 0"] -impl crate::Resettable for CH42_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch43_evt_id.rs b/esp32p4/src/soc_etm/ch43_evt_id.rs deleted file mode 100644 index c5c96e146b..0000000000 --- a/esp32p4/src/soc_etm/ch43_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH43_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH43_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH43_EVT_ID` reader - Configures ch43_evt_id"] -pub type CH43_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH43_EVT_ID` writer - Configures ch43_evt_id"] -pub type CH43_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch43_evt_id"] - #[inline(always)] - pub fn ch43_evt_id(&self) -> CH43_EVT_ID_R { - CH43_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH43_EVT_ID") - .field( - "ch43_evt_id", - &format_args!("{}", self.ch43_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch43_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch43_evt_id(&mut self) -> CH43_EVT_ID_W { - CH43_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel43 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH43_EVT_ID_SPEC; -impl crate::RegisterSpec for CH43_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch43_evt_id::R`](R) reader structure"] -impl crate::Readable for CH43_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch43_evt_id::W`](W) writer structure"] -impl crate::Writable for CH43_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH43_EVT_ID to value 0"] -impl crate::Resettable for CH43_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch43_task_id.rs b/esp32p4/src/soc_etm/ch43_task_id.rs deleted file mode 100644 index df1fb53cab..0000000000 --- a/esp32p4/src/soc_etm/ch43_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH43_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH43_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH43_TASK_ID` reader - Configures ch43_task_id"] -pub type CH43_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH43_TASK_ID` writer - Configures ch43_task_id"] -pub type CH43_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch43_task_id"] - #[inline(always)] - pub fn ch43_task_id(&self) -> CH43_TASK_ID_R { - CH43_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH43_TASK_ID") - .field( - "ch43_task_id", - &format_args!("{}", self.ch43_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch43_task_id"] - #[inline(always)] - #[must_use] - pub fn ch43_task_id(&mut self) -> CH43_TASK_ID_W { - CH43_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel43 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch43_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch43_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH43_TASK_ID_SPEC; -impl crate::RegisterSpec for CH43_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch43_task_id::R`](R) reader structure"] -impl crate::Readable for CH43_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch43_task_id::W`](W) writer structure"] -impl crate::Writable for CH43_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH43_TASK_ID to value 0"] -impl crate::Resettable for CH43_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch44_evt_id.rs b/esp32p4/src/soc_etm/ch44_evt_id.rs deleted file mode 100644 index 520f1bcc52..0000000000 --- a/esp32p4/src/soc_etm/ch44_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH44_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH44_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH44_EVT_ID` reader - Configures ch44_evt_id"] -pub type CH44_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH44_EVT_ID` writer - Configures ch44_evt_id"] -pub type CH44_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch44_evt_id"] - #[inline(always)] - pub fn ch44_evt_id(&self) -> CH44_EVT_ID_R { - CH44_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH44_EVT_ID") - .field( - "ch44_evt_id", - &format_args!("{}", self.ch44_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch44_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch44_evt_id(&mut self) -> CH44_EVT_ID_W { - CH44_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel44 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH44_EVT_ID_SPEC; -impl crate::RegisterSpec for CH44_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch44_evt_id::R`](R) reader structure"] -impl crate::Readable for CH44_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch44_evt_id::W`](W) writer structure"] -impl crate::Writable for CH44_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH44_EVT_ID to value 0"] -impl crate::Resettable for CH44_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch44_task_id.rs b/esp32p4/src/soc_etm/ch44_task_id.rs deleted file mode 100644 index e21676c1a0..0000000000 --- a/esp32p4/src/soc_etm/ch44_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH44_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH44_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH44_TASK_ID` reader - Configures ch44_task_id"] -pub type CH44_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH44_TASK_ID` writer - Configures ch44_task_id"] -pub type CH44_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch44_task_id"] - #[inline(always)] - pub fn ch44_task_id(&self) -> CH44_TASK_ID_R { - CH44_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH44_TASK_ID") - .field( - "ch44_task_id", - &format_args!("{}", self.ch44_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch44_task_id"] - #[inline(always)] - #[must_use] - pub fn ch44_task_id(&mut self) -> CH44_TASK_ID_W { - CH44_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel44 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch44_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch44_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH44_TASK_ID_SPEC; -impl crate::RegisterSpec for CH44_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch44_task_id::R`](R) reader structure"] -impl crate::Readable for CH44_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch44_task_id::W`](W) writer structure"] -impl crate::Writable for CH44_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH44_TASK_ID to value 0"] -impl crate::Resettable for CH44_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch45_evt_id.rs b/esp32p4/src/soc_etm/ch45_evt_id.rs deleted file mode 100644 index 292dc53158..0000000000 --- a/esp32p4/src/soc_etm/ch45_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH45_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH45_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH45_EVT_ID` reader - Configures ch45_evt_id"] -pub type CH45_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH45_EVT_ID` writer - Configures ch45_evt_id"] -pub type CH45_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch45_evt_id"] - #[inline(always)] - pub fn ch45_evt_id(&self) -> CH45_EVT_ID_R { - CH45_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH45_EVT_ID") - .field( - "ch45_evt_id", - &format_args!("{}", self.ch45_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch45_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch45_evt_id(&mut self) -> CH45_EVT_ID_W { - CH45_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel45 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH45_EVT_ID_SPEC; -impl crate::RegisterSpec for CH45_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch45_evt_id::R`](R) reader structure"] -impl crate::Readable for CH45_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch45_evt_id::W`](W) writer structure"] -impl crate::Writable for CH45_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH45_EVT_ID to value 0"] -impl crate::Resettable for CH45_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch45_task_id.rs b/esp32p4/src/soc_etm/ch45_task_id.rs deleted file mode 100644 index 4daf75d1e2..0000000000 --- a/esp32p4/src/soc_etm/ch45_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH45_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH45_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH45_TASK_ID` reader - Configures ch45_task_id"] -pub type CH45_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH45_TASK_ID` writer - Configures ch45_task_id"] -pub type CH45_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch45_task_id"] - #[inline(always)] - pub fn ch45_task_id(&self) -> CH45_TASK_ID_R { - CH45_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH45_TASK_ID") - .field( - "ch45_task_id", - &format_args!("{}", self.ch45_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch45_task_id"] - #[inline(always)] - #[must_use] - pub fn ch45_task_id(&mut self) -> CH45_TASK_ID_W { - CH45_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel45 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch45_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch45_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH45_TASK_ID_SPEC; -impl crate::RegisterSpec for CH45_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch45_task_id::R`](R) reader structure"] -impl crate::Readable for CH45_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch45_task_id::W`](W) writer structure"] -impl crate::Writable for CH45_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH45_TASK_ID to value 0"] -impl crate::Resettable for CH45_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch46_evt_id.rs b/esp32p4/src/soc_etm/ch46_evt_id.rs deleted file mode 100644 index 5e7d417b88..0000000000 --- a/esp32p4/src/soc_etm/ch46_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH46_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH46_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH46_EVT_ID` reader - Configures ch46_evt_id"] -pub type CH46_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH46_EVT_ID` writer - Configures ch46_evt_id"] -pub type CH46_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch46_evt_id"] - #[inline(always)] - pub fn ch46_evt_id(&self) -> CH46_EVT_ID_R { - CH46_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH46_EVT_ID") - .field( - "ch46_evt_id", - &format_args!("{}", self.ch46_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch46_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch46_evt_id(&mut self) -> CH46_EVT_ID_W { - CH46_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel46 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH46_EVT_ID_SPEC; -impl crate::RegisterSpec for CH46_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch46_evt_id::R`](R) reader structure"] -impl crate::Readable for CH46_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch46_evt_id::W`](W) writer structure"] -impl crate::Writable for CH46_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH46_EVT_ID to value 0"] -impl crate::Resettable for CH46_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch46_task_id.rs b/esp32p4/src/soc_etm/ch46_task_id.rs deleted file mode 100644 index e335bf6a2e..0000000000 --- a/esp32p4/src/soc_etm/ch46_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH46_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH46_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH46_TASK_ID` reader - Configures ch46_task_id"] -pub type CH46_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH46_TASK_ID` writer - Configures ch46_task_id"] -pub type CH46_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch46_task_id"] - #[inline(always)] - pub fn ch46_task_id(&self) -> CH46_TASK_ID_R { - CH46_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH46_TASK_ID") - .field( - "ch46_task_id", - &format_args!("{}", self.ch46_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch46_task_id"] - #[inline(always)] - #[must_use] - pub fn ch46_task_id(&mut self) -> CH46_TASK_ID_W { - CH46_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel46 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch46_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch46_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH46_TASK_ID_SPEC; -impl crate::RegisterSpec for CH46_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch46_task_id::R`](R) reader structure"] -impl crate::Readable for CH46_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch46_task_id::W`](W) writer structure"] -impl crate::Writable for CH46_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH46_TASK_ID to value 0"] -impl crate::Resettable for CH46_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch47_evt_id.rs b/esp32p4/src/soc_etm/ch47_evt_id.rs deleted file mode 100644 index b80d1bab8f..0000000000 --- a/esp32p4/src/soc_etm/ch47_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH47_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH47_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH47_EVT_ID` reader - Configures ch47_evt_id"] -pub type CH47_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH47_EVT_ID` writer - Configures ch47_evt_id"] -pub type CH47_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch47_evt_id"] - #[inline(always)] - pub fn ch47_evt_id(&self) -> CH47_EVT_ID_R { - CH47_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH47_EVT_ID") - .field( - "ch47_evt_id", - &format_args!("{}", self.ch47_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch47_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch47_evt_id(&mut self) -> CH47_EVT_ID_W { - CH47_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel47 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH47_EVT_ID_SPEC; -impl crate::RegisterSpec for CH47_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch47_evt_id::R`](R) reader structure"] -impl crate::Readable for CH47_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch47_evt_id::W`](W) writer structure"] -impl crate::Writable for CH47_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH47_EVT_ID to value 0"] -impl crate::Resettable for CH47_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch47_task_id.rs b/esp32p4/src/soc_etm/ch47_task_id.rs deleted file mode 100644 index 11a5b3ee40..0000000000 --- a/esp32p4/src/soc_etm/ch47_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH47_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH47_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH47_TASK_ID` reader - Configures ch47_task_id"] -pub type CH47_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH47_TASK_ID` writer - Configures ch47_task_id"] -pub type CH47_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch47_task_id"] - #[inline(always)] - pub fn ch47_task_id(&self) -> CH47_TASK_ID_R { - CH47_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH47_TASK_ID") - .field( - "ch47_task_id", - &format_args!("{}", self.ch47_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch47_task_id"] - #[inline(always)] - #[must_use] - pub fn ch47_task_id(&mut self) -> CH47_TASK_ID_W { - CH47_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel47 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch47_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch47_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH47_TASK_ID_SPEC; -impl crate::RegisterSpec for CH47_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch47_task_id::R`](R) reader structure"] -impl crate::Readable for CH47_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch47_task_id::W`](W) writer structure"] -impl crate::Writable for CH47_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH47_TASK_ID to value 0"] -impl crate::Resettable for CH47_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch48_evt_id.rs b/esp32p4/src/soc_etm/ch48_evt_id.rs deleted file mode 100644 index 649162ce18..0000000000 --- a/esp32p4/src/soc_etm/ch48_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH48_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH48_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH48_EVT_ID` reader - Configures ch48_evt_id"] -pub type CH48_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH48_EVT_ID` writer - Configures ch48_evt_id"] -pub type CH48_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch48_evt_id"] - #[inline(always)] - pub fn ch48_evt_id(&self) -> CH48_EVT_ID_R { - CH48_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH48_EVT_ID") - .field( - "ch48_evt_id", - &format_args!("{}", self.ch48_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch48_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch48_evt_id(&mut self) -> CH48_EVT_ID_W { - CH48_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel48 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH48_EVT_ID_SPEC; -impl crate::RegisterSpec for CH48_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch48_evt_id::R`](R) reader structure"] -impl crate::Readable for CH48_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch48_evt_id::W`](W) writer structure"] -impl crate::Writable for CH48_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH48_EVT_ID to value 0"] -impl crate::Resettable for CH48_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch48_task_id.rs b/esp32p4/src/soc_etm/ch48_task_id.rs deleted file mode 100644 index fdb359f8ca..0000000000 --- a/esp32p4/src/soc_etm/ch48_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH48_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH48_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH48_TASK_ID` reader - Configures ch48_task_id"] -pub type CH48_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH48_TASK_ID` writer - Configures ch48_task_id"] -pub type CH48_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch48_task_id"] - #[inline(always)] - pub fn ch48_task_id(&self) -> CH48_TASK_ID_R { - CH48_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH48_TASK_ID") - .field( - "ch48_task_id", - &format_args!("{}", self.ch48_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch48_task_id"] - #[inline(always)] - #[must_use] - pub fn ch48_task_id(&mut self) -> CH48_TASK_ID_W { - CH48_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel48 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch48_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch48_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH48_TASK_ID_SPEC; -impl crate::RegisterSpec for CH48_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch48_task_id::R`](R) reader structure"] -impl crate::Readable for CH48_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch48_task_id::W`](W) writer structure"] -impl crate::Writable for CH48_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH48_TASK_ID to value 0"] -impl crate::Resettable for CH48_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch49_evt_id.rs b/esp32p4/src/soc_etm/ch49_evt_id.rs deleted file mode 100644 index 12826ac381..0000000000 --- a/esp32p4/src/soc_etm/ch49_evt_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH49_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH49_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH49_EVT_ID` reader - Configures ch49_evt_id"] -pub type CH49_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH49_EVT_ID` writer - Configures ch49_evt_id"] -pub type CH49_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch49_evt_id"] - #[inline(always)] - pub fn ch49_evt_id(&self) -> CH49_EVT_ID_R { - CH49_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH49_EVT_ID") - .field( - "ch49_evt_id", - &format_args!("{}", self.ch49_evt_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch49_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch49_evt_id(&mut self) -> CH49_EVT_ID_W { - CH49_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel49 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH49_EVT_ID_SPEC; -impl crate::RegisterSpec for CH49_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch49_evt_id::R`](R) reader structure"] -impl crate::Readable for CH49_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch49_evt_id::W`](W) writer structure"] -impl crate::Writable for CH49_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH49_EVT_ID to value 0"] -impl crate::Resettable for CH49_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch49_task_id.rs b/esp32p4/src/soc_etm/ch49_task_id.rs deleted file mode 100644 index 724f8e87a9..0000000000 --- a/esp32p4/src/soc_etm/ch49_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH49_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH49_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH49_TASK_ID` reader - Configures ch49_task_id"] -pub type CH49_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH49_TASK_ID` writer - Configures ch49_task_id"] -pub type CH49_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch49_task_id"] - #[inline(always)] - pub fn ch49_task_id(&self) -> CH49_TASK_ID_R { - CH49_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH49_TASK_ID") - .field( - "ch49_task_id", - &format_args!("{}", self.ch49_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch49_task_id"] - #[inline(always)] - #[must_use] - pub fn ch49_task_id(&mut self) -> CH49_TASK_ID_W { - CH49_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel49 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch49_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch49_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH49_TASK_ID_SPEC; -impl crate::RegisterSpec for CH49_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch49_task_id::R`](R) reader structure"] -impl crate::Readable for CH49_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch49_task_id::W`](W) writer structure"] -impl crate::Writable for CH49_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH49_TASK_ID to value 0"] -impl crate::Resettable for CH49_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch4_evt_id.rs b/esp32p4/src/soc_etm/ch4_evt_id.rs deleted file mode 100644 index e0f26d7717..0000000000 --- a/esp32p4/src/soc_etm/ch4_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH4_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH4_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH4_EVT_ID` reader - Configures ch4_evt_id"] -pub type CH4_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH4_EVT_ID` writer - Configures ch4_evt_id"] -pub type CH4_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch4_evt_id"] - #[inline(always)] - pub fn ch4_evt_id(&self) -> CH4_EVT_ID_R { - CH4_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH4_EVT_ID") - .field("ch4_evt_id", &format_args!("{}", self.ch4_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch4_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch4_evt_id(&mut self) -> CH4_EVT_ID_W { - CH4_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel4 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH4_EVT_ID_SPEC; -impl crate::RegisterSpec for CH4_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch4_evt_id::R`](R) reader structure"] -impl crate::Readable for CH4_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch4_evt_id::W`](W) writer structure"] -impl crate::Writable for CH4_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH4_EVT_ID to value 0"] -impl crate::Resettable for CH4_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch4_task_id.rs b/esp32p4/src/soc_etm/ch4_task_id.rs deleted file mode 100644 index 658555efe3..0000000000 --- a/esp32p4/src/soc_etm/ch4_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH4_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH4_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH4_TASK_ID` reader - Configures ch4_task_id"] -pub type CH4_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH4_TASK_ID` writer - Configures ch4_task_id"] -pub type CH4_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch4_task_id"] - #[inline(always)] - pub fn ch4_task_id(&self) -> CH4_TASK_ID_R { - CH4_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH4_TASK_ID") - .field( - "ch4_task_id", - &format_args!("{}", self.ch4_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch4_task_id"] - #[inline(always)] - #[must_use] - pub fn ch4_task_id(&mut self) -> CH4_TASK_ID_W { - CH4_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel4 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch4_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch4_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH4_TASK_ID_SPEC; -impl crate::RegisterSpec for CH4_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch4_task_id::R`](R) reader structure"] -impl crate::Readable for CH4_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch4_task_id::W`](W) writer structure"] -impl crate::Writable for CH4_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH4_TASK_ID to value 0"] -impl crate::Resettable for CH4_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch5_evt_id.rs b/esp32p4/src/soc_etm/ch5_evt_id.rs deleted file mode 100644 index 6b02107670..0000000000 --- a/esp32p4/src/soc_etm/ch5_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH5_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH5_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH5_EVT_ID` reader - Configures ch5_evt_id"] -pub type CH5_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH5_EVT_ID` writer - Configures ch5_evt_id"] -pub type CH5_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch5_evt_id"] - #[inline(always)] - pub fn ch5_evt_id(&self) -> CH5_EVT_ID_R { - CH5_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH5_EVT_ID") - .field("ch5_evt_id", &format_args!("{}", self.ch5_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch5_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch5_evt_id(&mut self) -> CH5_EVT_ID_W { - CH5_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel5 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH5_EVT_ID_SPEC; -impl crate::RegisterSpec for CH5_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch5_evt_id::R`](R) reader structure"] -impl crate::Readable for CH5_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch5_evt_id::W`](W) writer structure"] -impl crate::Writable for CH5_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH5_EVT_ID to value 0"] -impl crate::Resettable for CH5_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch5_task_id.rs b/esp32p4/src/soc_etm/ch5_task_id.rs deleted file mode 100644 index 486843708f..0000000000 --- a/esp32p4/src/soc_etm/ch5_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH5_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH5_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH5_TASK_ID` reader - Configures ch5_task_id"] -pub type CH5_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH5_TASK_ID` writer - Configures ch5_task_id"] -pub type CH5_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch5_task_id"] - #[inline(always)] - pub fn ch5_task_id(&self) -> CH5_TASK_ID_R { - CH5_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH5_TASK_ID") - .field( - "ch5_task_id", - &format_args!("{}", self.ch5_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch5_task_id"] - #[inline(always)] - #[must_use] - pub fn ch5_task_id(&mut self) -> CH5_TASK_ID_W { - CH5_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel5 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch5_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch5_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH5_TASK_ID_SPEC; -impl crate::RegisterSpec for CH5_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch5_task_id::R`](R) reader structure"] -impl crate::Readable for CH5_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch5_task_id::W`](W) writer structure"] -impl crate::Writable for CH5_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH5_TASK_ID to value 0"] -impl crate::Resettable for CH5_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch6_evt_id.rs b/esp32p4/src/soc_etm/ch6_evt_id.rs deleted file mode 100644 index 1780e7359d..0000000000 --- a/esp32p4/src/soc_etm/ch6_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH6_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH6_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH6_EVT_ID` reader - Configures ch6_evt_id"] -pub type CH6_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH6_EVT_ID` writer - Configures ch6_evt_id"] -pub type CH6_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch6_evt_id"] - #[inline(always)] - pub fn ch6_evt_id(&self) -> CH6_EVT_ID_R { - CH6_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH6_EVT_ID") - .field("ch6_evt_id", &format_args!("{}", self.ch6_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch6_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch6_evt_id(&mut self) -> CH6_EVT_ID_W { - CH6_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel6 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH6_EVT_ID_SPEC; -impl crate::RegisterSpec for CH6_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch6_evt_id::R`](R) reader structure"] -impl crate::Readable for CH6_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch6_evt_id::W`](W) writer structure"] -impl crate::Writable for CH6_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH6_EVT_ID to value 0"] -impl crate::Resettable for CH6_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch6_task_id.rs b/esp32p4/src/soc_etm/ch6_task_id.rs deleted file mode 100644 index cee591c6bc..0000000000 --- a/esp32p4/src/soc_etm/ch6_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH6_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH6_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH6_TASK_ID` reader - Configures ch6_task_id"] -pub type CH6_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH6_TASK_ID` writer - Configures ch6_task_id"] -pub type CH6_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch6_task_id"] - #[inline(always)] - pub fn ch6_task_id(&self) -> CH6_TASK_ID_R { - CH6_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH6_TASK_ID") - .field( - "ch6_task_id", - &format_args!("{}", self.ch6_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch6_task_id"] - #[inline(always)] - #[must_use] - pub fn ch6_task_id(&mut self) -> CH6_TASK_ID_W { - CH6_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel6 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch6_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch6_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH6_TASK_ID_SPEC; -impl crate::RegisterSpec for CH6_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch6_task_id::R`](R) reader structure"] -impl crate::Readable for CH6_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch6_task_id::W`](W) writer structure"] -impl crate::Writable for CH6_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH6_TASK_ID to value 0"] -impl crate::Resettable for CH6_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch7_evt_id.rs b/esp32p4/src/soc_etm/ch7_evt_id.rs deleted file mode 100644 index a42ec277d0..0000000000 --- a/esp32p4/src/soc_etm/ch7_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH7_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH7_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH7_EVT_ID` reader - Configures ch7_evt_id"] -pub type CH7_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH7_EVT_ID` writer - Configures ch7_evt_id"] -pub type CH7_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch7_evt_id"] - #[inline(always)] - pub fn ch7_evt_id(&self) -> CH7_EVT_ID_R { - CH7_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH7_EVT_ID") - .field("ch7_evt_id", &format_args!("{}", self.ch7_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch7_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch7_evt_id(&mut self) -> CH7_EVT_ID_W { - CH7_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel7 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH7_EVT_ID_SPEC; -impl crate::RegisterSpec for CH7_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch7_evt_id::R`](R) reader structure"] -impl crate::Readable for CH7_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch7_evt_id::W`](W) writer structure"] -impl crate::Writable for CH7_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH7_EVT_ID to value 0"] -impl crate::Resettable for CH7_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch7_task_id.rs b/esp32p4/src/soc_etm/ch7_task_id.rs deleted file mode 100644 index 1d5f58ee32..0000000000 --- a/esp32p4/src/soc_etm/ch7_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH7_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH7_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH7_TASK_ID` reader - Configures ch7_task_id"] -pub type CH7_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH7_TASK_ID` writer - Configures ch7_task_id"] -pub type CH7_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch7_task_id"] - #[inline(always)] - pub fn ch7_task_id(&self) -> CH7_TASK_ID_R { - CH7_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH7_TASK_ID") - .field( - "ch7_task_id", - &format_args!("{}", self.ch7_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch7_task_id"] - #[inline(always)] - #[must_use] - pub fn ch7_task_id(&mut self) -> CH7_TASK_ID_W { - CH7_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel7 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch7_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch7_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH7_TASK_ID_SPEC; -impl crate::RegisterSpec for CH7_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch7_task_id::R`](R) reader structure"] -impl crate::Readable for CH7_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch7_task_id::W`](W) writer structure"] -impl crate::Writable for CH7_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH7_TASK_ID to value 0"] -impl crate::Resettable for CH7_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch8_evt_id.rs b/esp32p4/src/soc_etm/ch8_evt_id.rs deleted file mode 100644 index c6b2fec26a..0000000000 --- a/esp32p4/src/soc_etm/ch8_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH8_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH8_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH8_EVT_ID` reader - Configures ch8_evt_id"] -pub type CH8_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH8_EVT_ID` writer - Configures ch8_evt_id"] -pub type CH8_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch8_evt_id"] - #[inline(always)] - pub fn ch8_evt_id(&self) -> CH8_EVT_ID_R { - CH8_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH8_EVT_ID") - .field("ch8_evt_id", &format_args!("{}", self.ch8_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch8_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch8_evt_id(&mut self) -> CH8_EVT_ID_W { - CH8_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel8 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH8_EVT_ID_SPEC; -impl crate::RegisterSpec for CH8_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch8_evt_id::R`](R) reader structure"] -impl crate::Readable for CH8_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch8_evt_id::W`](W) writer structure"] -impl crate::Writable for CH8_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH8_EVT_ID to value 0"] -impl crate::Resettable for CH8_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch8_task_id.rs b/esp32p4/src/soc_etm/ch8_task_id.rs deleted file mode 100644 index ab4291607f..0000000000 --- a/esp32p4/src/soc_etm/ch8_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH8_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH8_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH8_TASK_ID` reader - Configures ch8_task_id"] -pub type CH8_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH8_TASK_ID` writer - Configures ch8_task_id"] -pub type CH8_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch8_task_id"] - #[inline(always)] - pub fn ch8_task_id(&self) -> CH8_TASK_ID_R { - CH8_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH8_TASK_ID") - .field( - "ch8_task_id", - &format_args!("{}", self.ch8_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch8_task_id"] - #[inline(always)] - #[must_use] - pub fn ch8_task_id(&mut self) -> CH8_TASK_ID_W { - CH8_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel8 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch8_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch8_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH8_TASK_ID_SPEC; -impl crate::RegisterSpec for CH8_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch8_task_id::R`](R) reader structure"] -impl crate::Readable for CH8_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch8_task_id::W`](W) writer structure"] -impl crate::Writable for CH8_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH8_TASK_ID to value 0"] -impl crate::Resettable for CH8_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch9_evt_id.rs b/esp32p4/src/soc_etm/ch9_evt_id.rs deleted file mode 100644 index d81ff24fdf..0000000000 --- a/esp32p4/src/soc_etm/ch9_evt_id.rs +++ /dev/null @@ -1,54 +0,0 @@ -#[doc = "Register `CH9_EVT_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH9_EVT_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH9_EVT_ID` reader - Configures ch9_evt_id"] -pub type CH9_EVT_ID_R = crate::FieldReader; -#[doc = "Field `CH9_EVT_ID` writer - Configures ch9_evt_id"] -pub type CH9_EVT_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch9_evt_id"] - #[inline(always)] - pub fn ch9_evt_id(&self) -> CH9_EVT_ID_R { - CH9_EVT_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH9_EVT_ID") - .field("ch9_evt_id", &format_args!("{}", self.ch9_evt_id().bits())) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch9_evt_id"] - #[inline(always)] - #[must_use] - pub fn ch9_evt_id(&mut self) -> CH9_EVT_ID_W { - CH9_EVT_ID_W::new(self, 0) - } -} -#[doc = "Channel9 event id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_evt_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_evt_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH9_EVT_ID_SPEC; -impl crate::RegisterSpec for CH9_EVT_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch9_evt_id::R`](R) reader structure"] -impl crate::Readable for CH9_EVT_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch9_evt_id::W`](W) writer structure"] -impl crate::Writable for CH9_EVT_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH9_EVT_ID to value 0"] -impl crate::Resettable for CH9_EVT_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch9_task_id.rs b/esp32p4/src/soc_etm/ch9_task_id.rs deleted file mode 100644 index be801332a8..0000000000 --- a/esp32p4/src/soc_etm/ch9_task_id.rs +++ /dev/null @@ -1,57 +0,0 @@ -#[doc = "Register `CH9_TASK_ID` reader"] -pub type R = crate::R; -#[doc = "Register `CH9_TASK_ID` writer"] -pub type W = crate::W; -#[doc = "Field `CH9_TASK_ID` reader - Configures ch9_task_id"] -pub type CH9_TASK_ID_R = crate::FieldReader; -#[doc = "Field `CH9_TASK_ID` writer - Configures ch9_task_id"] -pub type CH9_TASK_ID_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -impl R { - #[doc = "Bits 0:7 - Configures ch9_task_id"] - #[inline(always)] - pub fn ch9_task_id(&self) -> CH9_TASK_ID_R { - CH9_TASK_ID_R::new((self.bits & 0xff) as u8) - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for R { - fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { - f.debug_struct("CH9_TASK_ID") - .field( - "ch9_task_id", - &format_args!("{}", self.ch9_task_id().bits()), - ) - .finish() - } -} -#[cfg(feature = "impl-register-debug")] -impl core::fmt::Debug for crate::generic::Reg { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - core::fmt::Debug::fmt(&self.read(), f) - } -} -impl W { - #[doc = "Bits 0:7 - Configures ch9_task_id"] - #[inline(always)] - #[must_use] - pub fn ch9_task_id(&mut self) -> CH9_TASK_ID_W { - CH9_TASK_ID_W::new(self, 0) - } -} -#[doc = "Channel9 task id register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch9_task_id::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch9_task_id::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] -pub struct CH9_TASK_ID_SPEC; -impl crate::RegisterSpec for CH9_TASK_ID_SPEC { - type Ux = u32; -} -#[doc = "`read()` method returns [`ch9_task_id::R`](R) reader structure"] -impl crate::Readable for CH9_TASK_ID_SPEC {} -#[doc = "`write(|w| ..)` method takes [`ch9_task_id::W`](W) writer structure"] -impl crate::Writable for CH9_TASK_ID_SPEC { - type Safety = crate::Unsafe; - const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0; -} -#[doc = "`reset()` method sets CH9_TASK_ID to value 0"] -impl crate::Resettable for CH9_TASK_ID_SPEC { - const RESET_VALUE: u32 = 0; -} diff --git a/esp32p4/src/soc_etm/ch_ena_ad0.rs b/esp32p4/src/soc_etm/ch_ena_ad0.rs index 34c8d45b05..c70125d930 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad0.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad0.rs @@ -2,294 +2,185 @@ pub type R = crate::R; #[doc = "Register `CH_ENA_AD0` writer"] pub type W = crate::W; -#[doc = "Field `CH_ENA0` reader - Represents ch0 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA0_R = crate::BitReader; -#[doc = "Field `CH_ENA0` writer - Represents ch0 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA1` reader - Represents ch1 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA1_R = crate::BitReader; -#[doc = "Field `CH_ENA1` writer - Represents ch1 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA2` reader - Represents ch2 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA2_R = crate::BitReader; -#[doc = "Field `CH_ENA2` writer - Represents ch2 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA3` reader - Represents ch3 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA3_R = crate::BitReader; -#[doc = "Field `CH_ENA3` writer - Represents ch3 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA4` reader - Represents ch4 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA4_R = crate::BitReader; -#[doc = "Field `CH_ENA4` writer - Represents ch4 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA5` reader - Represents ch5 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA5_R = crate::BitReader; -#[doc = "Field `CH_ENA5` writer - Represents ch5 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA6` reader - Represents ch6 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA6_R = crate::BitReader; -#[doc = "Field `CH_ENA6` writer - Represents ch6 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA7` reader - Represents ch7 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA7_R = crate::BitReader; -#[doc = "Field `CH_ENA7` writer - Represents ch7 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA8` reader - Represents ch8 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA8_R = crate::BitReader; -#[doc = "Field `CH_ENA8` writer - Represents ch8 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA9` reader - Represents ch9 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA9_R = crate::BitReader; -#[doc = "Field `CH_ENA9` writer - Represents ch9 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA10` reader - Represents ch10 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA10_R = crate::BitReader; -#[doc = "Field `CH_ENA10` writer - Represents ch10 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA11` reader - Represents ch11 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA11_R = crate::BitReader; -#[doc = "Field `CH_ENA11` writer - Represents ch11 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA12` reader - Represents ch12 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA12_R = crate::BitReader; -#[doc = "Field `CH_ENA12` writer - Represents ch12 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA13` reader - Represents ch13 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA13_R = crate::BitReader; -#[doc = "Field `CH_ENA13` writer - Represents ch13 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA14` reader - Represents ch14 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA14_R = crate::BitReader; -#[doc = "Field `CH_ENA14` writer - Represents ch14 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA15` reader - Represents ch15 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA15_R = crate::BitReader; -#[doc = "Field `CH_ENA15` writer - Represents ch15 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA16` reader - Represents ch16 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA16_R = crate::BitReader; -#[doc = "Field `CH_ENA16` writer - Represents ch16 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA17` reader - Represents ch17 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA17_R = crate::BitReader; -#[doc = "Field `CH_ENA17` writer - Represents ch17 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA18` reader - Represents ch18 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA18_R = crate::BitReader; -#[doc = "Field `CH_ENA18` writer - Represents ch18 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA19` reader - Represents ch19 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA19_R = crate::BitReader; -#[doc = "Field `CH_ENA19` writer - Represents ch19 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA20` reader - Represents ch20 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA20_R = crate::BitReader; -#[doc = "Field `CH_ENA20` writer - Represents ch20 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA21` reader - Represents ch21 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA21_R = crate::BitReader; -#[doc = "Field `CH_ENA21` writer - Represents ch21 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA22` reader - Represents ch22 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA22_R = crate::BitReader; -#[doc = "Field `CH_ENA22` writer - Represents ch22 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA23` reader - Represents ch23 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA23_R = crate::BitReader; -#[doc = "Field `CH_ENA23` writer - Represents ch23 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA24` reader - Represents ch24 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA24_R = crate::BitReader; -#[doc = "Field `CH_ENA24` writer - Represents ch24 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA25` reader - Represents ch25 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA25_R = crate::BitReader; -#[doc = "Field `CH_ENA25` writer - Represents ch25 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA26` reader - Represents ch26 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA26_R = crate::BitReader; -#[doc = "Field `CH_ENA26` writer - Represents ch26 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA27` reader - Represents ch27 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA27_R = crate::BitReader; -#[doc = "Field `CH_ENA27` writer - Represents ch27 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA28` reader - Represents ch28 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA28_R = crate::BitReader; -#[doc = "Field `CH_ENA28` writer - Represents ch28 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA29` reader - Represents ch29 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA29_R = crate::BitReader; -#[doc = "Field `CH_ENA29` writer - Represents ch29 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA30` reader - Represents ch30 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA30_R = crate::BitReader; -#[doc = "Field `CH_ENA30` writer - Represents ch30 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA31` reader - Represents ch31 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA31_R = crate::BitReader; -#[doc = "Field `CH_ENA31` writer - Represents ch31 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_ENA(0-31)` reader - Represents ch%s enable status.\\\\0: Disable\\\\1: Enable"] +pub type CH_ENA_R = crate::BitReader; +#[doc = "Field `CH_ENA(0-31)` writer - Represents ch%s enable status.\\\\0: Disable\\\\1: Enable"] +pub type CH_ENA_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { + #[doc = "Represents ch(0-31) enable status.\\\\0: Disable\\\\1: Enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field"] + #[inline(always)] + pub fn ch_ena(&self, n: u8) -> CH_ENA_R { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_ENA_R::new(((self.bits >> n) & 1) != 0) + } + #[doc = "Iterator for array of:"] + #[doc = "Represents ch(0-31) enable status.\\\\0: Disable\\\\1: Enable"] + #[inline(always)] + pub fn ch_ena_iter(&self) -> impl Iterator + '_ { + (0..32).map(move |n| CH_ENA_R::new(((self.bits >> n) & 1) != 0)) + } #[doc = "Bit 0 - Represents ch0 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena0(&self) -> CH_ENA0_R { - CH_ENA0_R::new((self.bits & 1) != 0) + pub fn ch_ena0(&self) -> CH_ENA_R { + CH_ENA_R::new((self.bits & 1) != 0) } #[doc = "Bit 1 - Represents ch1 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena1(&self) -> CH_ENA1_R { - CH_ENA1_R::new(((self.bits >> 1) & 1) != 0) + pub fn ch_ena1(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 1) & 1) != 0) } #[doc = "Bit 2 - Represents ch2 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena2(&self) -> CH_ENA2_R { - CH_ENA2_R::new(((self.bits >> 2) & 1) != 0) + pub fn ch_ena2(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 2) & 1) != 0) } #[doc = "Bit 3 - Represents ch3 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena3(&self) -> CH_ENA3_R { - CH_ENA3_R::new(((self.bits >> 3) & 1) != 0) + pub fn ch_ena3(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 3) & 1) != 0) } #[doc = "Bit 4 - Represents ch4 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena4(&self) -> CH_ENA4_R { - CH_ENA4_R::new(((self.bits >> 4) & 1) != 0) + pub fn ch_ena4(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 4) & 1) != 0) } #[doc = "Bit 5 - Represents ch5 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena5(&self) -> CH_ENA5_R { - CH_ENA5_R::new(((self.bits >> 5) & 1) != 0) + pub fn ch_ena5(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 5) & 1) != 0) } #[doc = "Bit 6 - Represents ch6 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena6(&self) -> CH_ENA6_R { - CH_ENA6_R::new(((self.bits >> 6) & 1) != 0) + pub fn ch_ena6(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 6) & 1) != 0) } #[doc = "Bit 7 - Represents ch7 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena7(&self) -> CH_ENA7_R { - CH_ENA7_R::new(((self.bits >> 7) & 1) != 0) + pub fn ch_ena7(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 7) & 1) != 0) } #[doc = "Bit 8 - Represents ch8 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena8(&self) -> CH_ENA8_R { - CH_ENA8_R::new(((self.bits >> 8) & 1) != 0) + pub fn ch_ena8(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 8) & 1) != 0) } #[doc = "Bit 9 - Represents ch9 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena9(&self) -> CH_ENA9_R { - CH_ENA9_R::new(((self.bits >> 9) & 1) != 0) + pub fn ch_ena9(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 9) & 1) != 0) } #[doc = "Bit 10 - Represents ch10 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena10(&self) -> CH_ENA10_R { - CH_ENA10_R::new(((self.bits >> 10) & 1) != 0) + pub fn ch_ena10(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 10) & 1) != 0) } #[doc = "Bit 11 - Represents ch11 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena11(&self) -> CH_ENA11_R { - CH_ENA11_R::new(((self.bits >> 11) & 1) != 0) + pub fn ch_ena11(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 11) & 1) != 0) } #[doc = "Bit 12 - Represents ch12 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena12(&self) -> CH_ENA12_R { - CH_ENA12_R::new(((self.bits >> 12) & 1) != 0) + pub fn ch_ena12(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 12) & 1) != 0) } #[doc = "Bit 13 - Represents ch13 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena13(&self) -> CH_ENA13_R { - CH_ENA13_R::new(((self.bits >> 13) & 1) != 0) + pub fn ch_ena13(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 13) & 1) != 0) } #[doc = "Bit 14 - Represents ch14 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena14(&self) -> CH_ENA14_R { - CH_ENA14_R::new(((self.bits >> 14) & 1) != 0) + pub fn ch_ena14(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 14) & 1) != 0) } #[doc = "Bit 15 - Represents ch15 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena15(&self) -> CH_ENA15_R { - CH_ENA15_R::new(((self.bits >> 15) & 1) != 0) + pub fn ch_ena15(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 15) & 1) != 0) } #[doc = "Bit 16 - Represents ch16 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena16(&self) -> CH_ENA16_R { - CH_ENA16_R::new(((self.bits >> 16) & 1) != 0) + pub fn ch_ena16(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 16) & 1) != 0) } #[doc = "Bit 17 - Represents ch17 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena17(&self) -> CH_ENA17_R { - CH_ENA17_R::new(((self.bits >> 17) & 1) != 0) + pub fn ch_ena17(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 17) & 1) != 0) } #[doc = "Bit 18 - Represents ch18 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena18(&self) -> CH_ENA18_R { - CH_ENA18_R::new(((self.bits >> 18) & 1) != 0) + pub fn ch_ena18(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 18) & 1) != 0) } #[doc = "Bit 19 - Represents ch19 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena19(&self) -> CH_ENA19_R { - CH_ENA19_R::new(((self.bits >> 19) & 1) != 0) + pub fn ch_ena19(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 19) & 1) != 0) } #[doc = "Bit 20 - Represents ch20 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena20(&self) -> CH_ENA20_R { - CH_ENA20_R::new(((self.bits >> 20) & 1) != 0) + pub fn ch_ena20(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 20) & 1) != 0) } #[doc = "Bit 21 - Represents ch21 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena21(&self) -> CH_ENA21_R { - CH_ENA21_R::new(((self.bits >> 21) & 1) != 0) + pub fn ch_ena21(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 21) & 1) != 0) } #[doc = "Bit 22 - Represents ch22 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena22(&self) -> CH_ENA22_R { - CH_ENA22_R::new(((self.bits >> 22) & 1) != 0) + pub fn ch_ena22(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 22) & 1) != 0) } #[doc = "Bit 23 - Represents ch23 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena23(&self) -> CH_ENA23_R { - CH_ENA23_R::new(((self.bits >> 23) & 1) != 0) + pub fn ch_ena23(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 23) & 1) != 0) } #[doc = "Bit 24 - Represents ch24 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena24(&self) -> CH_ENA24_R { - CH_ENA24_R::new(((self.bits >> 24) & 1) != 0) + pub fn ch_ena24(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 24) & 1) != 0) } #[doc = "Bit 25 - Represents ch25 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena25(&self) -> CH_ENA25_R { - CH_ENA25_R::new(((self.bits >> 25) & 1) != 0) + pub fn ch_ena25(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 25) & 1) != 0) } #[doc = "Bit 26 - Represents ch26 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena26(&self) -> CH_ENA26_R { - CH_ENA26_R::new(((self.bits >> 26) & 1) != 0) + pub fn ch_ena26(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 26) & 1) != 0) } #[doc = "Bit 27 - Represents ch27 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena27(&self) -> CH_ENA27_R { - CH_ENA27_R::new(((self.bits >> 27) & 1) != 0) + pub fn ch_ena27(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 27) & 1) != 0) } #[doc = "Bit 28 - Represents ch28 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena28(&self) -> CH_ENA28_R { - CH_ENA28_R::new(((self.bits >> 28) & 1) != 0) + pub fn ch_ena28(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 28) & 1) != 0) } #[doc = "Bit 29 - Represents ch29 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena29(&self) -> CH_ENA29_R { - CH_ENA29_R::new(((self.bits >> 29) & 1) != 0) + pub fn ch_ena29(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 29) & 1) != 0) } #[doc = "Bit 30 - Represents ch30 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena30(&self) -> CH_ENA30_R { - CH_ENA30_R::new(((self.bits >> 30) & 1) != 0) + pub fn ch_ena30(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 30) & 1) != 0) } #[doc = "Bit 31 - Represents ch31 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena31(&self) -> CH_ENA31_R { - CH_ENA31_R::new(((self.bits >> 31) & 1) != 0) + pub fn ch_ena31(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 31) & 1) != 0) } } #[cfg(feature = "impl-register-debug")] @@ -338,197 +229,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "Represents ch(0-31) enable status.\\\\0: Disable\\\\1: Enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field"] + #[inline(always)] + #[must_use] + pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_ENA_W::new(self, n) + } #[doc = "Bit 0 - Represents ch0 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena0(&mut self) -> CH_ENA0_W { - CH_ENA0_W::new(self, 0) + pub fn ch_ena0(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - Represents ch1 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena1(&mut self) -> CH_ENA1_W { - CH_ENA1_W::new(self, 1) + pub fn ch_ena1(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - Represents ch2 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena2(&mut self) -> CH_ENA2_W { - CH_ENA2_W::new(self, 2) + pub fn ch_ena2(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - Represents ch3 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena3(&mut self) -> CH_ENA3_W { - CH_ENA3_W::new(self, 3) + pub fn ch_ena3(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - Represents ch4 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena4(&mut self) -> CH_ENA4_W { - CH_ENA4_W::new(self, 4) + pub fn ch_ena4(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - Represents ch5 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena5(&mut self) -> CH_ENA5_W { - CH_ENA5_W::new(self, 5) + pub fn ch_ena5(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - Represents ch6 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena6(&mut self) -> CH_ENA6_W { - CH_ENA6_W::new(self, 6) + pub fn ch_ena6(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - Represents ch7 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena7(&mut self) -> CH_ENA7_W { - CH_ENA7_W::new(self, 7) + pub fn ch_ena7(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - Represents ch8 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena8(&mut self) -> CH_ENA8_W { - CH_ENA8_W::new(self, 8) + pub fn ch_ena8(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - Represents ch9 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena9(&mut self) -> CH_ENA9_W { - CH_ENA9_W::new(self, 9) + pub fn ch_ena9(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - Represents ch10 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena10(&mut self) -> CH_ENA10_W { - CH_ENA10_W::new(self, 10) + pub fn ch_ena10(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - Represents ch11 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena11(&mut self) -> CH_ENA11_W { - CH_ENA11_W::new(self, 11) + pub fn ch_ena11(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - Represents ch12 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena12(&mut self) -> CH_ENA12_W { - CH_ENA12_W::new(self, 12) + pub fn ch_ena12(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - Represents ch13 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena13(&mut self) -> CH_ENA13_W { - CH_ENA13_W::new(self, 13) + pub fn ch_ena13(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - Represents ch14 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena14(&mut self) -> CH_ENA14_W { - CH_ENA14_W::new(self, 14) + pub fn ch_ena14(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - Represents ch15 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena15(&mut self) -> CH_ENA15_W { - CH_ENA15_W::new(self, 15) + pub fn ch_ena15(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - Represents ch16 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena16(&mut self) -> CH_ENA16_W { - CH_ENA16_W::new(self, 16) + pub fn ch_ena16(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - Represents ch17 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena17(&mut self) -> CH_ENA17_W { - CH_ENA17_W::new(self, 17) + pub fn ch_ena17(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 17) } #[doc = "Bit 18 - Represents ch18 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena18(&mut self) -> CH_ENA18_W { - CH_ENA18_W::new(self, 18) + pub fn ch_ena18(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 18) } #[doc = "Bit 19 - Represents ch19 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena19(&mut self) -> CH_ENA19_W { - CH_ENA19_W::new(self, 19) + pub fn ch_ena19(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 19) } #[doc = "Bit 20 - Represents ch20 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena20(&mut self) -> CH_ENA20_W { - CH_ENA20_W::new(self, 20) + pub fn ch_ena20(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 20) } #[doc = "Bit 21 - Represents ch21 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena21(&mut self) -> CH_ENA21_W { - CH_ENA21_W::new(self, 21) + pub fn ch_ena21(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 21) } #[doc = "Bit 22 - Represents ch22 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena22(&mut self) -> CH_ENA22_W { - CH_ENA22_W::new(self, 22) + pub fn ch_ena22(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 22) } #[doc = "Bit 23 - Represents ch23 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena23(&mut self) -> CH_ENA23_W { - CH_ENA23_W::new(self, 23) + pub fn ch_ena23(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 23) } #[doc = "Bit 24 - Represents ch24 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena24(&mut self) -> CH_ENA24_W { - CH_ENA24_W::new(self, 24) + pub fn ch_ena24(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 24) } #[doc = "Bit 25 - Represents ch25 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena25(&mut self) -> CH_ENA25_W { - CH_ENA25_W::new(self, 25) + pub fn ch_ena25(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 25) } #[doc = "Bit 26 - Represents ch26 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena26(&mut self) -> CH_ENA26_W { - CH_ENA26_W::new(self, 26) + pub fn ch_ena26(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 26) } #[doc = "Bit 27 - Represents ch27 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena27(&mut self) -> CH_ENA27_W { - CH_ENA27_W::new(self, 27) + pub fn ch_ena27(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 27) } #[doc = "Bit 28 - Represents ch28 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena28(&mut self) -> CH_ENA28_W { - CH_ENA28_W::new(self, 28) + pub fn ch_ena28(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 28) } #[doc = "Bit 29 - Represents ch29 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena29(&mut self) -> CH_ENA29_W { - CH_ENA29_W::new(self, 29) + pub fn ch_ena29(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 29) } #[doc = "Bit 30 - Represents ch30 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena30(&mut self) -> CH_ENA30_W { - CH_ENA30_W::new(self, 30) + pub fn ch_ena30(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 30) } #[doc = "Bit 31 - Represents ch31 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena31(&mut self) -> CH_ENA31_W { - CH_ENA31_W::new(self, 31) + pub fn ch_ena31(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 31) } } #[doc = "Channel enable status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_ena_ad0::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs b/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs index a4ffc50337..2e869b0360 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs @@ -1,69 +1,7 @@ #[doc = "Register `CH_ENA_AD0_CLR` writer"] pub type W = crate::W; -#[doc = "Field `CH_CLR0` writer - Configures whether or not to clear ch0 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR1` writer - Configures whether or not to clear ch1 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR2` writer - Configures whether or not to clear ch2 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR3` writer - Configures whether or not to clear ch3 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR4` writer - Configures whether or not to clear ch4 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR5` writer - Configures whether or not to clear ch5 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR6` writer - Configures whether or not to clear ch6 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR7` writer - Configures whether or not to clear ch7 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR8` writer - Configures whether or not to clear ch8 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR9` writer - Configures whether or not to clear ch9 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR10` writer - Configures whether or not to clear ch10 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR11` writer - Configures whether or not to clear ch11 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR12` writer - Configures whether or not to clear ch12 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR13` writer - Configures whether or not to clear ch13 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR14` writer - Configures whether or not to clear ch14 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR15` writer - Configures whether or not to clear ch15 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR16` writer - Configures whether or not to clear ch16 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR17` writer - Configures whether or not to clear ch17 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR18` writer - Configures whether or not to clear ch18 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR19` writer - Configures whether or not to clear ch19 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR20` writer - Configures whether or not to clear ch20 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR21` writer - Configures whether or not to clear ch21 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR22` writer - Configures whether or not to clear ch22 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR23` writer - Configures whether or not to clear ch23 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR24` writer - Configures whether or not to clear ch24 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR25` writer - Configures whether or not to clear ch25 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR26` writer - Configures whether or not to clear ch26 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR27` writer - Configures whether or not to clear ch27 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR28` writer - Configures whether or not to clear ch28 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR29` writer - Configures whether or not to clear ch29 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR30` writer - Configures whether or not to clear ch30 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR31` writer - Configures whether or not to clear ch31 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_CLR(0-31)` writer - Configures whether or not to clear ch%s enable.\\\\0: Invalid, No effect\\\\1: Clear"] +pub type CH_CLR_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -71,197 +9,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "Configures whether or not to clear ch(0-31) enable.\\\\0: Invalid, No effect\\\\1: Clear"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_CLR0` field"] + #[inline(always)] + #[must_use] + pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_CLR_W::new(self, n) + } #[doc = "Bit 0 - Configures whether or not to clear ch0 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr0(&mut self) -> CH_CLR0_W { - CH_CLR0_W::new(self, 0) + pub fn ch_clr0(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear ch1 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr1(&mut self) -> CH_CLR1_W { - CH_CLR1_W::new(self, 1) + pub fn ch_clr1(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear ch2 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr2(&mut self) -> CH_CLR2_W { - CH_CLR2_W::new(self, 2) + pub fn ch_clr2(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear ch3 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr3(&mut self) -> CH_CLR3_W { - CH_CLR3_W::new(self, 3) + pub fn ch_clr3(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear ch4 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr4(&mut self) -> CH_CLR4_W { - CH_CLR4_W::new(self, 4) + pub fn ch_clr4(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear ch5 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr5(&mut self) -> CH_CLR5_W { - CH_CLR5_W::new(self, 5) + pub fn ch_clr5(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear ch6 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr6(&mut self) -> CH_CLR6_W { - CH_CLR6_W::new(self, 6) + pub fn ch_clr6(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear ch7 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr7(&mut self) -> CH_CLR7_W { - CH_CLR7_W::new(self, 7) + pub fn ch_clr7(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear ch8 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr8(&mut self) -> CH_CLR8_W { - CH_CLR8_W::new(self, 8) + pub fn ch_clr8(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear ch9 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr9(&mut self) -> CH_CLR9_W { - CH_CLR9_W::new(self, 9) + pub fn ch_clr9(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear ch10 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr10(&mut self) -> CH_CLR10_W { - CH_CLR10_W::new(self, 10) + pub fn ch_clr10(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear ch11 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr11(&mut self) -> CH_CLR11_W { - CH_CLR11_W::new(self, 11) + pub fn ch_clr11(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear ch12 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr12(&mut self) -> CH_CLR12_W { - CH_CLR12_W::new(self, 12) + pub fn ch_clr12(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear ch13 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr13(&mut self) -> CH_CLR13_W { - CH_CLR13_W::new(self, 13) + pub fn ch_clr13(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear ch14 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr14(&mut self) -> CH_CLR14_W { - CH_CLR14_W::new(self, 14) + pub fn ch_clr14(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear ch15 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr15(&mut self) -> CH_CLR15_W { - CH_CLR15_W::new(self, 15) + pub fn ch_clr15(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear ch16 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr16(&mut self) -> CH_CLR16_W { - CH_CLR16_W::new(self, 16) + pub fn ch_clr16(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear ch17 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr17(&mut self) -> CH_CLR17_W { - CH_CLR17_W::new(self, 17) + pub fn ch_clr17(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear ch18 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr18(&mut self) -> CH_CLR18_W { - CH_CLR18_W::new(self, 18) + pub fn ch_clr18(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to clear ch19 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr19(&mut self) -> CH_CLR19_W { - CH_CLR19_W::new(self, 19) + pub fn ch_clr19(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to clear ch20 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr20(&mut self) -> CH_CLR20_W { - CH_CLR20_W::new(self, 20) + pub fn ch_clr20(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to clear ch21 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr21(&mut self) -> CH_CLR21_W { - CH_CLR21_W::new(self, 21) + pub fn ch_clr21(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to clear ch22 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr22(&mut self) -> CH_CLR22_W { - CH_CLR22_W::new(self, 22) + pub fn ch_clr22(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to clear ch23 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr23(&mut self) -> CH_CLR23_W { - CH_CLR23_W::new(self, 23) + pub fn ch_clr23(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to clear ch24 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr24(&mut self) -> CH_CLR24_W { - CH_CLR24_W::new(self, 24) + pub fn ch_clr24(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to clear ch25 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr25(&mut self) -> CH_CLR25_W { - CH_CLR25_W::new(self, 25) + pub fn ch_clr25(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to clear ch26 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr26(&mut self) -> CH_CLR26_W { - CH_CLR26_W::new(self, 26) + pub fn ch_clr26(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to clear ch27 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr27(&mut self) -> CH_CLR27_W { - CH_CLR27_W::new(self, 27) + pub fn ch_clr27(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to clear ch28 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr28(&mut self) -> CH_CLR28_W { - CH_CLR28_W::new(self, 28) + pub fn ch_clr28(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to clear ch29 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr29(&mut self) -> CH_CLR29_W { - CH_CLR29_W::new(self, 29) + pub fn ch_clr29(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to clear ch30 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr30(&mut self) -> CH_CLR30_W { - CH_CLR30_W::new(self, 30) + pub fn ch_clr30(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to clear ch31 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr31(&mut self) -> CH_CLR31_W { - CH_CLR31_W::new(self, 31) + pub fn ch_clr31(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 31) } } #[doc = "Channel enable clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32p4/src/soc_etm/ch_ena_ad0_set.rs b/esp32p4/src/soc_etm/ch_ena_ad0_set.rs index f8e5318298..e4c867de28 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad0_set.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad0_set.rs @@ -1,69 +1,7 @@ #[doc = "Register `CH_ENA_AD0_SET` writer"] pub type W = crate::W; -#[doc = "Field `CH_SET0` writer - Configures whether or not to enable ch0.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET0_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET1` writer - Configures whether or not to enable ch1.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET1_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET2` writer - Configures whether or not to enable ch2.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET2_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET3` writer - Configures whether or not to enable ch3.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET3_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET4` writer - Configures whether or not to enable ch4.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET4_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET5` writer - Configures whether or not to enable ch5.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET5_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET6` writer - Configures whether or not to enable ch6.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET6_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET7` writer - Configures whether or not to enable ch7.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET7_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET8` writer - Configures whether or not to enable ch8.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET8_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET9` writer - Configures whether or not to enable ch9.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET9_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET10` writer - Configures whether or not to enable ch10.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET10_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET11` writer - Configures whether or not to enable ch11.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET11_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET12` writer - Configures whether or not to enable ch12.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET12_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET13` writer - Configures whether or not to enable ch13.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET13_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET14` writer - Configures whether or not to enable ch14.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET14_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET15` writer - Configures whether or not to enable ch15.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET15_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET16` writer - Configures whether or not to enable ch16.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET16_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET17` writer - Configures whether or not to enable ch17.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET17_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET18` writer - Configures whether or not to enable ch18.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET18_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET19` writer - Configures whether or not to enable ch19.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET19_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET20` writer - Configures whether or not to enable ch20.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET20_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET21` writer - Configures whether or not to enable ch21.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET21_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET22` writer - Configures whether or not to enable ch22.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET22_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET23` writer - Configures whether or not to enable ch23.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET23_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET24` writer - Configures whether or not to enable ch24.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET24_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET25` writer - Configures whether or not to enable ch25.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET25_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET26` writer - Configures whether or not to enable ch26.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET26_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET27` writer - Configures whether or not to enable ch27.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET27_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET28` writer - Configures whether or not to enable ch28.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET28_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET29` writer - Configures whether or not to enable ch29.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET29_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET30` writer - Configures whether or not to enable ch30.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET30_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET31` writer - Configures whether or not to enable ch31.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET31_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_SET(0-31)` writer - Configures whether or not to enable ch%s.\\\\0: Invalid, No effect\\\\1: Enable"] +pub type CH_SET_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -71,197 +9,207 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "Configures whether or not to enable ch(0-31).\\\\0: Invalid, No effect\\\\1: Enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_SET0` field"] + #[inline(always)] + #[must_use] + pub fn ch_set(&mut self, n: u8) -> CH_SET_W { + #[allow(clippy::no_effect)] + [(); 32][n as usize]; + CH_SET_W::new(self, n) + } #[doc = "Bit 0 - Configures whether or not to enable ch0.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set0(&mut self) -> CH_SET0_W { - CH_SET0_W::new(self, 0) + pub fn ch_set0(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable ch1.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set1(&mut self) -> CH_SET1_W { - CH_SET1_W::new(self, 1) + pub fn ch_set1(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable ch2.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set2(&mut self) -> CH_SET2_W { - CH_SET2_W::new(self, 2) + pub fn ch_set2(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable ch3.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set3(&mut self) -> CH_SET3_W { - CH_SET3_W::new(self, 3) + pub fn ch_set3(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable ch4.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set4(&mut self) -> CH_SET4_W { - CH_SET4_W::new(self, 4) + pub fn ch_set4(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable ch5.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set5(&mut self) -> CH_SET5_W { - CH_SET5_W::new(self, 5) + pub fn ch_set5(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable ch6.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set6(&mut self) -> CH_SET6_W { - CH_SET6_W::new(self, 6) + pub fn ch_set6(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable ch7.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set7(&mut self) -> CH_SET7_W { - CH_SET7_W::new(self, 7) + pub fn ch_set7(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable ch8.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set8(&mut self) -> CH_SET8_W { - CH_SET8_W::new(self, 8) + pub fn ch_set8(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable ch9.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set9(&mut self) -> CH_SET9_W { - CH_SET9_W::new(self, 9) + pub fn ch_set9(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable ch10.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set10(&mut self) -> CH_SET10_W { - CH_SET10_W::new(self, 10) + pub fn ch_set10(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable ch11.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set11(&mut self) -> CH_SET11_W { - CH_SET11_W::new(self, 11) + pub fn ch_set11(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable ch12.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set12(&mut self) -> CH_SET12_W { - CH_SET12_W::new(self, 12) + pub fn ch_set12(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable ch13.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set13(&mut self) -> CH_SET13_W { - CH_SET13_W::new(self, 13) + pub fn ch_set13(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable ch14.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set14(&mut self) -> CH_SET14_W { - CH_SET14_W::new(self, 14) + pub fn ch_set14(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable ch15.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set15(&mut self) -> CH_SET15_W { - CH_SET15_W::new(self, 15) + pub fn ch_set15(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable ch16.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set16(&mut self) -> CH_SET16_W { - CH_SET16_W::new(self, 16) + pub fn ch_set16(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable ch17.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set17(&mut self) -> CH_SET17_W { - CH_SET17_W::new(self, 17) + pub fn ch_set17(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable ch18.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set18(&mut self) -> CH_SET18_W { - CH_SET18_W::new(self, 18) + pub fn ch_set18(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable ch19.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set19(&mut self) -> CH_SET19_W { - CH_SET19_W::new(self, 19) + pub fn ch_set19(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable ch20.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set20(&mut self) -> CH_SET20_W { - CH_SET20_W::new(self, 20) + pub fn ch_set20(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable ch21.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set21(&mut self) -> CH_SET21_W { - CH_SET21_W::new(self, 21) + pub fn ch_set21(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to enable ch22.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set22(&mut self) -> CH_SET22_W { - CH_SET22_W::new(self, 22) + pub fn ch_set22(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to enable ch23.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set23(&mut self) -> CH_SET23_W { - CH_SET23_W::new(self, 23) + pub fn ch_set23(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to enable ch24.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set24(&mut self) -> CH_SET24_W { - CH_SET24_W::new(self, 24) + pub fn ch_set24(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to enable ch25.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set25(&mut self) -> CH_SET25_W { - CH_SET25_W::new(self, 25) + pub fn ch_set25(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to enable ch26.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set26(&mut self) -> CH_SET26_W { - CH_SET26_W::new(self, 26) + pub fn ch_set26(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to enable ch27.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set27(&mut self) -> CH_SET27_W { - CH_SET27_W::new(self, 27) + pub fn ch_set27(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to enable ch28.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set28(&mut self) -> CH_SET28_W { - CH_SET28_W::new(self, 28) + pub fn ch_set28(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to enable ch29.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set29(&mut self) -> CH_SET29_W { - CH_SET29_W::new(self, 29) + pub fn ch_set29(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to enable ch30.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set30(&mut self) -> CH_SET30_W { - CH_SET30_W::new(self, 30) + pub fn ch_set30(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to enable ch31.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set31(&mut self) -> CH_SET31_W { - CH_SET31_W::new(self, 31) + pub fn ch_set31(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 31) } } #[doc = "Channel enable set register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad0_set::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32p4/src/soc_etm/ch_ena_ad1.rs b/esp32p4/src/soc_etm/ch_ena_ad1.rs index 5793bc64de..db80a55fb2 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad1.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad1.rs @@ -2,168 +2,115 @@ pub type R = crate::R; #[doc = "Register `CH_ENA_AD1` writer"] pub type W = crate::W; -#[doc = "Field `CH_ENA32` reader - Represents ch32 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA32_R = crate::BitReader; -#[doc = "Field `CH_ENA32` writer - Represents ch32 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA33` reader - Represents ch33 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA33_R = crate::BitReader; -#[doc = "Field `CH_ENA33` writer - Represents ch33 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA34` reader - Represents ch34 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA34_R = crate::BitReader; -#[doc = "Field `CH_ENA34` writer - Represents ch34 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA35` reader - Represents ch35 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA35_R = crate::BitReader; -#[doc = "Field `CH_ENA35` writer - Represents ch35 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA36` reader - Represents ch36 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA36_R = crate::BitReader; -#[doc = "Field `CH_ENA36` writer - Represents ch36 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA37` reader - Represents ch37 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA37_R = crate::BitReader; -#[doc = "Field `CH_ENA37` writer - Represents ch37 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA38` reader - Represents ch38 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA38_R = crate::BitReader; -#[doc = "Field `CH_ENA38` writer - Represents ch38 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA39` reader - Represents ch39 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA39_R = crate::BitReader; -#[doc = "Field `CH_ENA39` writer - Represents ch39 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA40` reader - Represents ch40 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA40_R = crate::BitReader; -#[doc = "Field `CH_ENA40` writer - Represents ch40 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA41` reader - Represents ch41 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA41_R = crate::BitReader; -#[doc = "Field `CH_ENA41` writer - Represents ch41 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA42` reader - Represents ch42 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA42_R = crate::BitReader; -#[doc = "Field `CH_ENA42` writer - Represents ch42 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA43` reader - Represents ch43 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA43_R = crate::BitReader; -#[doc = "Field `CH_ENA43` writer - Represents ch43 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA44` reader - Represents ch44 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA44_R = crate::BitReader; -#[doc = "Field `CH_ENA44` writer - Represents ch44 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA45` reader - Represents ch45 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA45_R = crate::BitReader; -#[doc = "Field `CH_ENA45` writer - Represents ch45 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA46` reader - Represents ch46 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA46_R = crate::BitReader; -#[doc = "Field `CH_ENA46` writer - Represents ch46 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA47` reader - Represents ch47 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA47_R = crate::BitReader; -#[doc = "Field `CH_ENA47` writer - Represents ch47 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA48` reader - Represents ch48 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA48_R = crate::BitReader; -#[doc = "Field `CH_ENA48` writer - Represents ch48 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_ENA49` reader - Represents ch49 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA49_R = crate::BitReader; -#[doc = "Field `CH_ENA49` writer - Represents ch49 enable status.\\\\0: Disable\\\\1: Enable"] -pub type CH_ENA49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_ENA(32-49)` reader - Represents ch%s enable status.\\\\0: Disable\\\\1: Enable"] +pub type CH_ENA_R = crate::BitReader; +#[doc = "Field `CH_ENA(32-49)` writer - Represents ch%s enable status.\\\\0: Disable\\\\1: Enable"] +pub type CH_ENA_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { + #[doc = "Represents ch(32-49) enable status.\\\\0: Disable\\\\1: Enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field"] + #[inline(always)] + pub fn ch_ena(&self, n: u8) -> CH_ENA_R { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_ENA_R::new(((self.bits >> n) & 1) != 0) + } + #[doc = "Iterator for array of:"] + #[doc = "Represents ch(32-49) enable status.\\\\0: Disable\\\\1: Enable"] + #[inline(always)] + pub fn ch_ena_iter(&self) -> impl Iterator + '_ { + (0..18).map(move |n| CH_ENA_R::new(((self.bits >> n) & 1) != 0)) + } #[doc = "Bit 0 - Represents ch32 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena32(&self) -> CH_ENA32_R { - CH_ENA32_R::new((self.bits & 1) != 0) + pub fn ch_ena32(&self) -> CH_ENA_R { + CH_ENA_R::new((self.bits & 1) != 0) } #[doc = "Bit 1 - Represents ch33 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena33(&self) -> CH_ENA33_R { - CH_ENA33_R::new(((self.bits >> 1) & 1) != 0) + pub fn ch_ena33(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 1) & 1) != 0) } #[doc = "Bit 2 - Represents ch34 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena34(&self) -> CH_ENA34_R { - CH_ENA34_R::new(((self.bits >> 2) & 1) != 0) + pub fn ch_ena34(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 2) & 1) != 0) } #[doc = "Bit 3 - Represents ch35 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena35(&self) -> CH_ENA35_R { - CH_ENA35_R::new(((self.bits >> 3) & 1) != 0) + pub fn ch_ena35(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 3) & 1) != 0) } #[doc = "Bit 4 - Represents ch36 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena36(&self) -> CH_ENA36_R { - CH_ENA36_R::new(((self.bits >> 4) & 1) != 0) + pub fn ch_ena36(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 4) & 1) != 0) } #[doc = "Bit 5 - Represents ch37 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena37(&self) -> CH_ENA37_R { - CH_ENA37_R::new(((self.bits >> 5) & 1) != 0) + pub fn ch_ena37(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 5) & 1) != 0) } #[doc = "Bit 6 - Represents ch38 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena38(&self) -> CH_ENA38_R { - CH_ENA38_R::new(((self.bits >> 6) & 1) != 0) + pub fn ch_ena38(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 6) & 1) != 0) } #[doc = "Bit 7 - Represents ch39 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena39(&self) -> CH_ENA39_R { - CH_ENA39_R::new(((self.bits >> 7) & 1) != 0) + pub fn ch_ena39(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 7) & 1) != 0) } #[doc = "Bit 8 - Represents ch40 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena40(&self) -> CH_ENA40_R { - CH_ENA40_R::new(((self.bits >> 8) & 1) != 0) + pub fn ch_ena40(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 8) & 1) != 0) } #[doc = "Bit 9 - Represents ch41 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena41(&self) -> CH_ENA41_R { - CH_ENA41_R::new(((self.bits >> 9) & 1) != 0) + pub fn ch_ena41(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 9) & 1) != 0) } #[doc = "Bit 10 - Represents ch42 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena42(&self) -> CH_ENA42_R { - CH_ENA42_R::new(((self.bits >> 10) & 1) != 0) + pub fn ch_ena42(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 10) & 1) != 0) } #[doc = "Bit 11 - Represents ch43 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena43(&self) -> CH_ENA43_R { - CH_ENA43_R::new(((self.bits >> 11) & 1) != 0) + pub fn ch_ena43(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 11) & 1) != 0) } #[doc = "Bit 12 - Represents ch44 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena44(&self) -> CH_ENA44_R { - CH_ENA44_R::new(((self.bits >> 12) & 1) != 0) + pub fn ch_ena44(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 12) & 1) != 0) } #[doc = "Bit 13 - Represents ch45 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena45(&self) -> CH_ENA45_R { - CH_ENA45_R::new(((self.bits >> 13) & 1) != 0) + pub fn ch_ena45(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 13) & 1) != 0) } #[doc = "Bit 14 - Represents ch46 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena46(&self) -> CH_ENA46_R { - CH_ENA46_R::new(((self.bits >> 14) & 1) != 0) + pub fn ch_ena46(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 14) & 1) != 0) } #[doc = "Bit 15 - Represents ch47 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena47(&self) -> CH_ENA47_R { - CH_ENA47_R::new(((self.bits >> 15) & 1) != 0) + pub fn ch_ena47(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 15) & 1) != 0) } #[doc = "Bit 16 - Represents ch48 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena48(&self) -> CH_ENA48_R { - CH_ENA48_R::new(((self.bits >> 16) & 1) != 0) + pub fn ch_ena48(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 16) & 1) != 0) } #[doc = "Bit 17 - Represents ch49 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - pub fn ch_ena49(&self) -> CH_ENA49_R { - CH_ENA49_R::new(((self.bits >> 17) & 1) != 0) + pub fn ch_ena49(&self) -> CH_ENA_R { + CH_ENA_R::new(((self.bits >> 17) & 1) != 0) } } #[cfg(feature = "impl-register-debug")] @@ -198,113 +145,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "Represents ch(32-49) enable status.\\\\0: Disable\\\\1: Enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field"] + #[inline(always)] + #[must_use] + pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_ENA_W::new(self, n) + } #[doc = "Bit 0 - Represents ch32 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena32(&mut self) -> CH_ENA32_W { - CH_ENA32_W::new(self, 0) + pub fn ch_ena32(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - Represents ch33 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena33(&mut self) -> CH_ENA33_W { - CH_ENA33_W::new(self, 1) + pub fn ch_ena33(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - Represents ch34 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena34(&mut self) -> CH_ENA34_W { - CH_ENA34_W::new(self, 2) + pub fn ch_ena34(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - Represents ch35 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena35(&mut self) -> CH_ENA35_W { - CH_ENA35_W::new(self, 3) + pub fn ch_ena35(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - Represents ch36 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena36(&mut self) -> CH_ENA36_W { - CH_ENA36_W::new(self, 4) + pub fn ch_ena36(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - Represents ch37 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena37(&mut self) -> CH_ENA37_W { - CH_ENA37_W::new(self, 5) + pub fn ch_ena37(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - Represents ch38 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena38(&mut self) -> CH_ENA38_W { - CH_ENA38_W::new(self, 6) + pub fn ch_ena38(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - Represents ch39 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena39(&mut self) -> CH_ENA39_W { - CH_ENA39_W::new(self, 7) + pub fn ch_ena39(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - Represents ch40 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena40(&mut self) -> CH_ENA40_W { - CH_ENA40_W::new(self, 8) + pub fn ch_ena40(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - Represents ch41 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena41(&mut self) -> CH_ENA41_W { - CH_ENA41_W::new(self, 9) + pub fn ch_ena41(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - Represents ch42 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena42(&mut self) -> CH_ENA42_W { - CH_ENA42_W::new(self, 10) + pub fn ch_ena42(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - Represents ch43 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena43(&mut self) -> CH_ENA43_W { - CH_ENA43_W::new(self, 11) + pub fn ch_ena43(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - Represents ch44 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena44(&mut self) -> CH_ENA44_W { - CH_ENA44_W::new(self, 12) + pub fn ch_ena44(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - Represents ch45 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena45(&mut self) -> CH_ENA45_W { - CH_ENA45_W::new(self, 13) + pub fn ch_ena45(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - Represents ch46 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena46(&mut self) -> CH_ENA46_W { - CH_ENA46_W::new(self, 14) + pub fn ch_ena46(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - Represents ch47 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena47(&mut self) -> CH_ENA47_W { - CH_ENA47_W::new(self, 15) + pub fn ch_ena47(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - Represents ch48 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena48(&mut self) -> CH_ENA48_W { - CH_ENA48_W::new(self, 16) + pub fn ch_ena48(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - Represents ch49 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_ena49(&mut self) -> CH_ENA49_W { - CH_ENA49_W::new(self, 17) + pub fn ch_ena49(&mut self) -> CH_ENA_W { + CH_ENA_W::new(self, 17) } } #[doc = "Channel enable status register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_ena_ad1::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs b/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs index cafd5f0b03..3ff54739e3 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs @@ -1,41 +1,7 @@ #[doc = "Register `CH_ENA_AD1_CLR` writer"] pub type W = crate::W; -#[doc = "Field `CH_CLR32` writer - Configures whether or not to clear ch32 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR33` writer - Configures whether or not to clear ch33 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR34` writer - Configures whether or not to clear ch34 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR35` writer - Configures whether or not to clear ch35 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR36` writer - Configures whether or not to clear ch36 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR37` writer - Configures whether or not to clear ch37 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR38` writer - Configures whether or not to clear ch38 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR39` writer - Configures whether or not to clear ch39 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR40` writer - Configures whether or not to clear ch40 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR41` writer - Configures whether or not to clear ch41 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR42` writer - Configures whether or not to clear ch42 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR43` writer - Configures whether or not to clear ch43 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR44` writer - Configures whether or not to clear ch44 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR45` writer - Configures whether or not to clear ch45 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR46` writer - Configures whether or not to clear ch46 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR47` writer - Configures whether or not to clear ch47 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR48` writer - Configures whether or not to clear ch48 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_CLR49` writer - Configures whether or not to clear ch49 enable.\\\\0: Invalid, No effect\\\\1: Clear"] -pub type CH_CLR49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_CLR(32-49)` writer - Configures whether or not to clear ch%s enable.\\\\0: Invalid, No effect\\\\1: Clear"] +pub type CH_CLR_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -43,113 +9,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "Configures whether or not to clear ch(32-49) enable.\\\\0: Invalid, No effect\\\\1: Clear"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_CLR32` field"] + #[inline(always)] + #[must_use] + pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_CLR_W::new(self, n) + } #[doc = "Bit 0 - Configures whether or not to clear ch32 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr32(&mut self) -> CH_CLR32_W { - CH_CLR32_W::new(self, 0) + pub fn ch_clr32(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear ch33 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr33(&mut self) -> CH_CLR33_W { - CH_CLR33_W::new(self, 1) + pub fn ch_clr33(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear ch34 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr34(&mut self) -> CH_CLR34_W { - CH_CLR34_W::new(self, 2) + pub fn ch_clr34(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear ch35 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr35(&mut self) -> CH_CLR35_W { - CH_CLR35_W::new(self, 3) + pub fn ch_clr35(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear ch36 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr36(&mut self) -> CH_CLR36_W { - CH_CLR36_W::new(self, 4) + pub fn ch_clr36(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear ch37 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr37(&mut self) -> CH_CLR37_W { - CH_CLR37_W::new(self, 5) + pub fn ch_clr37(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear ch38 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr38(&mut self) -> CH_CLR38_W { - CH_CLR38_W::new(self, 6) + pub fn ch_clr38(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear ch39 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr39(&mut self) -> CH_CLR39_W { - CH_CLR39_W::new(self, 7) + pub fn ch_clr39(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear ch40 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr40(&mut self) -> CH_CLR40_W { - CH_CLR40_W::new(self, 8) + pub fn ch_clr40(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear ch41 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr41(&mut self) -> CH_CLR41_W { - CH_CLR41_W::new(self, 9) + pub fn ch_clr41(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear ch42 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr42(&mut self) -> CH_CLR42_W { - CH_CLR42_W::new(self, 10) + pub fn ch_clr42(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear ch43 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr43(&mut self) -> CH_CLR43_W { - CH_CLR43_W::new(self, 11) + pub fn ch_clr43(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear ch44 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr44(&mut self) -> CH_CLR44_W { - CH_CLR44_W::new(self, 12) + pub fn ch_clr44(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear ch45 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr45(&mut self) -> CH_CLR45_W { - CH_CLR45_W::new(self, 13) + pub fn ch_clr45(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear ch46 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr46(&mut self) -> CH_CLR46_W { - CH_CLR46_W::new(self, 14) + pub fn ch_clr46(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear ch47 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr47(&mut self) -> CH_CLR47_W { - CH_CLR47_W::new(self, 15) + pub fn ch_clr47(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear ch48 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr48(&mut self) -> CH_CLR48_W { - CH_CLR48_W::new(self, 16) + pub fn ch_clr48(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear ch49 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] #[must_use] - pub fn ch_clr49(&mut self) -> CH_CLR49_W { - CH_CLR49_W::new(self, 17) + pub fn ch_clr49(&mut self) -> CH_CLR_W { + CH_CLR_W::new(self, 17) } } #[doc = "Channel enable clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32p4/src/soc_etm/ch_ena_ad1_set.rs b/esp32p4/src/soc_etm/ch_ena_ad1_set.rs index 98b74ce942..4ff15882f9 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad1_set.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad1_set.rs @@ -1,41 +1,7 @@ #[doc = "Register `CH_ENA_AD1_SET` writer"] pub type W = crate::W; -#[doc = "Field `CH_SET32` writer - Configures whether or not to enable ch32.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET32_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET33` writer - Configures whether or not to enable ch33.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET33_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET34` writer - Configures whether or not to enable ch34.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET34_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET35` writer - Configures whether or not to enable ch35.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET35_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET36` writer - Configures whether or not to enable ch36.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET36_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET37` writer - Configures whether or not to enable ch37.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET37_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET38` writer - Configures whether or not to enable ch38.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET38_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET39` writer - Configures whether or not to enable ch39.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET39_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET40` writer - Configures whether or not to enable ch40.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET40_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET41` writer - Configures whether or not to enable ch41.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET41_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET42` writer - Configures whether or not to enable ch42.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET42_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET43` writer - Configures whether or not to enable ch43.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET43_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET44` writer - Configures whether or not to enable ch44.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET44_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET45` writer - Configures whether or not to enable ch45.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET45_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET46` writer - Configures whether or not to enable ch46.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET46_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET47` writer - Configures whether or not to enable ch47.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET47_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET48` writer - Configures whether or not to enable ch48.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET48_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `CH_SET49` writer - Configures whether or not to enable ch49.\\\\0: Invalid, No effect\\\\1: Enable"] -pub type CH_SET49_W<'a, REG> = crate::BitWriter<'a, REG>; +#[doc = "Field `CH_SET(32-49)` writer - Configures whether or not to enable ch%s.\\\\0: Invalid, No effect\\\\1: Enable"] +pub type CH_SET_W<'a, REG> = crate::BitWriter<'a, REG>; #[cfg(feature = "impl-register-debug")] impl core::fmt::Debug for crate::generic::Reg { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { @@ -43,113 +9,123 @@ impl core::fmt::Debug for crate::generic::Reg { } } impl W { + #[doc = "Configures whether or not to enable ch(32-49).\\\\0: Invalid, No effect\\\\1: Enable"] + #[doc = ""] + #[doc = "NOTE: `n` is number of field in register. `n == 0` corresponds to `CH_SET32` field"] + #[inline(always)] + #[must_use] + pub fn ch_set(&mut self, n: u8) -> CH_SET_W { + #[allow(clippy::no_effect)] + [(); 18][n as usize]; + CH_SET_W::new(self, n) + } #[doc = "Bit 0 - Configures whether or not to enable ch32.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set32(&mut self) -> CH_SET32_W { - CH_SET32_W::new(self, 0) + pub fn ch_set32(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable ch33.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set33(&mut self) -> CH_SET33_W { - CH_SET33_W::new(self, 1) + pub fn ch_set33(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable ch34.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set34(&mut self) -> CH_SET34_W { - CH_SET34_W::new(self, 2) + pub fn ch_set34(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable ch35.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set35(&mut self) -> CH_SET35_W { - CH_SET35_W::new(self, 3) + pub fn ch_set35(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable ch36.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set36(&mut self) -> CH_SET36_W { - CH_SET36_W::new(self, 4) + pub fn ch_set36(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable ch37.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set37(&mut self) -> CH_SET37_W { - CH_SET37_W::new(self, 5) + pub fn ch_set37(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable ch38.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set38(&mut self) -> CH_SET38_W { - CH_SET38_W::new(self, 6) + pub fn ch_set38(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable ch39.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set39(&mut self) -> CH_SET39_W { - CH_SET39_W::new(self, 7) + pub fn ch_set39(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable ch40.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set40(&mut self) -> CH_SET40_W { - CH_SET40_W::new(self, 8) + pub fn ch_set40(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable ch41.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set41(&mut self) -> CH_SET41_W { - CH_SET41_W::new(self, 9) + pub fn ch_set41(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable ch42.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set42(&mut self) -> CH_SET42_W { - CH_SET42_W::new(self, 10) + pub fn ch_set42(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable ch43.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set43(&mut self) -> CH_SET43_W { - CH_SET43_W::new(self, 11) + pub fn ch_set43(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable ch44.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set44(&mut self) -> CH_SET44_W { - CH_SET44_W::new(self, 12) + pub fn ch_set44(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable ch45.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set45(&mut self) -> CH_SET45_W { - CH_SET45_W::new(self, 13) + pub fn ch_set45(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable ch46.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set46(&mut self) -> CH_SET46_W { - CH_SET46_W::new(self, 14) + pub fn ch_set46(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable ch47.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set47(&mut self) -> CH_SET47_W { - CH_SET47_W::new(self, 15) + pub fn ch_set47(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable ch48.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set48(&mut self) -> CH_SET48_W { - CH_SET48_W::new(self, 16) + pub fn ch_set48(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable ch49.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] #[must_use] - pub fn ch_set49(&mut self) -> CH_SET49_W { - CH_SET49_W::new(self, 17) + pub fn ch_set49(&mut self) -> CH_SET_W { + CH_SET_W::new(self, 17) } } #[doc = "Channel enable set register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_ena_ad1_set::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] diff --git a/esp32p4/svd/patches/esp32p4.yaml b/esp32p4/svd/patches/esp32p4.yaml index de47e67f20..c319b465c8 100644 --- a/esp32p4/svd/patches/esp32p4.yaml +++ b/esp32p4/svd/patches/esp32p4.yaml @@ -51,6 +51,9 @@ SPI[23]: _strip: SPI_ _include: ../../../common_patches/spi_dma_int_strip.yaml +SOC_ETM: + _include: ../../../common_patches/etm_collect.yaml + MCPWM0: _expand_array: TIMER%s_CFG0: {}