#[doc = "CCM"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "CCM Control Register"]
pub CCR: crate::RWRegister<u32>,
_reserved0: [u8; 0x04],
#[doc = "CCM Status Register"]
pub CSR: crate::RORegister<u32>,
#[doc = "CCM Clock Switcher Register"]
pub CCSR: crate::RWRegister<u32>,
_reserved1: [u8; 0x04],
#[doc = "CCM Bus Clock Divider Register"]
pub CBCDR: crate::RWRegister<u32>,
#[doc = "CCM Bus Clock Multiplexer Register"]
pub CBCMR: crate::RWRegister<u32>,
#[doc = "CCM Serial Clock Multiplexer Register 1"]
pub CSCMR1: crate::RWRegister<u32>,
#[doc = "CCM Serial Clock Multiplexer Register 2"]
pub CSCMR2: crate::RWRegister<u32>,
#[doc = "CCM Serial Clock Divider Register 1"]
pub CSCDR1: crate::RWRegister<u32>,
#[doc = "CCM Clock Divider Register"]
pub CS1CDR: crate::RWRegister<u32>,
_reserved2: [u8; 0x04],
#[doc = "CCM D1 Clock Divider Register"]
pub CDCDR: crate::RWRegister<u32>,
_reserved3: [u8; 0x04],
#[doc = "CCM Serial Clock Divider Register 2"]
pub CSCDR2: crate::RWRegister<u32>,
_reserved4: [u8; 0x0c],
#[doc = "CCM Divider Handshake In-Process Register"]
pub CDHIPR: crate::RORegister<u32>,
_reserved5: [u8; 0x08],
#[doc = "CCM Low Power Control Register"]
pub CLPCR: crate::RWRegister<u32>,
#[doc = "CCM Interrupt Status Register"]
pub CISR: crate::RWRegister<u32>,
#[doc = "CCM Interrupt Mask Register"]
pub CIMR: crate::RWRegister<u32>,
#[doc = "CCM Clock Output Source Register"]
pub CCOSR: crate::RWRegister<u32>,
#[doc = "CCM General Purpose Register"]
pub CGPR: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 0"]
pub CCGR0: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 1"]
pub CCGR1: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 2"]
pub CCGR2: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 3"]
pub CCGR3: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 4"]
pub CCGR4: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 5"]
pub CCGR5: crate::RWRegister<u32>,
#[doc = "CCM Clock Gating Register 6"]
pub CCGR6: crate::RWRegister<u32>,
_reserved6: [u8; 0x04],
#[doc = "CCM Module Enable Overide Register"]
pub CMEOR: crate::RWRegister<u32>,
}
#[doc = "CCM Control Register"]
pub mod CCR {
#[doc = "Oscillator ready counter value. These bits define value of 32KHz counter, that serve as counter for oscillator lock time (count to n+1 ckil's). This is used for oscillator lock time. Current estimation is ~5ms. This counter will be used in ignition sequence and in wake from stop sequence if sbyos bit was defined, to notify that on chip oscillator output is ready for the dpll_ip to use and only then the gate in dpll_ip can be opened."]
pub mod OSCNT {
pub const offset: u32 = 0;
pub const mask: u32 = 0xff << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "On chip oscillator enable bit - this bit value is reflected on the output cosc_en"]
pub mod COSC_EN {
pub const offset: u32 = 12;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "disable on chip oscillator"]
pub const COSC_EN_0: u32 = 0;
#[doc = "enable on chip oscillator"]
pub const COSC_EN_1: u32 = 0x01;
}
}
#[doc = "Counter for analog_reg_bypass signal assertion after standby voltage request by PMIC_STBY_REQ"]
pub mod REG_BYPASS_COUNT {
pub const offset: u32 = 21;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "no delay"]
pub const REG_BYPASS_COUNT_0: u32 = 0;
#[doc = "1 CKIL clock period delay"]
pub const REG_BYPASS_COUNT_1: u32 = 0x01;
#[doc = "63 CKIL clock periods delay"]
pub const REG_BYPASS_COUNT_63: u32 = 0x3f;
}
}
#[doc = "Enable for REG_BYPASS_COUNTER"]
pub mod RBC_EN {
pub const offset: u32 = 27;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "REG_BYPASS_COUNTER disabled"]
pub const RBC_EN_0: u32 = 0;
#[doc = "REG_BYPASS_COUNTER enabled."]
pub const RBC_EN_1: u32 = 0x01;
}
}
}
#[doc = "CCM Status Register"]
pub mod CSR {
#[doc = "Status of the value of CCM_REF_EN_B output of ccm"]
pub mod REF_EN_B {
pub const offset: u32 = 0;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "value of CCM_REF_EN_B is '0'"]
pub const REF_EN_B_0: u32 = 0;
#[doc = "value of CCM_REF_EN_B is '1'"]
pub const REF_EN_B_1: u32 = 0x01;
}
}
#[doc = "Status indication of CAMP2."]
pub mod CAMP2_READY {
pub const offset: u32 = 3;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "CAMP2 is not ready."]
pub const CAMP2_READY_0: u32 = 0;
#[doc = "CAMP2 is ready."]
pub const CAMP2_READY_1: u32 = 0x01;
}
}
#[doc = "Status indication of on board oscillator"]
pub mod COSC_READY {
pub const offset: u32 = 5;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "on board oscillator is not ready."]
pub const COSC_READY_0: u32 = 0;
#[doc = "on board oscillator is ready."]
pub const COSC_READY_1: u32 = 0x01;
}
}
}
#[doc = "CCM Clock Switcher Register"]
pub mod CCSR {
#[doc = "Selects source to generate pll3_sw_clk. This bit should only be used for testing purposes."]
pub mod PLL3_SW_CLK_SEL {
pub const offset: u32 = 0;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "pll3_main_clk"]
pub const PLL3_SW_CLK_SEL_0: u32 = 0;
#[doc = "pll3 bypass clock"]
pub const PLL3_SW_CLK_SEL_1: u32 = 0x01;
}
}
}
#[doc = "CCM Bus Clock Divider Register"]
pub mod CBCDR {
#[doc = "Divider for ipg podf."]
pub mod IPG_PODF {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const IPG_PODF_0: u32 = 0;
#[doc = "divide by 2"]
pub const IPG_PODF_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const IPG_PODF_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const IPG_PODF_3: u32 = 0x03;
}
}
#[doc = "Divider for AHB PODF"]
pub mod AHB_PODF {
pub const offset: u32 = 10;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const AHB_PODF_0: u32 = 0;
#[doc = "divide by 2"]
pub const AHB_PODF_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const AHB_PODF_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const AHB_PODF_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const AHB_PODF_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const AHB_PODF_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const AHB_PODF_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const AHB_PODF_7: u32 = 0x07;
}
}
#[doc = "Selector for peripheral main clock"]
pub mod PERIPH_CLK_SEL {
pub const offset: u32 = 25;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock selected by CCM_CBCMR\\[CORE_CLK_PRE_SEL\\]"]
pub const PERIPH_CLK_SEL_0: u32 = 0;
#[doc = "derive clock selected by CCM_CBCMR\\[PERIPH_CLK2_SEL\\]"]
pub const PERIPH_CLK_SEL_1: u32 = 0x01;
}
}
}
#[doc = "CCM Bus Clock Multiplexer Register"]
pub mod CBCMR {
#[doc = "Selector for lpspi clock multiplexer"]
pub mod LPSPI_CLK_SEL {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL3 PFD1 clk"]
pub const LPSPI_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from PLL3 PFD0"]
pub const LPSPI_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from PLL2"]
pub const LPSPI_CLK_SEL_2: u32 = 0x02;
#[doc = "derive clock from PLL2 PFD2"]
pub const LPSPI_CLK_SEL_3: u32 = 0x03;
}
}
#[doc = "Selector for peripheral clk2 clock multiplexer"]
pub mod PERIPH_CLK2_SEL {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from pll3_sw_clk"]
pub const PERIPH_CLK2_SEL_0: u32 = 0;
#[doc = "derive clock from osc_clk"]
pub const PERIPH_CLK2_SEL_1: u32 = 0x01;
#[doc = "derive clock from pll2_bypass_clk"]
pub const PERIPH_CLK2_SEL_2: u32 = 0x02;
}
}
#[doc = "Selector for Trace clock multiplexer"]
pub mod TRACE_CLK_SEL {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL2"]
pub const TRACE_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from PLL2 PFD2"]
pub const TRACE_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from PLL2 PFD0"]
pub const TRACE_CLK_SEL_2: u32 = 0x02;
#[doc = "derive clock from PLL2 PFD1"]
pub const TRACE_CLK_SEL_3: u32 = 0x03;
}
}
#[doc = "Selector for pre_periph clock multiplexer"]
pub mod PRE_PERIPH_CLK_SEL {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL2"]
pub const PRE_PERIPH_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from PLL3 PFD3"]
pub const PRE_PERIPH_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from PLL2 PFD3"]
pub const PRE_PERIPH_CLK_SEL_2: u32 = 0x02;
#[doc = "derive clock from PLL6"]
pub const PRE_PERIPH_CLK_SEL_3: u32 = 0x03;
}
}
#[doc = "Divider for LPSPI. Divider should be updated when output clock is gated."]
pub mod LPSPI_PODF {
pub const offset: u32 = 26;
pub const mask: u32 = 0x0f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const LPSPI_PODF_0: u32 = 0;
#[doc = "divide by 2"]
pub const LPSPI_PODF_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const LPSPI_PODF_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const LPSPI_PODF_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const LPSPI_PODF_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const LPSPI_PODF_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const LPSPI_PODF_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const LPSPI_PODF_7: u32 = 0x07;
#[doc = "divide by 9"]
pub const LPSPI_PODF_8: u32 = 0x08;
#[doc = "divide by 10"]
pub const LPSPI_PODF_9: u32 = 0x09;
#[doc = "divide by 11"]
pub const LPSPI_PODF_10: u32 = 0x0a;
#[doc = "divide by 12"]
pub const LPSPI_PODF_11: u32 = 0x0b;
#[doc = "divide by 13"]
pub const LPSPI_PODF_12: u32 = 0x0c;
#[doc = "divide by 14"]
pub const LPSPI_PODF_13: u32 = 0x0d;
#[doc = "divide by 15"]
pub const LPSPI_PODF_14: u32 = 0x0e;
#[doc = "divide by 16"]
pub const LPSPI_PODF_15: u32 = 0x0f;
}
}
}
#[doc = "CCM Serial Clock Multiplexer Register 1"]
pub mod CSCMR1 {
#[doc = "Divider for perclk podf."]
pub mod PERCLK_PODF {
pub const offset: u32 = 0;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
#[doc = "Divide by 9"]
pub const DIVIDE_9: u32 = 0x08;
#[doc = "Divide by 10"]
pub const DIVIDE_10: u32 = 0x09;
#[doc = "Divide by 11"]
pub const DIVIDE_11: u32 = 0x0a;
#[doc = "Divide by 12"]
pub const DIVIDE_12: u32 = 0x0b;
#[doc = "Divide by 13"]
pub const DIVIDE_13: u32 = 0x0c;
#[doc = "Divide by 14"]
pub const DIVIDE_14: u32 = 0x0d;
#[doc = "Divide by 15"]
pub const DIVIDE_15: u32 = 0x0e;
#[doc = "Divide by 16"]
pub const DIVIDE_16: u32 = 0x0f;
#[doc = "Divide by 17"]
pub const DIVIDE_17: u32 = 0x10;
#[doc = "Divide by 18"]
pub const DIVIDE_18: u32 = 0x11;
#[doc = "Divide by 19"]
pub const DIVIDE_19: u32 = 0x12;
#[doc = "Divide by 20"]
pub const DIVIDE_20: u32 = 0x13;
#[doc = "Divide by 21"]
pub const DIVIDE_21: u32 = 0x14;
#[doc = "Divide by 22"]
pub const DIVIDE_22: u32 = 0x15;
#[doc = "Divide by 23"]
pub const DIVIDE_23: u32 = 0x16;
#[doc = "Divide by 24"]
pub const DIVIDE_24: u32 = 0x17;
#[doc = "Divide by 25"]
pub const DIVIDE_25: u32 = 0x18;
#[doc = "Divide by 26"]
pub const DIVIDE_26: u32 = 0x19;
#[doc = "Divide by 27"]
pub const DIVIDE_27: u32 = 0x1a;
#[doc = "Divide by 28"]
pub const DIVIDE_28: u32 = 0x1b;
#[doc = "Divide by 29"]
pub const DIVIDE_29: u32 = 0x1c;
#[doc = "Divide by 30"]
pub const DIVIDE_30: u32 = 0x1d;
#[doc = "Divide by 31"]
pub const DIVIDE_31: u32 = 0x1e;
#[doc = "Divide by 32"]
pub const DIVIDE_32: u32 = 0x1f;
#[doc = "Divide by 33"]
pub const DIVIDE_33: u32 = 0x20;
#[doc = "Divide by 34"]
pub const DIVIDE_34: u32 = 0x21;
#[doc = "Divide by 35"]
pub const DIVIDE_35: u32 = 0x22;
#[doc = "Divide by 36"]
pub const DIVIDE_36: u32 = 0x23;
#[doc = "Divide by 37"]
pub const DIVIDE_37: u32 = 0x24;
#[doc = "Divide by 38"]
pub const DIVIDE_38: u32 = 0x25;
#[doc = "Divide by 39"]
pub const DIVIDE_39: u32 = 0x26;
#[doc = "Divide by 40"]
pub const DIVIDE_40: u32 = 0x27;
#[doc = "Divide by 41"]
pub const DIVIDE_41: u32 = 0x28;
#[doc = "Divide by 42"]
pub const DIVIDE_42: u32 = 0x29;
#[doc = "Divide by 43"]
pub const DIVIDE_43: u32 = 0x2a;
#[doc = "Divide by 44"]
pub const DIVIDE_44: u32 = 0x2b;
#[doc = "Divide by 45"]
pub const DIVIDE_45: u32 = 0x2c;
#[doc = "Divide by 46"]
pub const DIVIDE_46: u32 = 0x2d;
#[doc = "Divide by 47"]
pub const DIVIDE_47: u32 = 0x2e;
#[doc = "Divide by 48"]
pub const DIVIDE_48: u32 = 0x2f;
#[doc = "Divide by 49"]
pub const DIVIDE_49: u32 = 0x30;
#[doc = "Divide by 50"]
pub const DIVIDE_50: u32 = 0x31;
#[doc = "Divide by 51"]
pub const DIVIDE_51: u32 = 0x32;
#[doc = "Divide by 52"]
pub const DIVIDE_52: u32 = 0x33;
#[doc = "Divide by 53"]
pub const DIVIDE_53: u32 = 0x34;
#[doc = "Divide by 54"]
pub const DIVIDE_54: u32 = 0x35;
#[doc = "Divide by 55"]
pub const DIVIDE_55: u32 = 0x36;
#[doc = "Divide by 56"]
pub const DIVIDE_56: u32 = 0x37;
#[doc = "Divide by 57"]
pub const DIVIDE_57: u32 = 0x38;
#[doc = "Divide by 58"]
pub const DIVIDE_58: u32 = 0x39;
#[doc = "Divide by 59"]
pub const DIVIDE_59: u32 = 0x3a;
#[doc = "Divide by 60"]
pub const DIVIDE_60: u32 = 0x3b;
#[doc = "Divide by 61"]
pub const DIVIDE_61: u32 = 0x3c;
#[doc = "Divide by 62"]
pub const DIVIDE_62: u32 = 0x3d;
#[doc = "Divide by 63"]
pub const DIVIDE_63: u32 = 0x3e;
#[doc = "Divide by 64"]
pub const DIVIDE_64: u32 = 0x3f;
}
}
#[doc = "Selector for the perclk clock multiplexor"]
pub mod PERCLK_CLK_SEL {
pub const offset: u32 = 6;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from ipg clk root"]
pub const PERCLK_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from osc_clk"]
pub const PERCLK_CLK_SEL_1: u32 = 0x01;
}
}
#[doc = "Selector for sai1 clock multiplexer"]
pub mod SAI1_CLK_SEL {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL3 PFD2"]
pub const SAI1_CLK_SEL_0: u32 = 0;
#[doc = "derive from pll3_sw_clk"]
pub const SAI1_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from PLL4"]
pub const SAI1_CLK_SEL_2: u32 = 0x02;
}
}
#[doc = "Selector for sai3 clock multiplexer"]
pub mod SAI3_CLK_SEL {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL3 PFD2"]
pub const SAI3_CLK_SEL_0: u32 = 0;
#[doc = "derive from pll3_sw_clk"]
pub const SAI3_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from PLL4"]
pub const SAI3_CLK_SEL_2: u32 = 0x02;
}
}
#[doc = "Divider for flexspi clock root."]
pub mod FLEXSPI_PODF {
pub const offset: u32 = 23;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const FLEXSPI_PODF_0: u32 = 0;
#[doc = "divide by 2"]
pub const FLEXSPI_PODF_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const FLEXSPI_PODF_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const FLEXSPI_PODF_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const FLEXSPI_PODF_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const FLEXSPI_PODF_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const FLEXSPI_PODF_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const FLEXSPI_PODF_7: u32 = 0x07;
}
}
#[doc = "Selector for flexspi clock multiplexer"]
pub mod FLEXSPI_CLK_SEL {
pub const offset: u32 = 29;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL2"]
pub const FLEXSPI_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from pll3_sw_clk"]
pub const FLEXSPI_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from PLL2 PFD2"]
pub const FLEXSPI_CLK_SEL_2: u32 = 0x02;
#[doc = "derive clock from PLL3 PFD0"]
pub const FLEXSPI_CLK_SEL_3: u32 = 0x03;
}
}
#[doc = "Select for source of flexspi_clk_root"]
pub mod FLEXSPI_CLK_SRC {
pub const offset: u32 = 31;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock selected by CCM_CSCMR1\\[FLEXSPI_CLK_SEL\\]"]
pub const FLEXSPI_CLK_SRC_0: u32 = 0;
#[doc = "derive clock selected by CCM_CBCMR\\[PERIPH_CLK2_ SEL\\]"]
pub const FLEXSPI_CLK_SRC_1: u32 = 0x01;
}
}
}
#[doc = "CCM Serial Clock Multiplexer Register 2"]
pub mod CSCMR2 {
#[doc = "Selector for flexio1 clock multiplexer"]
pub mod FLEXIO1_CLK_SEL {
pub const offset: u32 = 19;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL4 divided clock"]
pub const FLEXIO1_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from PLL3 PFD2 clock"]
pub const FLEXIO1_CLK_SEL_1: u32 = 0x01;
#[doc = "derive from PLL2"]
pub const FLEXIO1_CLK_SEL_2: u32 = 0x02;
#[doc = "derive clock from pll3_sw_clk"]
pub const FLEXIO1_CLK_SEL_3: u32 = 0x03;
}
}
#[doc = "Divider for ADC alt_clk, as the list below (other values reserved)."]
pub mod ADC_ACLK_PODF {
pub const offset: u32 = 27;
pub const mask: u32 = 0x0f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "pll3_sw_clk / 8"]
pub const ADC_ACLK_PODF_7: u32 = 0x07;
#[doc = "pll3_sw_clk / 12"]
pub const ADC_ACLK_PODF_11: u32 = 0x0b;
#[doc = "pll3_sw_clk / 16"]
pub const ADC_ACLK_PODF_15: u32 = 0x0f;
}
}
#[doc = "Enable ADC alt_clk, so that ADC alt_clk can be driven be divided pll3_sw_clk."]
pub mod ADC_ACLK_EN {
pub const offset: u32 = 31;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "ADC alt_clk source is disabled"]
pub const ADC_ACLK_EN_0: u32 = 0;
#[doc = "ADC alt_clk source is enabled"]
pub const ADC_ACLK_EN_1: u32 = 0x01;
}
}
}
#[doc = "CCM Serial Clock Divider Register 1"]
pub mod CSCDR1 {
#[doc = "Divider for uart clock podf."]
pub mod UART_CLK_PODF {
pub const offset: u32 = 0;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
#[doc = "Divide by 9"]
pub const DIVIDE_9: u32 = 0x08;
#[doc = "Divide by 10"]
pub const DIVIDE_10: u32 = 0x09;
#[doc = "Divide by 11"]
pub const DIVIDE_11: u32 = 0x0a;
#[doc = "Divide by 12"]
pub const DIVIDE_12: u32 = 0x0b;
#[doc = "Divide by 13"]
pub const DIVIDE_13: u32 = 0x0c;
#[doc = "Divide by 14"]
pub const DIVIDE_14: u32 = 0x0d;
#[doc = "Divide by 15"]
pub const DIVIDE_15: u32 = 0x0e;
#[doc = "Divide by 16"]
pub const DIVIDE_16: u32 = 0x0f;
#[doc = "Divide by 17"]
pub const DIVIDE_17: u32 = 0x10;
#[doc = "Divide by 18"]
pub const DIVIDE_18: u32 = 0x11;
#[doc = "Divide by 19"]
pub const DIVIDE_19: u32 = 0x12;
#[doc = "Divide by 20"]
pub const DIVIDE_20: u32 = 0x13;
#[doc = "Divide by 21"]
pub const DIVIDE_21: u32 = 0x14;
#[doc = "Divide by 22"]
pub const DIVIDE_22: u32 = 0x15;
#[doc = "Divide by 23"]
pub const DIVIDE_23: u32 = 0x16;
#[doc = "Divide by 24"]
pub const DIVIDE_24: u32 = 0x17;
#[doc = "Divide by 25"]
pub const DIVIDE_25: u32 = 0x18;
#[doc = "Divide by 26"]
pub const DIVIDE_26: u32 = 0x19;
#[doc = "Divide by 27"]
pub const DIVIDE_27: u32 = 0x1a;
#[doc = "Divide by 28"]
pub const DIVIDE_28: u32 = 0x1b;
#[doc = "Divide by 29"]
pub const DIVIDE_29: u32 = 0x1c;
#[doc = "Divide by 30"]
pub const DIVIDE_30: u32 = 0x1d;
#[doc = "Divide by 31"]
pub const DIVIDE_31: u32 = 0x1e;
#[doc = "Divide by 32"]
pub const DIVIDE_32: u32 = 0x1f;
#[doc = "Divide by 33"]
pub const DIVIDE_33: u32 = 0x20;
#[doc = "Divide by 34"]
pub const DIVIDE_34: u32 = 0x21;
#[doc = "Divide by 35"]
pub const DIVIDE_35: u32 = 0x22;
#[doc = "Divide by 36"]
pub const DIVIDE_36: u32 = 0x23;
#[doc = "Divide by 37"]
pub const DIVIDE_37: u32 = 0x24;
#[doc = "Divide by 38"]
pub const DIVIDE_38: u32 = 0x25;
#[doc = "Divide by 39"]
pub const DIVIDE_39: u32 = 0x26;
#[doc = "Divide by 40"]
pub const DIVIDE_40: u32 = 0x27;
#[doc = "Divide by 41"]
pub const DIVIDE_41: u32 = 0x28;
#[doc = "Divide by 42"]
pub const DIVIDE_42: u32 = 0x29;
#[doc = "Divide by 43"]
pub const DIVIDE_43: u32 = 0x2a;
#[doc = "Divide by 44"]
pub const DIVIDE_44: u32 = 0x2b;
#[doc = "Divide by 45"]
pub const DIVIDE_45: u32 = 0x2c;
#[doc = "Divide by 46"]
pub const DIVIDE_46: u32 = 0x2d;
#[doc = "Divide by 47"]
pub const DIVIDE_47: u32 = 0x2e;
#[doc = "Divide by 48"]
pub const DIVIDE_48: u32 = 0x2f;
#[doc = "Divide by 49"]
pub const DIVIDE_49: u32 = 0x30;
#[doc = "Divide by 50"]
pub const DIVIDE_50: u32 = 0x31;
#[doc = "Divide by 51"]
pub const DIVIDE_51: u32 = 0x32;
#[doc = "Divide by 52"]
pub const DIVIDE_52: u32 = 0x33;
#[doc = "Divide by 53"]
pub const DIVIDE_53: u32 = 0x34;
#[doc = "Divide by 54"]
pub const DIVIDE_54: u32 = 0x35;
#[doc = "Divide by 55"]
pub const DIVIDE_55: u32 = 0x36;
#[doc = "Divide by 56"]
pub const DIVIDE_56: u32 = 0x37;
#[doc = "Divide by 57"]
pub const DIVIDE_57: u32 = 0x38;
#[doc = "Divide by 58"]
pub const DIVIDE_58: u32 = 0x39;
#[doc = "Divide by 59"]
pub const DIVIDE_59: u32 = 0x3a;
#[doc = "Divide by 60"]
pub const DIVIDE_60: u32 = 0x3b;
#[doc = "Divide by 61"]
pub const DIVIDE_61: u32 = 0x3c;
#[doc = "Divide by 62"]
pub const DIVIDE_62: u32 = 0x3d;
#[doc = "Divide by 63"]
pub const DIVIDE_63: u32 = 0x3e;
#[doc = "Divide by 64"]
pub const DIVIDE_64: u32 = 0x3f;
}
}
#[doc = "Selector for the UART clock multiplexor"]
pub mod UART_CLK_SEL {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from pll3_80m"]
pub const UART_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from osc_clk"]
pub const UART_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from per_clk_root"]
pub const UART_CLK_SEL_2: u32 = 0x02;
}
}
#[doc = "Divider for trace clock. Divider should be updated when output clock is gated."]
pub mod TRACE_PODF {
pub const offset: u32 = 25;
pub const mask: u32 = 0x0f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const TRACE_PODF_0: u32 = 0;
#[doc = "divide by 2"]
pub const TRACE_PODF_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const TRACE_PODF_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const TRACE_PODF_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const TRACE_PODF_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const TRACE_PODF_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const TRACE_PODF_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const TRACE_PODF_7: u32 = 0x07;
#[doc = "divide by 9"]
pub const TRACE_PODF_8: u32 = 0x08;
#[doc = "divide by 10"]
pub const TRACE_PODF_9: u32 = 0x09;
#[doc = "divide by 11"]
pub const TRACE_PODF_10: u32 = 0x0a;
#[doc = "divide by 12"]
pub const TRACE_PODF_11: u32 = 0x0b;
#[doc = "divide by 13"]
pub const TRACE_PODF_12: u32 = 0x0c;
#[doc = "divide by 14"]
pub const TRACE_PODF_13: u32 = 0x0d;
#[doc = "divide by 15"]
pub const TRACE_PODF_14: u32 = 0x0e;
#[doc = "divide by 16"]
pub const TRACE_PODF_15: u32 = 0x0f;
}
}
}
#[doc = "CCM Clock Divider Register"]
pub mod CS1CDR {
#[doc = "Divider for sai1 clock podf. The input clock to this divider should be lower than 300Mhz, the predivider can be used to achieve this."]
pub mod SAI1_CLK_PODF {
pub const offset: u32 = 0;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
#[doc = "Divide by 9"]
pub const DIVIDE_9: u32 = 0x08;
#[doc = "Divide by 10"]
pub const DIVIDE_10: u32 = 0x09;
#[doc = "Divide by 11"]
pub const DIVIDE_11: u32 = 0x0a;
#[doc = "Divide by 12"]
pub const DIVIDE_12: u32 = 0x0b;
#[doc = "Divide by 13"]
pub const DIVIDE_13: u32 = 0x0c;
#[doc = "Divide by 14"]
pub const DIVIDE_14: u32 = 0x0d;
#[doc = "Divide by 15"]
pub const DIVIDE_15: u32 = 0x0e;
#[doc = "Divide by 16"]
pub const DIVIDE_16: u32 = 0x0f;
#[doc = "Divide by 17"]
pub const DIVIDE_17: u32 = 0x10;
#[doc = "Divide by 18"]
pub const DIVIDE_18: u32 = 0x11;
#[doc = "Divide by 19"]
pub const DIVIDE_19: u32 = 0x12;
#[doc = "Divide by 20"]
pub const DIVIDE_20: u32 = 0x13;
#[doc = "Divide by 21"]
pub const DIVIDE_21: u32 = 0x14;
#[doc = "Divide by 22"]
pub const DIVIDE_22: u32 = 0x15;
#[doc = "Divide by 23"]
pub const DIVIDE_23: u32 = 0x16;
#[doc = "Divide by 24"]
pub const DIVIDE_24: u32 = 0x17;
#[doc = "Divide by 25"]
pub const DIVIDE_25: u32 = 0x18;
#[doc = "Divide by 26"]
pub const DIVIDE_26: u32 = 0x19;
#[doc = "Divide by 27"]
pub const DIVIDE_27: u32 = 0x1a;
#[doc = "Divide by 28"]
pub const DIVIDE_28: u32 = 0x1b;
#[doc = "Divide by 29"]
pub const DIVIDE_29: u32 = 0x1c;
#[doc = "Divide by 30"]
pub const DIVIDE_30: u32 = 0x1d;
#[doc = "Divide by 31"]
pub const DIVIDE_31: u32 = 0x1e;
#[doc = "Divide by 32"]
pub const DIVIDE_32: u32 = 0x1f;
#[doc = "Divide by 33"]
pub const DIVIDE_33: u32 = 0x20;
#[doc = "Divide by 34"]
pub const DIVIDE_34: u32 = 0x21;
#[doc = "Divide by 35"]
pub const DIVIDE_35: u32 = 0x22;
#[doc = "Divide by 36"]
pub const DIVIDE_36: u32 = 0x23;
#[doc = "Divide by 37"]
pub const DIVIDE_37: u32 = 0x24;
#[doc = "Divide by 38"]
pub const DIVIDE_38: u32 = 0x25;
#[doc = "Divide by 39"]
pub const DIVIDE_39: u32 = 0x26;
#[doc = "Divide by 40"]
pub const DIVIDE_40: u32 = 0x27;
#[doc = "Divide by 41"]
pub const DIVIDE_41: u32 = 0x28;
#[doc = "Divide by 42"]
pub const DIVIDE_42: u32 = 0x29;
#[doc = "Divide by 43"]
pub const DIVIDE_43: u32 = 0x2a;
#[doc = "Divide by 44"]
pub const DIVIDE_44: u32 = 0x2b;
#[doc = "Divide by 45"]
pub const DIVIDE_45: u32 = 0x2c;
#[doc = "Divide by 46"]
pub const DIVIDE_46: u32 = 0x2d;
#[doc = "Divide by 47"]
pub const DIVIDE_47: u32 = 0x2e;
#[doc = "Divide by 48"]
pub const DIVIDE_48: u32 = 0x2f;
#[doc = "Divide by 49"]
pub const DIVIDE_49: u32 = 0x30;
#[doc = "Divide by 50"]
pub const DIVIDE_50: u32 = 0x31;
#[doc = "Divide by 51"]
pub const DIVIDE_51: u32 = 0x32;
#[doc = "Divide by 52"]
pub const DIVIDE_52: u32 = 0x33;
#[doc = "Divide by 53"]
pub const DIVIDE_53: u32 = 0x34;
#[doc = "Divide by 54"]
pub const DIVIDE_54: u32 = 0x35;
#[doc = "Divide by 55"]
pub const DIVIDE_55: u32 = 0x36;
#[doc = "Divide by 56"]
pub const DIVIDE_56: u32 = 0x37;
#[doc = "Divide by 57"]
pub const DIVIDE_57: u32 = 0x38;
#[doc = "Divide by 58"]
pub const DIVIDE_58: u32 = 0x39;
#[doc = "Divide by 59"]
pub const DIVIDE_59: u32 = 0x3a;
#[doc = "Divide by 60"]
pub const DIVIDE_60: u32 = 0x3b;
#[doc = "Divide by 61"]
pub const DIVIDE_61: u32 = 0x3c;
#[doc = "Divide by 62"]
pub const DIVIDE_62: u32 = 0x3d;
#[doc = "Divide by 63"]
pub const DIVIDE_63: u32 = 0x3e;
#[doc = "Divide by 64"]
pub const DIVIDE_64: u32 = 0x3f;
}
}
#[doc = "Divider for sai1 clock pred."]
pub mod SAI1_CLK_PRED {
pub const offset: u32 = 6;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const SAI1_CLK_PRED_0: u32 = 0;
#[doc = "divide by 2"]
pub const SAI1_CLK_PRED_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const SAI1_CLK_PRED_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const SAI1_CLK_PRED_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const SAI1_CLK_PRED_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const SAI1_CLK_PRED_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const SAI1_CLK_PRED_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const SAI1_CLK_PRED_7: u32 = 0x07;
}
}
#[doc = "Divider for flexio1 clock."]
pub mod FLEXIO1_CLK_PRED {
pub const offset: u32 = 9;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const FLEXIO1_CLK_PRED_0: u32 = 0;
#[doc = "divide by 2"]
pub const FLEXIO1_CLK_PRED_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const FLEXIO1_CLK_PRED_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const FLEXIO1_CLK_PRED_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const FLEXIO1_CLK_PRED_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const FLEXIO1_CLK_PRED_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const FLEXIO1_CLK_PRED_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const FLEXIO1_CLK_PRED_7: u32 = 0x07;
}
}
#[doc = "Divider for sai3 clock podf. The input clock to this divider should be lower than 300Mhz, the predivider can be used to achieve this."]
pub mod SAI3_CLK_PODF {
pub const offset: u32 = 16;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
#[doc = "Divide by 9"]
pub const DIVIDE_9: u32 = 0x08;
#[doc = "Divide by 10"]
pub const DIVIDE_10: u32 = 0x09;
#[doc = "Divide by 11"]
pub const DIVIDE_11: u32 = 0x0a;
#[doc = "Divide by 12"]
pub const DIVIDE_12: u32 = 0x0b;
#[doc = "Divide by 13"]
pub const DIVIDE_13: u32 = 0x0c;
#[doc = "Divide by 14"]
pub const DIVIDE_14: u32 = 0x0d;
#[doc = "Divide by 15"]
pub const DIVIDE_15: u32 = 0x0e;
#[doc = "Divide by 16"]
pub const DIVIDE_16: u32 = 0x0f;
#[doc = "Divide by 17"]
pub const DIVIDE_17: u32 = 0x10;
#[doc = "Divide by 18"]
pub const DIVIDE_18: u32 = 0x11;
#[doc = "Divide by 19"]
pub const DIVIDE_19: u32 = 0x12;
#[doc = "Divide by 20"]
pub const DIVIDE_20: u32 = 0x13;
#[doc = "Divide by 21"]
pub const DIVIDE_21: u32 = 0x14;
#[doc = "Divide by 22"]
pub const DIVIDE_22: u32 = 0x15;
#[doc = "Divide by 23"]
pub const DIVIDE_23: u32 = 0x16;
#[doc = "Divide by 24"]
pub const DIVIDE_24: u32 = 0x17;
#[doc = "Divide by 25"]
pub const DIVIDE_25: u32 = 0x18;
#[doc = "Divide by 26"]
pub const DIVIDE_26: u32 = 0x19;
#[doc = "Divide by 27"]
pub const DIVIDE_27: u32 = 0x1a;
#[doc = "Divide by 28"]
pub const DIVIDE_28: u32 = 0x1b;
#[doc = "Divide by 29"]
pub const DIVIDE_29: u32 = 0x1c;
#[doc = "Divide by 30"]
pub const DIVIDE_30: u32 = 0x1d;
#[doc = "Divide by 31"]
pub const DIVIDE_31: u32 = 0x1e;
#[doc = "Divide by 32"]
pub const DIVIDE_32: u32 = 0x1f;
#[doc = "Divide by 33"]
pub const DIVIDE_33: u32 = 0x20;
#[doc = "Divide by 34"]
pub const DIVIDE_34: u32 = 0x21;
#[doc = "Divide by 35"]
pub const DIVIDE_35: u32 = 0x22;
#[doc = "Divide by 36"]
pub const DIVIDE_36: u32 = 0x23;
#[doc = "Divide by 37"]
pub const DIVIDE_37: u32 = 0x24;
#[doc = "Divide by 38"]
pub const DIVIDE_38: u32 = 0x25;
#[doc = "Divide by 39"]
pub const DIVIDE_39: u32 = 0x26;
#[doc = "Divide by 40"]
pub const DIVIDE_40: u32 = 0x27;
#[doc = "Divide by 41"]
pub const DIVIDE_41: u32 = 0x28;
#[doc = "Divide by 42"]
pub const DIVIDE_42: u32 = 0x29;
#[doc = "Divide by 43"]
pub const DIVIDE_43: u32 = 0x2a;
#[doc = "Divide by 44"]
pub const DIVIDE_44: u32 = 0x2b;
#[doc = "Divide by 45"]
pub const DIVIDE_45: u32 = 0x2c;
#[doc = "Divide by 46"]
pub const DIVIDE_46: u32 = 0x2d;
#[doc = "Divide by 47"]
pub const DIVIDE_47: u32 = 0x2e;
#[doc = "Divide by 48"]
pub const DIVIDE_48: u32 = 0x2f;
#[doc = "Divide by 49"]
pub const DIVIDE_49: u32 = 0x30;
#[doc = "Divide by 50"]
pub const DIVIDE_50: u32 = 0x31;
#[doc = "Divide by 51"]
pub const DIVIDE_51: u32 = 0x32;
#[doc = "Divide by 52"]
pub const DIVIDE_52: u32 = 0x33;
#[doc = "Divide by 53"]
pub const DIVIDE_53: u32 = 0x34;
#[doc = "Divide by 54"]
pub const DIVIDE_54: u32 = 0x35;
#[doc = "Divide by 55"]
pub const DIVIDE_55: u32 = 0x36;
#[doc = "Divide by 56"]
pub const DIVIDE_56: u32 = 0x37;
#[doc = "Divide by 57"]
pub const DIVIDE_57: u32 = 0x38;
#[doc = "Divide by 58"]
pub const DIVIDE_58: u32 = 0x39;
#[doc = "Divide by 59"]
pub const DIVIDE_59: u32 = 0x3a;
#[doc = "Divide by 60"]
pub const DIVIDE_60: u32 = 0x3b;
#[doc = "Divide by 61"]
pub const DIVIDE_61: u32 = 0x3c;
#[doc = "Divide by 62"]
pub const DIVIDE_62: u32 = 0x3d;
#[doc = "Divide by 63"]
pub const DIVIDE_63: u32 = 0x3e;
#[doc = "Divide by 64"]
pub const DIVIDE_64: u32 = 0x3f;
}
}
#[doc = "Divider for sai3 clock pred."]
pub mod SAI3_CLK_PRED {
pub const offset: u32 = 22;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const SAI3_CLK_PRED_0: u32 = 0;
#[doc = "divide by 2"]
pub const SAI3_CLK_PRED_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const SAI3_CLK_PRED_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const SAI3_CLK_PRED_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const SAI3_CLK_PRED_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const SAI3_CLK_PRED_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const SAI3_CLK_PRED_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const SAI3_CLK_PRED_7: u32 = 0x07;
}
}
#[doc = "Divider for flexio1 clock. Divider should be updated when output clock is gated."]
pub mod FLEXIO1_CLK_PODF {
pub const offset: u32 = 25;
pub const mask: u32 = 0x0f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
#[doc = "Divide by 9"]
pub const DIVIDE_9: u32 = 0x08;
#[doc = "Divide by 10"]
pub const DIVIDE_10: u32 = 0x09;
#[doc = "Divide by 11"]
pub const DIVIDE_11: u32 = 0x0a;
#[doc = "Divide by 12"]
pub const DIVIDE_12: u32 = 0x0b;
#[doc = "Divide by 13"]
pub const DIVIDE_13: u32 = 0x0c;
#[doc = "Divide by 14"]
pub const DIVIDE_14: u32 = 0x0d;
#[doc = "Divide by 15"]
pub const DIVIDE_15: u32 = 0x0e;
#[doc = "Divide by 16"]
pub const DIVIDE_16: u32 = 0x0f;
}
}
}
#[doc = "CCM D1 Clock Divider Register"]
pub mod CDCDR {
#[doc = "Selector for spdif0 clock multiplexer"]
pub mod SPDIF0_CLK_SEL {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from PLL4"]
pub const SPDIF0_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from PLL3 PFD2"]
pub const SPDIF0_CLK_SEL_1: u32 = 0x01;
#[doc = "derive clock from pll3_sw_clk"]
pub const SPDIF0_CLK_SEL_3: u32 = 0x03;
}
}
#[doc = "Divider for spdif0 clock podf. Divider should be updated when output clock is gated."]
pub mod SPDIF0_CLK_PODF {
pub const offset: u32 = 22;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
}
}
#[doc = "Divider for spdif0 clock pred. Divider should be updated when output clock is gated."]
pub mod SPDIF0_CLK_PRED {
pub const offset: u32 = 25;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
}
}
}
#[doc = "CCM Serial Clock Divider Register 2"]
pub mod CSCDR2 {
#[doc = "Selector for the LPI2C clock multiplexor"]
pub mod LPI2C_CLK_SEL {
pub const offset: u32 = 18;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "derive clock from pll3_60m"]
pub const LPI2C_CLK_SEL_0: u32 = 0;
#[doc = "derive clock from osc_clk"]
pub const LPI2C_CLK_SEL_1: u32 = 0x01;
}
}
#[doc = "Divider for lpi2c clock podf. Divider should be updated when output clock is gated. The input clock to this divider should be lower than 300Mhz, the predivider can be used to achieve this."]
pub mod LPI2C_CLK_PODF {
pub const offset: u32 = 19;
pub const mask: u32 = 0x3f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Divide by 1"]
pub const DIVIDE_1: u32 = 0;
#[doc = "Divide by 2"]
pub const DIVIDE_2: u32 = 0x01;
#[doc = "Divide by 3"]
pub const DIVIDE_3: u32 = 0x02;
#[doc = "Divide by 4"]
pub const DIVIDE_4: u32 = 0x03;
#[doc = "Divide by 5"]
pub const DIVIDE_5: u32 = 0x04;
#[doc = "Divide by 6"]
pub const DIVIDE_6: u32 = 0x05;
#[doc = "Divide by 7"]
pub const DIVIDE_7: u32 = 0x06;
#[doc = "Divide by 8"]
pub const DIVIDE_8: u32 = 0x07;
#[doc = "Divide by 9"]
pub const DIVIDE_9: u32 = 0x08;
#[doc = "Divide by 10"]
pub const DIVIDE_10: u32 = 0x09;
#[doc = "Divide by 11"]
pub const DIVIDE_11: u32 = 0x0a;
#[doc = "Divide by 12"]
pub const DIVIDE_12: u32 = 0x0b;
#[doc = "Divide by 13"]
pub const DIVIDE_13: u32 = 0x0c;
#[doc = "Divide by 14"]
pub const DIVIDE_14: u32 = 0x0d;
#[doc = "Divide by 15"]
pub const DIVIDE_15: u32 = 0x0e;
#[doc = "Divide by 16"]
pub const DIVIDE_16: u32 = 0x0f;
#[doc = "Divide by 17"]
pub const DIVIDE_17: u32 = 0x10;
#[doc = "Divide by 18"]
pub const DIVIDE_18: u32 = 0x11;
#[doc = "Divide by 19"]
pub const DIVIDE_19: u32 = 0x12;
#[doc = "Divide by 20"]
pub const DIVIDE_20: u32 = 0x13;
#[doc = "Divide by 21"]
pub const DIVIDE_21: u32 = 0x14;
#[doc = "Divide by 22"]
pub const DIVIDE_22: u32 = 0x15;
#[doc = "Divide by 23"]
pub const DIVIDE_23: u32 = 0x16;
#[doc = "Divide by 24"]
pub const DIVIDE_24: u32 = 0x17;
#[doc = "Divide by 25"]
pub const DIVIDE_25: u32 = 0x18;
#[doc = "Divide by 26"]
pub const DIVIDE_26: u32 = 0x19;
#[doc = "Divide by 27"]
pub const DIVIDE_27: u32 = 0x1a;
#[doc = "Divide by 28"]
pub const DIVIDE_28: u32 = 0x1b;
#[doc = "Divide by 29"]
pub const DIVIDE_29: u32 = 0x1c;
#[doc = "Divide by 30"]
pub const DIVIDE_30: u32 = 0x1d;
#[doc = "Divide by 31"]
pub const DIVIDE_31: u32 = 0x1e;
#[doc = "Divide by 32"]
pub const DIVIDE_32: u32 = 0x1f;
#[doc = "Divide by 33"]
pub const DIVIDE_33: u32 = 0x20;
#[doc = "Divide by 34"]
pub const DIVIDE_34: u32 = 0x21;
#[doc = "Divide by 35"]
pub const DIVIDE_35: u32 = 0x22;
#[doc = "Divide by 36"]
pub const DIVIDE_36: u32 = 0x23;
#[doc = "Divide by 37"]
pub const DIVIDE_37: u32 = 0x24;
#[doc = "Divide by 38"]
pub const DIVIDE_38: u32 = 0x25;
#[doc = "Divide by 39"]
pub const DIVIDE_39: u32 = 0x26;
#[doc = "Divide by 40"]
pub const DIVIDE_40: u32 = 0x27;
#[doc = "Divide by 41"]
pub const DIVIDE_41: u32 = 0x28;
#[doc = "Divide by 42"]
pub const DIVIDE_42: u32 = 0x29;
#[doc = "Divide by 43"]
pub const DIVIDE_43: u32 = 0x2a;
#[doc = "Divide by 44"]
pub const DIVIDE_44: u32 = 0x2b;
#[doc = "Divide by 45"]
pub const DIVIDE_45: u32 = 0x2c;
#[doc = "Divide by 46"]
pub const DIVIDE_46: u32 = 0x2d;
#[doc = "Divide by 47"]
pub const DIVIDE_47: u32 = 0x2e;
#[doc = "Divide by 48"]
pub const DIVIDE_48: u32 = 0x2f;
#[doc = "Divide by 49"]
pub const DIVIDE_49: u32 = 0x30;
#[doc = "Divide by 50"]
pub const DIVIDE_50: u32 = 0x31;
#[doc = "Divide by 51"]
pub const DIVIDE_51: u32 = 0x32;
#[doc = "Divide by 52"]
pub const DIVIDE_52: u32 = 0x33;
#[doc = "Divide by 53"]
pub const DIVIDE_53: u32 = 0x34;
#[doc = "Divide by 54"]
pub const DIVIDE_54: u32 = 0x35;
#[doc = "Divide by 55"]
pub const DIVIDE_55: u32 = 0x36;
#[doc = "Divide by 56"]
pub const DIVIDE_56: u32 = 0x37;
#[doc = "Divide by 57"]
pub const DIVIDE_57: u32 = 0x38;
#[doc = "Divide by 58"]
pub const DIVIDE_58: u32 = 0x39;
#[doc = "Divide by 59"]
pub const DIVIDE_59: u32 = 0x3a;
#[doc = "Divide by 60"]
pub const DIVIDE_60: u32 = 0x3b;
#[doc = "Divide by 61"]
pub const DIVIDE_61: u32 = 0x3c;
#[doc = "Divide by 62"]
pub const DIVIDE_62: u32 = 0x3d;
#[doc = "Divide by 63"]
pub const DIVIDE_63: u32 = 0x3e;
#[doc = "Divide by 64"]
pub const DIVIDE_64: u32 = 0x3f;
}
}
}
#[doc = "CCM Divider Handshake In-Process Register"]
pub mod CDHIPR {
#[doc = "Busy indicator for ahb_podf."]
pub mod AHB_PODF_BUSY {
pub const offset: u32 = 1;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divider is not busy and its value represents the actual division."]
pub const AHB_PODF_BUSY_0: u32 = 0;
#[doc = "divider is busy with handshake process with module. The value read in the divider represents the previous value of the division factor, and after the handshake the written value of the ahb_podf will be applied."]
pub const AHB_PODF_BUSY_1: u32 = 0x01;
}
}
#[doc = "Busy indicator for flexspi_podf."]
pub mod FLEXSPI_PODF_BUSY {
pub const offset: u32 = 3;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divider is not busy and its value represents the actual division."]
pub const FLEXSPI_PODF_BUSY_0: u32 = 0;
#[doc = "divider is busy with handshake process with module. The value read in the divider represents the previous value of the division factor, and after the handshake the written value of the flexspi_podf will be applied."]
pub const FLEXSPI_PODF_BUSY_1: u32 = 0x01;
}
}
#[doc = "Busy indicator for perclk_podf."]
pub mod PERCLK_PODF_BUSY {
pub const offset: u32 = 4;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divider is not busy and its value represents the actual division."]
pub const PERCLK_PODF_BUSY_0: u32 = 0;
#[doc = "divider is busy with handshake process with module. The value read in the divider represents the previous value of the division factor, and after the handshake the written value of the perclk_podf will be applied."]
pub const PERCLK_PODF_BUSY_1: u32 = 0x01;
}
}
#[doc = "Busy indicator for periph_clk_sel mux control."]
pub mod PERIPH_CLK_SEL_BUSY {
pub const offset: u32 = 5;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "mux is not busy and its value represents the actual division."]
pub const PERIPH_CLK_SEL_BUSY_0: u32 = 0;
#[doc = "mux is busy with handshake process with module. The value read in the periph_clk_sel represents the previous value of select, and after the handshake periph_clk_sel value will be applied."]
pub const PERIPH_CLK_SEL_BUSY_1: u32 = 0x01;
}
}
}
#[doc = "CCM Low Power Control Register"]
pub mod CLPCR {
#[doc = "Setting the low power mode that system will enter on next assertion of dsm_request signal."]
pub mod LPM {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Remain in run mode"]
pub const LPM_0: u32 = 0;
#[doc = "Transfer to wait mode"]
pub const LPM_1: u32 = 0x01;
#[doc = "Transfer to stop mode"]
pub const LPM_2: u32 = 0x02;
}
}
#[doc = "Define if ARM clocks (arm_clk, soc_mxclk, soc_pclk, soc_dbg_pclk, vl_wrck) will be disabled on wait mode"]
pub mod ARM_CLK_DIS_ON_LPM {
pub const offset: u32 = 5;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "ARM clock enabled on wait mode."]
pub const ARM_CLK_DIS_ON_LPM_0: u32 = 0;
#[doc = "ARM clock disabled on wait mode. ."]
pub const ARM_CLK_DIS_ON_LPM_1: u32 = 0x01;
}
}
#[doc = "Standby clock oscillator bit"]
pub mod SBYOS {
pub const offset: u32 = 6;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "On-chip oscillator will not be powered down, after next entrance to STOP mode. (CCM_REF_EN_B will remain asserted - '0' and cosc_pwrdown will remain de asserted - '0')"]
pub const SBYOS_0: u32 = 0;
#[doc = "On-chip oscillator will be powered down, after next entrance to STOP mode. (CCM_REF_EN_B will be deasserted - '1' and cosc_pwrdown will be asserted - '1'). When returning from STOP mode, external oscillator will be enabled again, on-chip oscillator will return to oscillator mode, and after oscnt count, CCM will continue with the exit from the STOP mode process."]
pub const SBYOS_1: u32 = 0x01;
}
}
#[doc = "dis_ref_osc - in run mode, software can manually control closing of external reference oscillator clock, i"]
pub mod DIS_REF_OSC {
pub const offset: u32 = 7;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "external high frequency oscillator will be enabled, i.e. CCM_REF_EN_B = '0'."]
pub const DIS_REF_OSC_0: u32 = 0;
#[doc = "external high frequency oscillator will be disabled, i.e. CCM_REF_EN_B = '1'"]
pub const DIS_REF_OSC_1: u32 = 0x01;
}
}
#[doc = "Voltage standby request bit"]
pub mod VSTBY {
pub const offset: u32 = 8;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Voltage will not be changed to standby voltage after next entrance to STOP mode. ( PMIC_STBY_REQ will remain negated - '0')"]
pub const VSTBY_0: u32 = 0;
#[doc = "Voltage will be requested to change to standby voltage after next entrance to stop mode. ( PMIC_STBY_REQ will be asserted - '1')."]
pub const VSTBY_1: u32 = 0x01;
}
}
#[doc = "Standby counter definition"]
pub mod STBY_COUNT {
pub const offset: u32 = 9;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "CCM will wait (1*pmic_delay_scaler)+1 ckil clock cycles"]
pub const STBY_COUNT_0: u32 = 0;
#[doc = "CCM will wait (3*pmic_delay_scaler)+1 ckil clock cycles"]
pub const STBY_COUNT_1: u32 = 0x01;
#[doc = "CCM will wait (7*pmic_delay_scaler)+1 ckil clock cycles"]
pub const STBY_COUNT_2: u32 = 0x02;
#[doc = "CCM will wait (15*pmic_delay_scaler)+1 ckil clock cycles"]
pub const STBY_COUNT_3: u32 = 0x03;
}
}
#[doc = "In run mode, software can manually control powering down of on chip oscillator, i"]
pub mod COSC_PWRDOWN {
pub const offset: u32 = 11;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "On chip oscillator will not be powered down, i.e. cosc_pwrdown = '0'."]
pub const COSC_PWRDOWN_0: u32 = 0;
#[doc = "On chip oscillator will be powered down, i.e. cosc_pwrdown = '1'."]
pub const COSC_PWRDOWN_1: u32 = 0x01;
}
}
#[doc = "Mask WFI of core0 for entering low power mode Assertion of all bits\\[27:22\\] will generate low power mode request"]
pub mod MASK_CORE0_WFI {
pub const offset: u32 = 22;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "WFI of core0 is not masked"]
pub const MASK_CORE0_WFI_0: u32 = 0;
#[doc = "WFI of core0 is masked"]
pub const MASK_CORE0_WFI_1: u32 = 0x01;
}
}
#[doc = "Mask SCU IDLE for entering low power mode Assertion of all bits\\[27:22\\] will generate low power mode request"]
pub mod MASK_SCU_IDLE {
pub const offset: u32 = 26;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "SCU IDLE is not masked"]
pub const MASK_SCU_IDLE_0: u32 = 0;
#[doc = "SCU IDLE is masked"]
pub const MASK_SCU_IDLE_1: u32 = 0x01;
}
}
#[doc = "Mask L2CC IDLE for entering low power mode"]
pub mod MASK_L2CC_IDLE {
pub const offset: u32 = 27;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "L2CC IDLE is not masked"]
pub const MASK_L2CC_IDLE_0: u32 = 0;
#[doc = "L2CC IDLE is masked"]
pub const MASK_L2CC_IDLE_1: u32 = 0x01;
}
}
}
#[doc = "CCM Interrupt Status Register"]
pub mod CISR {
#[doc = "CCM interrupt request 2 generated due to lock of all enabled and not bypaseed PLLs"]
pub mod LRF_PLL {
pub const offset: u32 = 0;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "interrupt is not generated due to lock ready of all enabled and not bypaseed PLLs"]
pub const LRF_PLL_0: u32 = 0;
#[doc = "interrupt generated due to lock ready of all enabled and not bypaseed PLLs"]
pub const LRF_PLL_1: u32 = 0x01;
}
}
#[doc = "CCM interrupt request 2 generated due to on board oscillator ready, i"]
pub mod COSC_READY {
pub const offset: u32 = 6;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "interrupt is not generated due to on board oscillator ready"]
pub const COSC_READY_0: u32 = 0;
#[doc = "interrupt generated due to on board oscillator ready"]
pub const COSC_READY_1: u32 = 0x01;
}
}
#[doc = "CCM interrupt request 1 generated due to frequency change of flexspi_podf"]
pub mod FLEXSPI_PODF_LOADED {
pub const offset: u32 = 16;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "interrupt is not generated due to frequency change of flexspi_podf"]
pub const FLEXSPI_PODF_LOADED_0: u32 = 0;
#[doc = "interrupt generated due to frequency change of flexspi_podf"]
pub const FLEXSPI_PODF_LOADED_1: u32 = 0x01;
}
}
#[doc = "CCM interrupt request 1 generated due to frequency change of perclk_podf"]
pub mod PERCLK_PODF_LOADED {
pub const offset: u32 = 18;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "interrupt is not generated due to frequency change of perclk_podf"]
pub const PERCLK_PODF_LOADED_0: u32 = 0;
#[doc = "interrupt generated due to frequency change of perclk_podf"]
pub const PERCLK_PODF_LOADED_1: u32 = 0x01;
}
}
#[doc = "CCM interrupt request 1 generated due to frequency change of ahb_podf"]
pub mod AHB_PODF_LOADED {
pub const offset: u32 = 20;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "interrupt is not generated due to frequency change of ahb_podf"]
pub const AHB_PODF_LOADED_0: u32 = 0;
#[doc = "interrupt generated due to frequency change of ahb_podf"]
pub const AHB_PODF_LOADED_1: u32 = 0x01;
}
}
#[doc = "CCM interrupt request 1 generated due to update of periph_clk_sel."]
pub mod PERIPH_CLK_SEL_LOADED {
pub const offset: u32 = 22;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "interrupt is not generated due to update of periph_clk_sel."]
pub const PERIPH_CLK_SEL_LOADED_0: u32 = 0;
#[doc = "interrupt generated due to update of periph_clk_sel."]
pub const PERIPH_CLK_SEL_LOADED_1: u32 = 0x01;
}
}
}
#[doc = "CCM Interrupt Mask Register"]
pub mod CIMR {
#[doc = "mask interrupt generation due to lrf of PLLs"]
pub mod MASK_LRF_PLL {
pub const offset: u32 = 0;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't mask interrupt due to lrf of PLLs - interrupt will be created"]
pub const MASK_LRF_PLL_0: u32 = 0;
#[doc = "mask interrupt due to lrf of PLLs"]
pub const MASK_LRF_PLL_1: u32 = 0x01;
}
}
#[doc = "mask interrupt generation due to on board oscillator ready"]
pub mod MASK_COSC_READY {
pub const offset: u32 = 6;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't mask interrupt due to on board oscillator ready - interrupt will be created"]
pub const MASK_COSC_READY_0: u32 = 0;
#[doc = "mask interrupt due to on board oscillator ready"]
pub const MASK_COSC_READY_1: u32 = 0x01;
}
}
#[doc = "mask interrupt generation due to update of flexspi_podf"]
pub mod MASK_FLEXSPI_PODF_LOADED {
pub const offset: u32 = 16;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't mask interrupt due to update of flexspi_podf"]
pub const MASK_FLEXSPI_PODF_LOADED_0: u32 = 0;
#[doc = "mask interrupt due to update of flexspi_podf"]
pub const MASK_FLEXSPI_PODF_LOADED_1: u32 = 0x01;
}
}
#[doc = "mask interrupt generation due to update of perclk_podf"]
pub mod MASK_PERCLK_PODF_LOADED {
pub const offset: u32 = 18;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't mask interrupt due to update of perclk_podf"]
pub const MASK_PERCLK_PODF_LOADED_0: u32 = 0;
#[doc = "mask interrupt due to update of perclk_podf"]
pub const MASK_PERCLK_PODF_LOADED_1: u32 = 0x01;
}
}
#[doc = "mask interrupt generation due to frequency change of ahb_podf"]
pub mod MASK_AHB_PODF_LOADED {
pub const offset: u32 = 20;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't mask interrupt due to frequency change of ahb_podf - interrupt will be created"]
pub const MASK_AHB_PODF_LOADED_0: u32 = 0;
#[doc = "mask interrupt due to frequency change of ahb_podf"]
pub const MASK_AHB_PODF_LOADED_1: u32 = 0x01;
}
}
#[doc = "mask interrupt generation due to update of periph_clk_sel."]
pub mod MASK_PERIPH_CLK_SEL_LOADED {
pub const offset: u32 = 22;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't mask interrupt due to update of periph_clk_sel - interrupt will be created"]
pub const MASK_PERIPH_CLK_SEL_LOADED_0: u32 = 0;
#[doc = "mask interrupt due to update of periph_clk_sel"]
pub const MASK_PERIPH_CLK_SEL_LOADED_1: u32 = 0x01;
}
}
}
#[doc = "CCM Clock Output Source Register"]
pub mod CCOSR {
#[doc = "Selection of the clock to be generated on CCM_CLKO1"]
pub mod CLKO1_SEL {
pub const offset: u32 = 0;
pub const mask: u32 = 0x0f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "pll3_sw_clk (divided by 2)"]
pub const CLKO1_SEL_0: u32 = 0;
#[doc = "PLL2 (divided by 2)"]
pub const CLKO1_SEL_1: u32 = 0x01;
#[doc = "ENET PLL (divided by 2)"]
pub const CLKO1_SEL_2: u32 = 0x02;
#[doc = "core_clk_root"]
pub const CLKO1_SEL_11: u32 = 0x0b;
#[doc = "ipg_clk_root"]
pub const CLKO1_SEL_12: u32 = 0x0c;
#[doc = "perclk_root"]
pub const CLKO1_SEL_13: u32 = 0x0d;
#[doc = "pll4_main_clk"]
pub const CLKO1_SEL_15: u32 = 0x0f;
}
}
#[doc = "Setting the divider of CCM_CLKO1"]
pub mod CLKO1_DIV {
pub const offset: u32 = 4;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const CLKO1_DIV_0: u32 = 0;
#[doc = "divide by 2"]
pub const CLKO1_DIV_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const CLKO1_DIV_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const CLKO1_DIV_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const CLKO1_DIV_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const CLKO1_DIV_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const CLKO1_DIV_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const CLKO1_DIV_7: u32 = 0x07;
}
}
#[doc = "Enable of CCM_CLKO1 clock"]
pub mod CLKO1_EN {
pub const offset: u32 = 7;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "CCM_CLKO1 disabled."]
pub const CLKO1_EN_0: u32 = 0;
#[doc = "CCM_CLKO1 enabled."]
pub const CLKO1_EN_1: u32 = 0x01;
}
}
#[doc = "CCM_CLKO1 output to reflect CCM_CLKO1 or CCM_CLKO2 clocks"]
pub mod CLK_OUT_SEL {
pub const offset: u32 = 8;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "CCM_CLKO1 output drives CCM_CLKO1 clock"]
pub const CLK_OUT_SEL_0: u32 = 0;
#[doc = "CCM_CLKO1 output drives CCM_CLKO2 clock"]
pub const CLK_OUT_SEL_1: u32 = 0x01;
}
}
#[doc = "Selection of the clock to be generated on CCM_CLKO2"]
pub mod CLKO2_SEL {
pub const offset: u32 = 16;
pub const mask: u32 = 0x1f << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "lpi2c_clk_root"]
pub const CLKO2_SEL_6: u32 = 0x06;
#[doc = "osc_clk"]
pub const CLKO2_SEL_14: u32 = 0x0e;
#[doc = "lpspi_clk_root"]
pub const CLKO2_SEL_16: u32 = 0x10;
#[doc = "sai1_clk_root"]
pub const CLKO2_SEL_18: u32 = 0x12;
#[doc = "sai3_clk_root"]
pub const CLKO2_SEL_20: u32 = 0x14;
#[doc = "trace_clk_root"]
pub const CLKO2_SEL_22: u32 = 0x16;
#[doc = "flexspi_clk_root"]
pub const CLKO2_SEL_27: u32 = 0x1b;
#[doc = "uart_clk_root"]
pub const CLKO2_SEL_28: u32 = 0x1c;
#[doc = "spdif0_clk_root"]
pub const CLKO2_SEL_29: u32 = 0x1d;
}
}
#[doc = "Setting the divider of CCM_CLKO2"]
pub mod CLKO2_DIV {
pub const offset: u32 = 21;
pub const mask: u32 = 0x07 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "divide by 1"]
pub const CLKO2_DIV_0: u32 = 0;
#[doc = "divide by 2"]
pub const CLKO2_DIV_1: u32 = 0x01;
#[doc = "divide by 3"]
pub const CLKO2_DIV_2: u32 = 0x02;
#[doc = "divide by 4"]
pub const CLKO2_DIV_3: u32 = 0x03;
#[doc = "divide by 5"]
pub const CLKO2_DIV_4: u32 = 0x04;
#[doc = "divide by 6"]
pub const CLKO2_DIV_5: u32 = 0x05;
#[doc = "divide by 7"]
pub const CLKO2_DIV_6: u32 = 0x06;
#[doc = "divide by 8"]
pub const CLKO2_DIV_7: u32 = 0x07;
}
}
#[doc = "Enable of CCM_CLKO2 clock"]
pub mod CLKO2_EN {
pub const offset: u32 = 24;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "CCM_CLKO2 disabled."]
pub const CLKO2_EN_0: u32 = 0;
#[doc = "CCM_CLKO2 enabled."]
pub const CLKO2_EN_1: u32 = 0x01;
}
}
}
#[doc = "CCM General Purpose Register"]
pub mod CGPR {
#[doc = "Defines clock dividion of clock for stby_count (pmic delay counter)"]
pub mod PMIC_DELAY_SCALER {
pub const offset: u32 = 0;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "clock is not divided"]
pub const PMIC_DELAY_SCALER_0: u32 = 0;
#[doc = "clock is divided /8"]
pub const PMIC_DELAY_SCALER_1: u32 = 0x01;
}
}
#[doc = "Defines the value of the output signal cgpr_dout\\[4\\]. Gate of program supply for efuse programing"]
pub mod EFUSE_PROG_SUPPLY_GATE {
pub const offset: u32 = 4;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "fuse programing supply voltage is gated off to the efuse module"]
pub const EFUSE_PROG_SUPPLY_GATE_0: u32 = 0;
#[doc = "allow fuse programing."]
pub const EFUSE_PROG_SUPPLY_GATE_1: u32 = 0x01;
}
}
#[doc = "System memory DS control"]
pub mod SYS_MEM_DS_CTRL {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Disable memory DS mode always"]
pub const SYS_MEM_DS_CTRL_0: u32 = 0;
#[doc = "Enable memory (outside ARM platform) DS mode when system STOP and PLL are disabled"]
pub const SYS_MEM_DS_CTRL_1: u32 = 0x01;
#[doc = "enable memory (outside ARM platform) DS mode when system is in STOP mode"]
pub const SYS_MEM_DS_CTRL_2: u32 = 0x02;
}
}
#[doc = "Fast PLL enable."]
pub mod FPL {
pub const offset: u32 = 16;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Engage PLL enable default way."]
pub const FPL_0: u32 = 0;
#[doc = "Engage PLL enable 3 CKIL clocks earlier at exiting low power mode (STOP). Should be used only if 24MHz OSC was active in low power mode."]
pub const FPL_1: u32 = 0x01;
}
}
#[doc = "Control for the Deep Sleep signal to the ARM Platform memories with additional control logic based on the ARM WFI signal"]
pub mod INT_MEM_CLK_LPM {
pub const offset: u32 = 17;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "Disable the clock to the ARM platform memories when entering Low Power Mode"]
pub const INT_MEM_CLK_LPM_0: u32 = 0;
#[doc = "Keep the clocks to the ARM platform memories enabled only if an interrupt is pending when entering Low Power Modes (WAIT and STOP without power gating)"]
pub const INT_MEM_CLK_LPM_1: u32 = 0x01;
}
}
}
#[doc = "CCM Clock Gating Register 0"]
pub mod CCGR0 {
#[doc = "aips_tz1 clocks (aips_tz1_clk_enable)"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "aips_tz2 clocks (aips_tz2_clk_enable)"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "mqs clock ( mqs_hmclk_clock_enable)"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "flexspi_exsc clock (flexspi_exsc_clk_enable)"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sim_m_clk_r_clk_enable"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "dcp clock (dcp_clk_enable)"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpuart3 clock (lpuart3_clk_enable)"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "trace clock (trace_clk_enable)"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpt2 bus clocks (gpt2_bus_clk_enable)"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpt2 serial clocks (gpt2_serial_clk_enable)"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpuart2 clock (lpuart2_clk_enable)"]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpio2_clocks (gpio2_clk_enable)"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Clock Gating Register 1"]
pub mod CCGR1 {
#[doc = "lpspi1 clocks (lpspi1_clk_enable)"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpspi2 clocks (lpspi2_clk_enable)"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "pit clocks (pit_clk_enable)"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "adc1 clock (adc1_clk_enable)"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpt1 bus clock (gpt_clk_enable)"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpt1 serial clock (gpt_serial_clk_enable)"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpuart4 clock (lpuart4_clk_enable)"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpio1 clock (gpio1_clk_enable)"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "csu clock (csu_clk_enable)"]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "gpio5 clock (gpio5_clk_enable)"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Clock Gating Register 2"]
pub mod CCGR2 {
#[doc = "ocram_exsc clock (ocram_exsc_clk_enable)"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "iomuxc_snvs clock (iomuxc_snvs_clk_enable)"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpi2c1 clock (lpi2c1_clk_enable)"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpi2c2 clock (lpi2c2_clk_enable)"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "OCOTP_CTRL clock (iim_clk_enable)"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "xbar1 clock (xbar1_clk_enable)"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Clock Gating Register 3"]
pub mod CCGR3 {
#[doc = "Reserved"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "aoi1 clock (aoi1_clk_enable)"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "ewm clocks (ewm_clk_enable)"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "wdog1 clock (wdog1_clk_enable)"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "flexram clock (flexram_clk_enable)"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "The OCRAM clock cannot be turned off when the CM cache is running on this device."]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "iomuxc_snvs_gpr clock (iomuxc_snvs_gpr_clk_enable)"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Clock Gating Register 4"]
pub mod CCGR4 {
#[doc = "sim_m7_clk_r_enable"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "iomuxc clock (iomuxc_clk_enable)"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "iomuxc gpr clock (iomuxc_gpr_clk_enable)"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sim_m7 clock (sim_m7_clk_enable)"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sim_m clocks (sim_m_clk_enable)"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sim_ems clocks (sim_ems_clk_enable)"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "pwm1 clocks (pwm1_clk_enable)"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "dma_ps clocks (dma_ps_clk_enable)"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Clock Gating Register 5"]
pub mod CCGR5 {
#[doc = "rom clock (rom_clk_enable)"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "flexio1 clock (flexio1_clk_enable)"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "wdog3 clock (wdog3_clk_enable)"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "dma clock (dma_clk_enable)"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "kpp clock (kpp_clk_enable)"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "wdog2 clock (wdog2_clk_enable)"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "spdif clock (spdif_clk_enable)"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sai1 clock (sai1_clk_enable)"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sai3 clock (sai3_clk_enable)"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "lpuart1 clock (lpuart1_clk_enable)"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "snvs_hp clock (snvs_hp_clk_enable)"]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "snvs_lp clock (snvs_lp_clk_enable)"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Clock Gating Register 6"]
pub mod CCGR6 {
#[doc = "usboh3 clock (usboh3_clk_enable)"]
pub mod CG0 {
pub const offset: u32 = 0;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG1 {
pub const offset: u32 = 2;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG2 {
pub const offset: u32 = 4;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "dcdc clocks (dcdc_clk_enable)"]
pub mod CG3 {
pub const offset: u32 = 6;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG4 {
pub const offset: u32 = 8;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "flexspi clocks (flexspi_clk_enable) sim_ems_clk_enable must also be cleared, when flexspi_clk_enable is cleared"]
pub mod CG5 {
pub const offset: u32 = 10;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "trng clock (trng_clk_enable)"]
pub mod CG6 {
pub const offset: u32 = 12;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG7 {
pub const offset: u32 = 14;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG8 {
pub const offset: u32 = 16;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG9 {
pub const offset: u32 = 18;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "sim_per clock (sim_per_clk_enable)"]
pub mod CG10 {
pub const offset: u32 = 20;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "anadig clocks (anadig_clk_enable)"]
pub mod CG11 {
pub const offset: u32 = 22;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG12 {
pub const offset: u32 = 24;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG13 {
pub const offset: u32 = 26;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG14 {
pub const offset: u32 = 28;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
#[doc = "Reserved"]
pub mod CG15 {
pub const offset: u32 = 30;
pub const mask: u32 = 0x03 << offset;
pub mod R {}
pub mod W {}
pub mod RW {}
}
}
#[doc = "CCM Module Enable Overide Register"]
pub mod CMEOR {
#[doc = "Overide clock enable signal from GPT - clock will not be gated based on GPT's signal 'ipg_enable_clk'"]
pub mod MOD_EN_OV_GPT {
pub const offset: u32 = 5;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't override module enable signal"]
pub const MOD_EN_OV_GPT_0: u32 = 0;
#[doc = "override module enable signal"]
pub const MOD_EN_OV_GPT_1: u32 = 0x01;
}
}
#[doc = "Overide clock enable signal from PIT - clock will not be gated based on PIT's signal 'ipg_enable_clk'"]
pub mod MOD_EN_OV_PIT {
pub const offset: u32 = 6;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't override module enable signal"]
pub const MOD_EN_OV_PIT_0: u32 = 0;
#[doc = "override module enable signal"]
pub const MOD_EN_OV_PIT_1: u32 = 0x01;
}
}
#[doc = "Overide clock enable signal from TRNG"]
pub mod MOD_EN_OV_TRNG {
pub const offset: u32 = 9;
pub const mask: u32 = 0x01 << offset;
pub mod R {}
pub mod W {}
pub mod RW {
#[doc = "don't override module enable signal"]
pub const MOD_EN_OV_TRNG_0: u32 = 0;
#[doc = "override module enable signal"]
pub const MOD_EN_OV_TRNG_1: u32 = 0x01;
}
}
}