PWM Output
Generate Pulse Width Modulation (PWM) signals on the specified output pins
Since R2026a
Libraries:
Embedded Coder Support Package for Renesas RA Microcontrollers /
Renesas RA6 Based
Description
The PWM Output block generates Pulse Width Modulation (PWM) signals using the General PWM Timer (GPT) stack of Renesas RA microcontrollers. The block allows you to configure the PWM period and duty cycle, and select the output pins for signal generation.
The block provides several key features for PWM signal generation.
The GPT stack name parameter lets you select the GPT stack instance.
The Select output pins parameter allows you to choose whether the PWM signal is output on GTIOCA, GTIOCB, or both pins simultaneously. When you select both pins, the block applies the same duty cycle and enable/disable value to both outputs.
Optionally, you can add input ports to dynamically set the PWM period, duty ratio, or enable or disable channel outputs during simulation.
Examples
Ports
Input
Output
Parameters
Version History
Introduced in R2026a

