Struct nrf52832_hal::pac::pdm::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {Show 15 fields
pub tasks_start: Reg<TASKS_START_SPEC>,
pub tasks_stop: Reg<TASKS_STOP_SPEC>,
pub events_started: Reg<EVENTS_STARTED_SPEC>,
pub events_stopped: Reg<EVENTS_STOPPED_SPEC>,
pub events_end: Reg<EVENTS_END_SPEC>,
pub inten: Reg<INTEN_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub enable: Reg<ENABLE_SPEC>,
pub pdmclkctrl: Reg<PDMCLKCTRL_SPEC>,
pub mode: Reg<MODE_SPEC>,
pub gainl: Reg<GAINL_SPEC>,
pub gainr: Reg<GAINR_SPEC>,
pub psel: PSEL,
pub sample: SAMPLE,
// some fields omitted
}
Expand description
Register block
Fields
tasks_start: Reg<TASKS_START_SPEC>
0x00 - Starts continuous PDM transfer
tasks_stop: Reg<TASKS_STOP_SPEC>
0x04 - Stops PDM transfer
events_started: Reg<EVENTS_STARTED_SPEC>
0x100 - PDM transfer has started
events_stopped: Reg<EVENTS_STOPPED_SPEC>
0x104 - PDM transfer has finished
events_end: Reg<EVENTS_END_SPEC>
0x108 - The PDM has written the last sample specified by SAMPLE.MAXCNT (or the last sample after a STOP task has been received) to Data RAM
inten: Reg<INTEN_SPEC>
0x300 - Enable or disable interrupt
intenset: Reg<INTENSET_SPEC>
0x304 - Enable interrupt
intenclr: Reg<INTENCLR_SPEC>
0x308 - Disable interrupt
enable: Reg<ENABLE_SPEC>
0x500 - PDM module enable register
pdmclkctrl: Reg<PDMCLKCTRL_SPEC>
0x504 - PDM clock generator control
mode: Reg<MODE_SPEC>
0x508 - Defines the routing of the connected PDM microphones’ signals
gainl: Reg<GAINL_SPEC>
0x518 - Left output gain adjustment
gainr: Reg<GAINR_SPEC>
0x51c - Right output gain adjustment
psel: PSEL
0x540..0x548 - Unspecified
sample: SAMPLE
0x560..0x568 - Unspecified
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.