#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00..0x40 - PORTA Pin Configuration Register"] pub porta: [crate::Reg; 16], #[doc = "0x40..0x80 - PORTB Pin Configuration Register"] pub portb: [crate::Reg; 16], #[doc = "0x80..0xc0 - PORTC Pin Configuration Register"] pub portc: [crate::Reg; 16], #[doc = "0xc0..0x100 - PORTD Pin Configuration Register"] pub portd: [crate::Reg; 16], #[doc = "0x100..0x140 - PORTE Pin Configuration Register"] pub porte: [crate::Reg; 16], #[doc = "0x140..0x180 - PORTF Pin Configuration Register"] pub portf: [crate::Reg; 16], #[doc = "0x180..0x1a0 - PORTG Pin Configuration Register"] pub portg: [crate::Reg; 8], _reserved7: [u8; 0x20], #[doc = "0x1c0 - Clock divide value. 0 will disable the clock"] pub clkdiv0: crate::Reg, #[doc = "0x1c4 - Clock divide value. 0 will disable the clock"] pub clkdiv1: crate::Reg, #[doc = "0x1c8 - Clock divide value. 0 will disable the clock"] pub clkdiv2: crate::Reg, #[doc = "0x1cc - Clock divide value. 0 will disable the clock"] pub clkdiv3: crate::Reg, #[doc = "0x1d0 - Clock divide value. 0 will disable the clock"] pub clkdiv4: crate::Reg, #[doc = "0x1d4 - Clock divide value. 0 will disable the clock"] pub clkdiv5: crate::Reg, #[doc = "0x1d8 - Clock divide value. 0 will disable the clock"] pub clkdiv6: crate::Reg, #[doc = "0x1dc - Clock divide value. 0 will disable the clock"] pub clkdiv7: crate::Reg, _reserved15: [u8; 0x0e1c], #[doc = "0xffc - Peripheral ID Register"] pub perid: crate::Reg, } #[doc = "PORTA register accessor: an alias for `Reg`"] pub type PORTA = crate::Reg; #[doc = "PORTA Pin Configuration Register"] pub mod porta; #[doc = "PORTB register accessor: an alias for `Reg`"] pub type PORTB = crate::Reg; #[doc = "PORTB Pin Configuration Register"] pub mod portb; #[doc = "PORTC register accessor: an alias for `Reg`"] pub type PORTC = crate::Reg; #[doc = "PORTC Pin Configuration Register"] pub mod portc; #[doc = "PORTD register accessor: an alias for `Reg`"] pub type PORTD = crate::Reg; #[doc = "PORTD Pin Configuration Register"] pub mod portd; #[doc = "PORTE register accessor: an alias for `Reg`"] pub type PORTE = crate::Reg; #[doc = "PORTE Pin Configuration Register"] pub mod porte; #[doc = "PORTF register accessor: an alias for `Reg`"] pub type PORTF = crate::Reg; #[doc = "PORTF Pin Configuration Register"] pub mod portf; #[doc = "PORTG register accessor: an alias for `Reg`"] pub type PORTG = crate::Reg; #[doc = "PORTG Pin Configuration Register"] pub mod portg; #[doc = "CLKDIV0 register accessor: an alias for `Reg`"] pub type CLKDIV0 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv0; #[doc = "CLKDIV1 register accessor: an alias for `Reg`"] pub type CLKDIV1 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv1; #[doc = "CLKDIV2 register accessor: an alias for `Reg`"] pub type CLKDIV2 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv2; #[doc = "CLKDIV3 register accessor: an alias for `Reg`"] pub type CLKDIV3 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv3; #[doc = "CLKDIV4 register accessor: an alias for `Reg`"] pub type CLKDIV4 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv4; #[doc = "CLKDIV5 register accessor: an alias for `Reg`"] pub type CLKDIV5 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv5; #[doc = "CLKDIV6 register accessor: an alias for `Reg`"] pub type CLKDIV6 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv6; #[doc = "CLKDIV7 register accessor: an alias for `Reg`"] pub type CLKDIV7 = crate::Reg; #[doc = "Clock divide value. 0 will disable the clock"] pub mod clkdiv7; #[doc = "PERID register accessor: an alias for `Reg`"] pub type PERID = crate::Reg; #[doc = "Peripheral ID Register"] pub mod perid;