nrf52840_pac/spim0/
txd.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct TXD {
4    #[doc = "0x00 - Data pointer"]
5    pub ptr: PTR,
6    #[doc = "0x04 - Number of bytes in transmit buffer"]
7    pub maxcnt: MAXCNT,
8    #[doc = "0x08 - Number of bytes transferred in the last transaction"]
9    pub amount: AMOUNT,
10    #[doc = "0x0c - EasyDMA list type"]
11    pub list: LIST,
12}
13#[doc = "PTR (rw) register accessor: an alias for `Reg<PTR_SPEC>`"]
14pub type PTR = crate::Reg<ptr::PTR_SPEC>;
15#[doc = "Data pointer"]
16pub mod ptr;
17#[doc = "MAXCNT (rw) register accessor: an alias for `Reg<MAXCNT_SPEC>`"]
18pub type MAXCNT = crate::Reg<maxcnt::MAXCNT_SPEC>;
19#[doc = "Number of bytes in transmit buffer"]
20pub mod maxcnt;
21#[doc = "AMOUNT (r) register accessor: an alias for `Reg<AMOUNT_SPEC>`"]
22pub type AMOUNT = crate::Reg<amount::AMOUNT_SPEC>;
23#[doc = "Number of bytes transferred in the last transaction"]
24pub mod amount;
25#[doc = "LIST (rw) register accessor: an alias for `Reg<LIST_SPEC>`"]
26pub type LIST = crate::Reg<list::LIST_SPEC>;
27#[doc = "EasyDMA list type"]
28pub mod list;