#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
#[doc = "0x00 - control register 0"]
pub ctl0: CTL0,
_reserved1: [u8; 0x02],
#[doc = "0x04 - control register 1"]
pub ctl1: CTL1,
_reserved2: [u8; 0x02],
#[doc = "0x08 - status register"]
pub stat: STAT,
_reserved3: [u8; 0x02],
#[doc = "0x0c - data register"]
pub data: DATA,
_reserved4: [u8; 0x02],
#[doc = "0x10 - CRC polynomial register"]
pub crcpoly: CRCPOLY,
_reserved5: [u8; 0x02],
#[doc = "0x14 - RX CRC register"]
pub rcrc: RCRC,
_reserved6: [u8; 0x02],
#[doc = "0x18 - TX CRC register"]
pub tcrc: TCRC,
_reserved7: [u8; 0x02],
#[doc = "0x1c - I2S control register"]
pub i2sctl: I2SCTL,
_reserved8: [u8; 0x02],
#[doc = "0x20 - I2S prescaler register"]
pub i2spsc: I2SPSC,
}
#[doc = "CTL0 (rw) register accessor: an alias for `Reg<CTL0_SPEC>`"]
pub type CTL0 = crate::Reg<ctl0::CTL0_SPEC>;
#[doc = "control register 0"]
pub mod ctl0;
#[doc = "CTL1 (rw) register accessor: an alias for `Reg<CTL1_SPEC>`"]
pub type CTL1 = crate::Reg<ctl1::CTL1_SPEC>;
#[doc = "control register 1"]
pub mod ctl1;
#[doc = "STAT (rw) register accessor: an alias for `Reg<STAT_SPEC>`"]
pub type STAT = crate::Reg<stat::STAT_SPEC>;
#[doc = "status register"]
pub mod stat;
#[doc = "DATA (rw) register accessor: an alias for `Reg<DATA_SPEC>`"]
pub type DATA = crate::Reg<data::DATA_SPEC>;
#[doc = "data register"]
pub mod data;
#[doc = "CRCPOLY (rw) register accessor: an alias for `Reg<CRCPOLY_SPEC>`"]
pub type CRCPOLY = crate::Reg<crcpoly::CRCPOLY_SPEC>;
#[doc = "CRC polynomial register"]
pub mod crcpoly;
#[doc = "RCRC (r) register accessor: an alias for `Reg<RCRC_SPEC>`"]
pub type RCRC = crate::Reg<rcrc::RCRC_SPEC>;
#[doc = "RX CRC register"]
pub mod rcrc;
#[doc = "TCRC (r) register accessor: an alias for `Reg<TCRC_SPEC>`"]
pub type TCRC = crate::Reg<tcrc::TCRC_SPEC>;
#[doc = "TX CRC register"]
pub mod tcrc;
#[doc = "I2SCTL (rw) register accessor: an alias for `Reg<I2SCTL_SPEC>`"]
pub type I2SCTL = crate::Reg<i2sctl::I2SCTL_SPEC>;
#[doc = "I2S control register"]
pub mod i2sctl;
#[doc = "I2SPSC (rw) register accessor: an alias for `Reg<I2SPSC_SPEC>`"]
pub type I2SPSC = crate::Reg<i2spsc::I2SPSC_SPEC>;
#[doc = "I2S prescaler register"]
pub mod i2spsc;