nrf52840_pac/saadc/
ch.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct CH {
4    #[doc = "0x00 - Description cluster\\[n\\]: Input positive pin selection for CH\\[n\\]"]
5    pub pselp: PSELP,
6    #[doc = "0x04 - Description cluster\\[n\\]: Input negative pin selection for CH\\[n\\]"]
7    pub pseln: PSELN,
8    #[doc = "0x08 - Description cluster\\[n\\]: Input configuration for CH\\[n\\]"]
9    pub config: CONFIG,
10    #[doc = "0x0c - Description cluster\\[n\\]: High/low limits for event monitoring of a channel"]
11    pub limit: LIMIT,
12}
13#[doc = "PSELP (rw) register accessor: an alias for `Reg<PSELP_SPEC>`"]
14pub type PSELP = crate::Reg<pselp::PSELP_SPEC>;
15#[doc = "Description cluster\\[n\\]: Input positive pin selection for CH\\[n\\]"]
16pub mod pselp;
17#[doc = "PSELN (rw) register accessor: an alias for `Reg<PSELN_SPEC>`"]
18pub type PSELN = crate::Reg<pseln::PSELN_SPEC>;
19#[doc = "Description cluster\\[n\\]: Input negative pin selection for CH\\[n\\]"]
20pub mod pseln;
21#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
22pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
23#[doc = "Description cluster\\[n\\]: Input configuration for CH\\[n\\]"]
24pub mod config;
25#[doc = "LIMIT (rw) register accessor: an alias for `Reg<LIMIT_SPEC>`"]
26pub type LIMIT = crate::Reg<limit::LIMIT_SPEC>;
27#[doc = "Description cluster\\[n\\]: High/low limits for event monitoring of a channel"]
28pub mod limit;