nrf52840_pac/spim0/
psel.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#[doc = r"Register block"]
#[repr(C)]
pub struct PSEL {
    #[doc = "0x00 - Pin select for SCK"]
    pub sck: SCK,
    #[doc = "0x04 - Pin select for MOSI signal"]
    pub mosi: MOSI,
    #[doc = "0x08 - Pin select for MISO signal"]
    pub miso: MISO,
    #[doc = "0x0c - Pin select for CSN"]
    pub csn: CSN,
}
#[doc = "SCK (rw) register accessor: an alias for `Reg<SCK_SPEC>`"]
pub type SCK = crate::Reg<sck::SCK_SPEC>;
#[doc = "Pin select for SCK"]
pub mod sck;
#[doc = "MOSI (rw) register accessor: an alias for `Reg<MOSI_SPEC>`"]
pub type MOSI = crate::Reg<mosi::MOSI_SPEC>;
#[doc = "Pin select for MOSI signal"]
pub mod mosi;
#[doc = "MISO (rw) register accessor: an alias for `Reg<MISO_SPEC>`"]
pub type MISO = crate::Reg<miso::MISO_SPEC>;
#[doc = "Pin select for MISO signal"]
pub mod miso;
#[doc = "CSN (rw) register accessor: an alias for `Reg<CSN_SPEC>`"]
pub type CSN = crate::Reg<csn::CSN_SPEC>;
#[doc = "Pin select for CSN"]
pub mod csn;