15.3 Registers
There are two categories of Special Function Registers (SFRs) used to control the operation of the PWM module:
- Common, shared by all PWM Generators
- PWM Generator-specific. Auxiliary PWM generators that operate identically to primary PWM Generators, but provide a total increase in number of PWM generators.
An ‘x’ in the register name denotes an instance of a PWM Generator.
A ‘y’ in the register name denotes an instance of a common function. An optional ‘w’ in the register name denotes an instance of an Auxiliary PWM Generator.
The LOCK bit in the PCLKCON register may be set in software to block writes to certain registers and bits (see PWM Generator (PG) Features for more information). Writes to certain data and control registers are not safe at certain times of a PWM cycle or when the module is enabled.
