Struct nrf52832_hal::pac::pdm::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {}Show 15 fields
pub tasks_start: Reg<u32, _TASKS_START>, pub tasks_stop: Reg<u32, _TASKS_STOP>, pub events_started: Reg<u32, _EVENTS_STARTED>, pub events_stopped: Reg<u32, _EVENTS_STOPPED>, pub events_end: Reg<u32, _EVENTS_END>, pub inten: Reg<u32, _INTEN>, pub intenset: Reg<u32, _INTENSET>, pub intenclr: Reg<u32, _INTENCLR>, pub enable: Reg<u32, _ENABLE>, pub pdmclkctrl: Reg<u32, _PDMCLKCTRL>, pub mode: Reg<u32, _MODE>, pub gainl: Reg<u32, _GAINL>, pub gainr: Reg<u32, _GAINR>, pub psel: PSEL, pub sample: SAMPLE, // some fields omitted
Expand description
Register block
Fields
tasks_start: Reg<u32, _TASKS_START>
0x00 - Starts continuous PDM transfer
tasks_stop: Reg<u32, _TASKS_STOP>
0x04 - Stops PDM transfer
events_started: Reg<u32, _EVENTS_STARTED>
0x100 - PDM transfer has started
events_stopped: Reg<u32, _EVENTS_STOPPED>
0x104 - PDM transfer has finished
events_end: Reg<u32, _EVENTS_END>
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<u32, _INTEN>
0x300 - Enable or disable interrupt
intenset: Reg<u32, _INTENSET>
0x304 - Enable interrupt
intenclr: Reg<u32, _INTENCLR>
0x308 - Disable interrupt
enable: Reg<u32, _ENABLE>
0x500 - PDM module enable register
pdmclkctrl: Reg<u32, _PDMCLKCTRL>
0x504 - PDM clock generator control
mode: Reg<u32, _MODE>
0x508 - Defines the routing of the connected PDM microphones’ signals
gainl: Reg<u32, _GAINL>
0x518 - Left output gain adjustment
gainr: Reg<u32, _GAINR>
0x51c - Right output gain adjustment
psel: PSEL
0x540 - Unspecified
sample: SAMPLE
0x560 - Unspecified