#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
p2map0: P2map0,
p2map1: P2map1,
p2map2: P2map2,
p2map3: P2map3,
p2map4: P2map4,
p2map5: P2map5,
p2map6: P2map6,
p2map7: P2map7,
}
impl RegisterBlock {
#[doc = "0x00 - Port P2.0 mapping register"]
#[inline(always)]
pub const fn p2map0(&self) -> &P2map0 {
&self.p2map0
}
#[doc = "0x01 - Port P2.1 mapping register"]
#[inline(always)]
pub const fn p2map1(&self) -> &P2map1 {
&self.p2map1
}
#[doc = "0x02 - Port P2.2 mapping register"]
#[inline(always)]
pub const fn p2map2(&self) -> &P2map2 {
&self.p2map2
}
#[doc = "0x03 - Port P2.3 mapping register"]
#[inline(always)]
pub const fn p2map3(&self) -> &P2map3 {
&self.p2map3
}
#[doc = "0x04 - Port P2.4 mapping register"]
#[inline(always)]
pub const fn p2map4(&self) -> &P2map4 {
&self.p2map4
}
#[doc = "0x05 - Port P2.5 mapping register"]
#[inline(always)]
pub const fn p2map5(&self) -> &P2map5 {
&self.p2map5
}
#[doc = "0x06 - Port P2.6 mapping register"]
#[inline(always)]
pub const fn p2map6(&self) -> &P2map6 {
&self.p2map6
}
#[doc = "0x07 - Port P2.7 mapping register"]
#[inline(always)]
pub const fn p2map7(&self) -> &P2map7 {
&self.p2map7
}
}
#[doc = "P2MAP0 (rw) register accessor: Port P2.0 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map0`] module"]
#[doc(alias = "P2MAP0")]
pub type P2map0 = crate::Reg<p2map0::P2map0Spec>;
#[doc = "Port P2.0 mapping register"]
pub mod p2map0;
#[doc = "P2MAP1 (rw) register accessor: Port P2.1 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map1`] module"]
#[doc(alias = "P2MAP1")]
pub type P2map1 = crate::Reg<p2map1::P2map1Spec>;
#[doc = "Port P2.1 mapping register"]
pub mod p2map1;
#[doc = "P2MAP2 (rw) register accessor: Port P2.2 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map2`] module"]
#[doc(alias = "P2MAP2")]
pub type P2map2 = crate::Reg<p2map2::P2map2Spec>;
#[doc = "Port P2.2 mapping register"]
pub mod p2map2;
#[doc = "P2MAP3 (rw) register accessor: Port P2.3 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map3`] module"]
#[doc(alias = "P2MAP3")]
pub type P2map3 = crate::Reg<p2map3::P2map3Spec>;
#[doc = "Port P2.3 mapping register"]
pub mod p2map3;
#[doc = "P2MAP4 (rw) register accessor: Port P2.4 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map4`] module"]
#[doc(alias = "P2MAP4")]
pub type P2map4 = crate::Reg<p2map4::P2map4Spec>;
#[doc = "Port P2.4 mapping register"]
pub mod p2map4;
#[doc = "P2MAP5 (rw) register accessor: Port P2.5 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map5::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map5`] module"]
#[doc(alias = "P2MAP5")]
pub type P2map5 = crate::Reg<p2map5::P2map5Spec>;
#[doc = "Port P2.5 mapping register"]
pub mod p2map5;
#[doc = "P2MAP6 (rw) register accessor: Port P2.6 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map6::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map6`] module"]
#[doc(alias = "P2MAP6")]
pub type P2map6 = crate::Reg<p2map6::P2map6Spec>;
#[doc = "Port P2.6 mapping register"]
pub mod p2map6;
#[doc = "P2MAP7 (rw) register accessor: Port P2.7 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p2map7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p2map7::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@p2map7`] module"]
#[doc(alias = "P2MAP7")]
pub type P2map7 = crate::Reg<p2map7::P2map7Spec>;
#[doc = "Port P2.7 mapping register"]
pub mod p2map7;