#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - A/D Control Register"] pub adcsr: ADCSR, _reserved1: [u8; 0x02], #[doc = "0x04 - A/D Channel Select Register A0"] pub adansa0: ADANSA0, #[doc = "0x06 - A/D Channel Select Register A1"] pub adansa1: ADANSA1, #[doc = "0x08 - A/D-Converted Value Average Channel Select Register 0"] pub adads0: ADADS0, #[doc = "0x0a - A/D-Converted Value Average Channel Select Register 1"] pub adads1: ADADS1, #[doc = "0x0c - A/D-Converted Value Average Count Select Register"] pub adadc: ADADC, _reserved6: [u8; 0x01], #[doc = "0x0e - A/D Control Extended Register"] pub adcer: ADCER, #[doc = "0x10 - A/D Conversion Start Trigger Select Register"] pub adstrgr: ADSTRGR, #[doc = "0x12 - A/D Conversion Extended Input Control Register"] pub adexicr: ADEXICR, #[doc = "0x14 - A/D Channel Select Register B0"] pub adansb0: ADANSB0, #[doc = "0x16 - A/D Channel Select Register B1"] pub adansb1: ADANSB1, #[doc = "0x18 - A/D Data Duplexing Register"] pub addbldr: ADDBLDR, #[doc = "0x1a - A/D Temperature Sensor Data Register"] pub adtsdr: ADTSDR, #[doc = "0x1c - A/D Internal Reference Voltage Data Register"] pub adocdr: ADOCDR, _reserved14: [u8; 0x02], #[doc = "0x20..0x32 - A/D Data Register %s"] pub addr: [ADDR; 9], _reserved15: [u8; 0x0e], #[doc = "0x40 - A/D Data Register %s"] pub addr16: ADDR16, #[doc = "0x42 - A/D Data Register %s"] pub addr17: ADDR16, #[doc = "0x44 - A/D Data Register %s"] pub addr18: ADDR16, #[doc = "0x46 - A/D Data Register %s"] pub addr19: ADDR16, #[doc = "0x48 - A/D Data Register %s"] pub addr20: ADDR16, #[doc = "0x4a - A/D Data Register %s"] pub addr21: ADDR16, #[doc = "0x4c - A/D Data Register %s"] pub addr22: ADDR16, #[doc = "0x4e - A/D Data Register %s"] pub addr23: ADDR16, #[doc = "0x50 - A/D Data Register %s"] pub addr24: ADDR16, _reserved24: [u8; 0x28], #[doc = "0x7a - A/D Disconnection Detection Control Register"] pub addiscr: ADDISCR, _reserved25: [u8; 0x02], #[doc = "0x7d - A/D Interrupt Control Register"] pub adicr: ADICR, _reserved26: [u8; 0x02], #[doc = "0x80 - A/D Group Scan Priority Control Register"] pub adgspcr: ADGSPCR, _reserved27: [u8; 0x02], #[doc = "0x84 - A/D Data Duplexing Register A"] pub addbldra: ADDBLDRA, #[doc = "0x86 - A/D Data Duplexing Register B"] pub addbldrb: ADDBLDRB, _reserved29: [u8; 0x04], #[doc = "0x8c - A/D Compare Function Window A/B Status Monitor Register"] pub adwinmon: ADWINMON, _reserved30: [u8; 0x03], #[doc = "0x90 - A/D Compare Function Control Register"] pub adcmpcr: ADCMPCR, #[doc = "0x92 - A/D Compare Function Window A Extended Input Select Register"] pub adcmpanser: ADCMPANSER, #[doc = "0x93 - A/D Compare Function Window A Extended Input Comparison Condition Setting Register"] pub adcmpler: ADCMPLER, #[doc = "0x94 - A/D Compare Function Window A Channel Select Register 0"] pub adcmpansr0: ADCMPANSR0, #[doc = "0x96 - A/D Compare Function Window A Channel Select Register 1"] pub adcmpansr1: ADCMPANSR1, #[doc = "0x98 - A/D Compare Function Window A Comparison Condition Setting Register 0"] pub adcmplr0: ADCMPLR0, #[doc = "0x9a - A/D Compare Function Window A Comparison Condition Setting Register 1"] pub adcmplr1: ADCMPLR1, #[doc = "0x9c - A/D Compare Function Window A Lower-Side Level Setting Register"] pub adcmpdr0: ADCMPDR0, #[doc = "0x9e - A/D Compare Function Window A Upper-Side Level Setting Register"] pub adcmpdr1: ADCMPDR1, #[doc = "0xa0 - A/D Compare Function Window A Channel Status Register 0"] pub adcmpsr0: ADCMPSR0, #[doc = "0xa2 - A/D Compare Function Window A Channel Status Register 1"] pub adcmpsr1: ADCMPSR1, #[doc = "0xa4 - A/D Compare Function Window A Extended Input Channel Status Register"] pub adcmpser: ADCMPSER, _reserved42: [u8; 0x01], #[doc = "0xa6 - A/D Compare Function Window B Channel Selection Register"] pub adcmpbnsr: ADCMPBNSR, _reserved43: [u8; 0x01], #[doc = "0xa8 - A/D Compare Function Window B Lower-Side Level Setting Register"] pub adwinllb: ADWINLLB, #[doc = "0xaa - A/D Compare Function Window B Upper-Side Level Setting Register"] pub adwinulb: ADWINULB, #[doc = "0xac - A/D Compare Function Window B Status Register"] pub adcmpbsr: ADCMPBSR, _reserved46: [u8; 0x30], #[doc = "0xdd - A/D Sampling State Register L"] pub adsstrl: ADSSTRL, #[doc = "0xde - A/D Sampling State Register T"] pub adsstrt: ADSSTRT, #[doc = "0xdf - A/D Sampling State Register O"] pub adsstro: ADSSTRO, #[doc = "0xe0..0xe9 - A/D Sampling State Register %s"] pub adsstr0: [ADSSTR0; 9], _reserved50: [u8; 0x07], #[doc = "0xf0 - A/D Channel Input Mode Select Register"] pub adanim: ADANIM, #[doc = "0xf2 - A/D Calibration Execution Register"] pub adcalexe: ADCALEXE, _reserved52: [u8; 0x01], #[doc = "0xf4 - A/D Dedicated Reference Voltage Circuit Control Register"] pub vrefampcnt: VREFAMPCNT, _reserved53: [u8; 0x03], #[doc = "0xf8 - A/D Self-Diagnosis Data Register"] pub adrd: ADRD, #[doc = "0xfa - A/D Self-Diagnostic Status Register"] pub adrst: ADRST, } #[doc = "ADCSR (rw) register accessor: an alias for `Reg`"] pub type ADCSR = crate::Reg; #[doc = "A/D Control Register"] pub mod adcsr; #[doc = "ADANSA0 (rw) register accessor: an alias for `Reg`"] pub type ADANSA0 = crate::Reg; #[doc = "A/D Channel Select Register A0"] pub mod adansa0; #[doc = "ADANSA1 (rw) register accessor: an alias for `Reg`"] pub type ADANSA1 = crate::Reg; #[doc = "A/D Channel Select Register A1"] pub mod adansa1; #[doc = "ADADS0 (rw) register accessor: an alias for `Reg`"] pub type ADADS0 = crate::Reg; #[doc = "A/D-Converted Value Average Channel Select Register 0"] pub mod adads0; #[doc = "ADADS1 (rw) register accessor: an alias for `Reg`"] pub type ADADS1 = crate::Reg; #[doc = "A/D-Converted Value Average Channel Select Register 1"] pub mod adads1; #[doc = "ADADC (rw) register accessor: an alias for `Reg`"] pub type ADADC = crate::Reg; #[doc = "A/D-Converted Value Average Count Select Register"] pub mod adadc; #[doc = "ADCER (rw) register accessor: an alias for `Reg`"] pub type ADCER = crate::Reg; #[doc = "A/D Control Extended Register"] pub mod adcer; #[doc = "ADSTRGR (rw) register accessor: an alias for `Reg`"] pub type ADSTRGR = crate::Reg; #[doc = "A/D Conversion Start Trigger Select Register"] pub mod adstrgr; #[doc = "ADEXICR (rw) register accessor: an alias for `Reg`"] pub type ADEXICR = crate::Reg; #[doc = "A/D Conversion Extended Input Control Register"] pub mod adexicr; #[doc = "ADANSB0 (rw) register accessor: an alias for `Reg`"] pub type ADANSB0 = crate::Reg; #[doc = "A/D Channel Select Register B0"] pub mod adansb0; #[doc = "ADANSB1 (rw) register accessor: an alias for `Reg`"] pub type ADANSB1 = crate::Reg; #[doc = "A/D Channel Select Register B1"] pub mod adansb1; #[doc = "ADDBLDR (r) register accessor: an alias for `Reg`"] pub type ADDBLDR = crate::Reg; #[doc = "A/D Data Duplexing Register"] pub mod addbldr; #[doc = "ADTSDR (r) register accessor: an alias for `Reg`"] pub type ADTSDR = crate::Reg; #[doc = "A/D Temperature Sensor Data Register"] pub mod adtsdr; #[doc = "ADOCDR (r) register accessor: an alias for `Reg`"] pub type ADOCDR = crate::Reg; #[doc = "A/D Internal Reference Voltage Data Register"] pub mod adocdr; #[doc = "ADDR (r) register accessor: an alias for `Reg`"] pub type ADDR = crate::Reg; #[doc = "A/D Data Register %s"] pub mod addr; pub use addr as addr16; pub use ADDR as ADDR16; #[doc = "ADDISCR (rw) register accessor: an alias for `Reg`"] pub type ADDISCR = crate::Reg; #[doc = "A/D Disconnection Detection Control Register"] pub mod addiscr; #[doc = "ADICR (rw) register accessor: an alias for `Reg`"] pub type ADICR = crate::Reg; #[doc = "A/D Interrupt Control Register"] pub mod adicr; #[doc = "ADGSPCR (rw) register accessor: an alias for `Reg`"] pub type ADGSPCR = crate::Reg; #[doc = "A/D Group Scan Priority Control Register"] pub mod adgspcr; #[doc = "ADDBLDRA (r) register accessor: an alias for `Reg`"] pub type ADDBLDRA = crate::Reg; #[doc = "A/D Data Duplexing Register A"] pub mod addbldra; #[doc = "ADDBLDRB (r) register accessor: an alias for `Reg`"] pub type ADDBLDRB = crate::Reg; #[doc = "A/D Data Duplexing Register B"] pub mod addbldrb; #[doc = "ADWINMON (r) register accessor: an alias for `Reg`"] pub type ADWINMON = crate::Reg; #[doc = "A/D Compare Function Window A/B Status Monitor Register"] pub mod adwinmon; #[doc = "ADCMPCR (rw) register accessor: an alias for `Reg`"] pub type ADCMPCR = crate::Reg; #[doc = "A/D Compare Function Control Register"] pub mod adcmpcr; #[doc = "ADCMPANSER (rw) register accessor: an alias for `Reg`"] pub type ADCMPANSER = crate::Reg; #[doc = "A/D Compare Function Window A Extended Input Select Register"] pub mod adcmpanser; #[doc = "ADCMPLER (rw) register accessor: an alias for `Reg`"] pub type ADCMPLER = crate::Reg; #[doc = "A/D Compare Function Window A Extended Input Comparison Condition Setting Register"] pub mod adcmpler; #[doc = "ADCMPANSR0 (rw) register accessor: an alias for `Reg`"] pub type ADCMPANSR0 = crate::Reg; #[doc = "A/D Compare Function Window A Channel Select Register 0"] pub mod adcmpansr0; #[doc = "ADCMPANSR1 (rw) register accessor: an alias for `Reg`"] pub type ADCMPANSR1 = crate::Reg; #[doc = "A/D Compare Function Window A Channel Select Register 1"] pub mod adcmpansr1; #[doc = "ADCMPLR0 (rw) register accessor: an alias for `Reg`"] pub type ADCMPLR0 = crate::Reg; #[doc = "A/D Compare Function Window A Comparison Condition Setting Register 0"] pub mod adcmplr0; #[doc = "ADCMPLR1 (rw) register accessor: an alias for `Reg`"] pub type ADCMPLR1 = crate::Reg; #[doc = "A/D Compare Function Window A Comparison Condition Setting Register 1"] pub mod adcmplr1; #[doc = "ADCMPDR0 (rw) register accessor: an alias for `Reg`"] pub type ADCMPDR0 = crate::Reg; #[doc = "A/D Compare Function Window A Lower-Side Level Setting Register"] pub mod adcmpdr0; #[doc = "ADCMPDR1 (rw) register accessor: an alias for `Reg`"] pub type ADCMPDR1 = crate::Reg; #[doc = "A/D Compare Function Window A Upper-Side Level Setting Register"] pub mod adcmpdr1; #[doc = "ADCMPSR0 (rw) register accessor: an alias for `Reg`"] pub type ADCMPSR0 = crate::Reg; #[doc = "A/D Compare Function Window A Channel Status Register 0"] pub mod adcmpsr0; #[doc = "ADCMPSR1 (rw) register accessor: an alias for `Reg`"] pub type ADCMPSR1 = crate::Reg; #[doc = "A/D Compare Function Window A Channel Status Register 1"] pub mod adcmpsr1; #[doc = "ADCMPSER (rw) register accessor: an alias for `Reg`"] pub type ADCMPSER = crate::Reg; #[doc = "A/D Compare Function Window A Extended Input Channel Status Register"] pub mod adcmpser; #[doc = "ADCMPBNSR (rw) register accessor: an alias for `Reg`"] pub type ADCMPBNSR = crate::Reg; #[doc = "A/D Compare Function Window B Channel Selection Register"] pub mod adcmpbnsr; #[doc = "ADWINLLB (rw) register accessor: an alias for `Reg`"] pub type ADWINLLB = crate::Reg; #[doc = "A/D Compare Function Window B Lower-Side Level Setting Register"] pub mod adwinllb; #[doc = "ADWINULB (rw) register accessor: an alias for `Reg`"] pub type ADWINULB = crate::Reg; #[doc = "A/D Compare Function Window B Upper-Side Level Setting Register"] pub mod adwinulb; #[doc = "ADCMPBSR (rw) register accessor: an alias for `Reg`"] pub type ADCMPBSR = crate::Reg; #[doc = "A/D Compare Function Window B Status Register"] pub mod adcmpbsr; #[doc = "ADSSTRL (rw) register accessor: an alias for `Reg`"] pub type ADSSTRL = crate::Reg; #[doc = "A/D Sampling State Register L"] pub mod adsstrl; #[doc = "ADSSTRT (rw) register accessor: an alias for `Reg`"] pub type ADSSTRT = crate::Reg; #[doc = "A/D Sampling State Register T"] pub mod adsstrt; #[doc = "ADSSTRO (rw) register accessor: an alias for `Reg`"] pub type ADSSTRO = crate::Reg; #[doc = "A/D Sampling State Register O"] pub mod adsstro; #[doc = "ADSSTR0 (rw) register accessor: an alias for `Reg`"] pub type ADSSTR0 = crate::Reg; #[doc = "A/D Sampling State Register %s"] pub mod adsstr0; #[doc = "ADANIM (rw) register accessor: an alias for `Reg`"] pub type ADANIM = crate::Reg; #[doc = "A/D Channel Input Mode Select Register"] pub mod adanim; #[doc = "ADCALEXE (rw) register accessor: an alias for `Reg`"] pub type ADCALEXE = crate::Reg; #[doc = "A/D Calibration Execution Register"] pub mod adcalexe; #[doc = "VREFAMPCNT (rw) register accessor: an alias for `Reg`"] pub type VREFAMPCNT = crate::Reg; #[doc = "A/D Dedicated Reference Voltage Circuit Control Register"] pub mod vrefampcnt; #[doc = "ADRD (r) register accessor: an alias for `Reg`"] pub type ADRD = crate::Reg; #[doc = "A/D Self-Diagnosis Data Register"] pub mod adrd; #[doc = "ADRST (rw) register accessor: an alias for `Reg`"] pub type ADRST = crate::Reg; #[doc = "A/D Self-Diagnostic Status Register"] pub mod adrst;