Main Content
PWM Write
Send pulse width modulation (PWM) signal configuration to PWM Interface block
Since R2020b
Libraries:
SoC Blockset /
Processor I/O
Description
The PWM Write block sets the duty cycle for a PWM peripheral. In simulation, the block passes through the duty cycle input to drive the PWM Interface block that simulates the PWM switching signals produced by the hardware. When deployed to hardware, the PWM Write block writes to the appropriate PWM drivers on the hardware.
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2020b