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_INVreader - Invert output A - A_INV_W
- Field
A_INVwriter - Invert output A - B_INV_R
- Field
B_INVreader - Invert output B - B_INV_W
- Field
B_INVwriter - Invert output B - DIVMODE_
R - Field
DIVMODEreader - - DIVMODE_
W - Field
DIVMODEwriter - - EN_R
- Field
ENreader - Enable the PWM channel. - EN_W
- Field
ENwriter - Enable the PWM channel. - PH_
ADV_ R - Field
PH_ADVreader - 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_ADVwriter - 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_CORRECTreader - 1: Enable phase-correct modulation. 0: Trailing-edge - PH_
CORRECT_ W - Field
PH_CORRECTwriter - 1: Enable phase-correct modulation. 0: Trailing-edge - PH_
RET_ R - Field
PH_RETreader - 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_RETwriter - 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
CSRreader - W
- Register
CSRwriter