Expand description
Control and status register
Structs§
- CSR_
SPEC - Control and status register
Enums§
- DIVMODE_
A - Value on reset: 0
Type Aliases§
- A_INV_R
- Field
A_INV
reader - Invert output A - A_INV_W
- Field
A_INV
writer - Invert output A - B_INV_R
- Field
B_INV
reader - Invert output B - B_INV_W
- Field
B_INV
writer - Invert output B - DIVMODE_
R - Field
DIVMODE
reader - - DIVMODE_
W - Field
DIVMODE
writer - - EN_R
- Field
EN
reader - Enable the PWM channel. - EN_W
- Field
EN
writer - Enable the PWM channel. - PH_
ADV_ R - Field
PH_ADV
reader - Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1) - PH_
ADV_ W - Field
PH_ADV
writer - Advance the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running
at less than full speed (div_int + div_frac / 16 > 1) - PH_
CORRECT_ R - Field
PH_CORRECT
reader - 1: Enable phase-correct modulation. 0: Trailing-edge - PH_
CORRECT_ W - Field
PH_CORRECT
writer - 1: Enable phase-correct modulation. 0: Trailing-edge - PH_
RET_ R - Field
PH_RET
reader - Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running. - PH_
RET_ W - Field
PH_RET
writer - Retard the phase of the counter by 1 count, while it is running.
Self-clearing. Write a 1, and poll until low. Counter must be running. - R
- Register
CSR
reader - W
- Register
CSR
writer