nrf52840_pac/pwm0/
seq.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct SEQ {
4    #[doc = "0x00 - Description cluster\\[n\\]: Beginning address in RAM of this sequence"]
5    pub ptr: PTR,
6    #[doc = "0x04 - Description cluster\\[n\\]: Number of values (duty cycles) in this sequence"]
7    pub cnt: CNT,
8    #[doc = "0x08 - Description cluster\\[n\\]: Number of additional PWM periods between samples loaded into compare register"]
9    pub refresh: REFRESH,
10    #[doc = "0x0c - Description cluster\\[n\\]: Time added after the sequence"]
11    pub enddelay: ENDDELAY,
12}
13#[doc = "PTR (rw) register accessor: an alias for `Reg<PTR_SPEC>`"]
14pub type PTR = crate::Reg<ptr::PTR_SPEC>;
15#[doc = "Description cluster\\[n\\]: Beginning address in RAM of this sequence"]
16pub mod ptr;
17#[doc = "CNT (rw) register accessor: an alias for `Reg<CNT_SPEC>`"]
18pub type CNT = crate::Reg<cnt::CNT_SPEC>;
19#[doc = "Description cluster\\[n\\]: Number of values (duty cycles) in this sequence"]
20pub mod cnt;
21#[doc = "REFRESH (rw) register accessor: an alias for `Reg<REFRESH_SPEC>`"]
22pub type REFRESH = crate::Reg<refresh::REFRESH_SPEC>;
23#[doc = "Description cluster\\[n\\]: Number of additional PWM periods between samples loaded into compare register"]
24pub mod refresh;
25#[doc = "ENDDELAY (rw) register accessor: an alias for `Reg<ENDDELAY_SPEC>`"]
26pub type ENDDELAY = crate::Reg<enddelay::ENDDELAY_SPEC>;
27#[doc = "Description cluster\\[n\\]: Time added after the sequence"]
28pub mod enddelay;