#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
pjin: Pjin,
pjout: Pjout,
pjdir: Pjdir,
pjren: Pjren,
pjds: Pjds,
}
impl RegisterBlock {
#[doc = "0x00 - Port J Input"]
#[inline(always)]
pub const fn pjin(&self) -> &Pjin {
&self.pjin
}
#[doc = "0x02 - Port J Output"]
#[inline(always)]
pub const fn pjout(&self) -> &Pjout {
&self.pjout
}
#[doc = "0x04 - Port J Direction"]
#[inline(always)]
pub const fn pjdir(&self) -> &Pjdir {
&self.pjdir
}
#[doc = "0x06 - Port J Resistor Enable"]
#[inline(always)]
pub const fn pjren(&self) -> &Pjren {
&self.pjren
}
#[doc = "0x08 - Port J Drive Strenght"]
#[inline(always)]
pub const fn pjds(&self) -> &Pjds {
&self.pjds
}
}
#[doc = "PJIN (rw) register accessor: Port J Input\n\nYou can [`read`](crate::Reg::read) this register and get [`pjin::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pjin::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@pjin`] module"]
#[doc(alias = "PJIN")]
pub type Pjin = crate::Reg<pjin::PjinSpec>;
#[doc = "Port J Input"]
pub mod pjin;
#[doc = "PJOUT (rw) register accessor: Port J Output\n\nYou can [`read`](crate::Reg::read) this register and get [`pjout::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pjout::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@pjout`] module"]
#[doc(alias = "PJOUT")]
pub type Pjout = crate::Reg<pjout::PjoutSpec>;
#[doc = "Port J Output"]
pub mod pjout;
#[doc = "PJDIR (rw) register accessor: Port J Direction\n\nYou can [`read`](crate::Reg::read) this register and get [`pjdir::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pjdir::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@pjdir`] module"]
#[doc(alias = "PJDIR")]
pub type Pjdir = crate::Reg<pjdir::PjdirSpec>;
#[doc = "Port J Direction"]
pub mod pjdir;
#[doc = "PJREN (rw) register accessor: Port J Resistor Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`pjren::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pjren::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@pjren`] module"]
#[doc(alias = "PJREN")]
pub type Pjren = crate::Reg<pjren::PjrenSpec>;
#[doc = "Port J Resistor Enable"]
pub mod pjren;
#[doc = "PJDS (rw) register accessor: Port J Drive Strenght\n\nYou can [`read`](crate::Reg::read) this register and get [`pjds::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pjds::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@pjds`] module"]
#[doc(alias = "PJDS")]
pub type Pjds = crate::Reg<pjds::PjdsSpec>;
#[doc = "Port J Drive Strenght"]
pub mod pjds;