#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
p1map0: P1map0,
p1map1: P1map1,
p1map2: P1map2,
p1map3: P1map3,
p1map4: P1map4,
p1map5: P1map5,
p1map6: P1map6,
p1map7: P1map7,
}
impl RegisterBlock {
#[doc = "0x00 - Port P1.0 mapping register"]
#[inline(always)]
pub const fn p1map0(&self) -> &P1map0 {
&self.p1map0
}
#[doc = "0x01 - Port P1.1 mapping register"]
#[inline(always)]
pub const fn p1map1(&self) -> &P1map1 {
&self.p1map1
}
#[doc = "0x02 - Port P1.2 mapping register"]
#[inline(always)]
pub const fn p1map2(&self) -> &P1map2 {
&self.p1map2
}
#[doc = "0x03 - Port P1.3 mapping register"]
#[inline(always)]
pub const fn p1map3(&self) -> &P1map3 {
&self.p1map3
}
#[doc = "0x04 - Port P1.4 mapping register"]
#[inline(always)]
pub const fn p1map4(&self) -> &P1map4 {
&self.p1map4
}
#[doc = "0x05 - Port P1.5 mapping register"]
#[inline(always)]
pub const fn p1map5(&self) -> &P1map5 {
&self.p1map5
}
#[doc = "0x06 - Port P1.6 mapping register"]
#[inline(always)]
pub const fn p1map6(&self) -> &P1map6 {
&self.p1map6
}
#[doc = "0x07 - Port P1.7 mapping register"]
#[inline(always)]
pub const fn p1map7(&self) -> &P1map7 {
&self.p1map7
}
}
#[doc = "P1MAP0 (rw) register accessor: Port P1.0 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map0::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@p1map0`] module"]
#[doc(alias = "P1MAP0")]
pub type P1map0 = crate::Reg<p1map0::P1map0Spec>;
#[doc = "Port P1.0 mapping register"]
pub mod p1map0;
#[doc = "P1MAP1 (rw) register accessor: Port P1.1 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map1::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@p1map1`] module"]
#[doc(alias = "P1MAP1")]
pub type P1map1 = crate::Reg<p1map1::P1map1Spec>;
#[doc = "Port P1.1 mapping register"]
pub mod p1map1;
#[doc = "P1MAP2 (rw) register accessor: Port P1.2 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map2::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@p1map2`] module"]
#[doc(alias = "P1MAP2")]
pub type P1map2 = crate::Reg<p1map2::P1map2Spec>;
#[doc = "Port P1.2 mapping register"]
pub mod p1map2;
#[doc = "P1MAP3 (rw) register accessor: Port P1.3 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map3::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@p1map3`] module"]
#[doc(alias = "P1MAP3")]
pub type P1map3 = crate::Reg<p1map3::P1map3Spec>;
#[doc = "Port P1.3 mapping register"]
pub mod p1map3;
#[doc = "P1MAP4 (rw) register accessor: Port P1.4 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map4::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@p1map4`] module"]
#[doc(alias = "P1MAP4")]
pub type P1map4 = crate::Reg<p1map4::P1map4Spec>;
#[doc = "Port P1.4 mapping register"]
pub mod p1map4;
#[doc = "P1MAP5 (rw) register accessor: Port P1.5 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map5::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@p1map5`] module"]
#[doc(alias = "P1MAP5")]
pub type P1map5 = crate::Reg<p1map5::P1map5Spec>;
#[doc = "Port P1.5 mapping register"]
pub mod p1map5;
#[doc = "P1MAP6 (rw) register accessor: Port P1.6 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map6::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@p1map6`] module"]
#[doc(alias = "P1MAP6")]
pub type P1map6 = crate::Reg<p1map6::P1map6Spec>;
#[doc = "Port P1.6 mapping register"]
pub mod p1map6;
#[doc = "P1MAP7 (rw) register accessor: Port P1.7 mapping register\n\nYou can [`read`](crate::Reg::read) this register and get [`p1map7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`p1map7::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@p1map7`] module"]
#[doc(alias = "P1MAP7")]
pub type P1map7 = crate::Reg<p1map7::P1map7Spec>;
#[doc = "Port P1.7 mapping register"]
pub mod p1map7;