[−][src]Module nrf52832_pac::pwm0
Pulse Width Modulation Unit 0
Modules
countertop | Value up to which the pulse generator counter counts |
decoder | Configuration of the decoder |
enable | PWM module enable register |
events_loopsdone | Concatenated sequences have been played the amount of times defined in LOOP.CNT |
events_pwmperiodend | Emitted at the end of each PWM period |
events_seqend | Description collection[0]: Emitted at end of every sequence 0, when last value from RAM has been applied to wave counter |
events_seqstarted | Description collection[0]: First PWM period started on sequence 0 |
events_stopped | Response to STOP task, emitted when PWM pulses are no longer generated |
inten | Enable or disable interrupt |
intenclr | Disable interrupt |
intenset | Enable interrupt |
loop_ | Amount of playback of a loop |
mode | Selects operating mode of the wave counter |
prescaler | Configuration for PWM_CLK |
psel | Register block Unspecified |
seq | Register block Unspecified |
shorts | Shortcut register |
tasks_nextstep | Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start it was not running. |
tasks_seqstart | Description collection[0]: Loads the first PWM value on all enabled channels from sequence 0, and starts playing that sequence at the rate defined in SEQ[0]REFRESH and/or DECODER.MODE. Causes PWM generation to start it was not running. |
tasks_stop | Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback |
Structs
COUNTERTOP | Value up to which the pulse generator counter counts |
DECODER | Configuration of the decoder |
ENABLE | PWM module enable register |
EVENTS_LOOPSDONE | Concatenated sequences have been played the amount of times defined in LOOP.CNT |
EVENTS_PWMPERIODEND | Emitted at the end of each PWM period |
EVENTS_SEQEND | Description collection[0]: Emitted at end of every sequence 0, when last value from RAM has been applied to wave counter |
EVENTS_SEQSTARTED | Description collection[0]: First PWM period started on sequence 0 |
EVENTS_STOPPED | Response to STOP task, emitted when PWM pulses are no longer generated |
INTEN | Enable or disable interrupt |
INTENCLR | Disable interrupt |
INTENSET | Enable interrupt |
LOOP | Amount of playback of a loop |
MODE | Selects operating mode of the wave counter |
PRESCALER | Configuration for PWM_CLK |
PSEL | Register block |
RegisterBlock | Register block |
SEQ | Register block |
SHORTS | Shortcut register |
TASKS_NEXTSTEP | Steps by one value in the current sequence on all enabled channels if DECODER.MODE=NextStep. Does not cause PWM generation to start it was not running. |
TASKS_SEQSTART | Description collection[0]: Loads the first PWM value on all enabled channels from sequence 0, and starts playing that sequence at the rate defined in SEQ[0]REFRESH and/or DECODER.MODE. Causes PWM generation to start it was not running. |
TASKS_STOP | Stops PWM pulse generation on all channels at the end of current PWM period, and stops sequence playback |