Declaration of fundamental PWM parameters. More...
Modules | |
User Settings | |
Parameter definitions using physical quantities. | |
Conversion Macros | |
Conversion macros converting physical quantities of parameters into binary (integer) numbers for registers and variables. | |
Microcontroller Abstraction | |
PWM peripheral output pins, control signals and register assignments. | |
Declaration of fundamental PWM parameters.
This section defines fundamental PWM settings required for the interleaved buck converter of the Digital Power Starter Kit 3. This design requires one PWM generator, generating a complementary, fixed frequency PWM waveform to commutate the switching nodes of the synchronous buck converter topology. A second PWM channel is used to commutate the switch node of the asynchronous boost converter using a single-ended PWM output.
These settings are determined by the hardware pinout and the target device used. Users can modify high level parameters such as PWM switching frequency and dead times by using physical quantities. Pre-compiler macros are used to automatically convert physical values into binary (integer) numbers at compile time to be written to variables and/or Special Function Registers (SFR) at runtime.
This section is also used to assign peripheral instances to the device pins used as PWM generator outputs. This includes timing parameter registers, interrupt sources, ADC trigger signals and output pin control registers.