Component: Output PWM (DSP)

From Flowcode Help
Revision as of 13:27, 17 November 2021 by Wiki bot (talk | contribs)
Jump to navigationJump to search
Author Matrix Ltd
Version 1.2
Category DSP


Output PWM component

Allows the values from a buffer to be passed directly to an internal PWM output.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

Fc9-comp-macro.png OutputPWM
Outputs a single value from the input buffer appropriatley scaled to suit the PWM. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png OutputPWMArray
Outputs an array of values from the input buffer appropriatley scaled to suit the PWM. 
Fc9-u16-icon.png - UINT Delay
Delay in microseconds between outputting each sample. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png ControlPWM
Enable or disable the PWM output, Disabled by default. 
Fc9-bool-icon.png - BOOL State
0=Disable, 1=Enable 
Fc9-void-icon.png - VOID Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-17-icon.png Connect To
 
Fc9-type-16-icon.png Channel
PWM Channel selector 
Fc9-type-16-icon.png Alt Pin Enable
Alternative Pin Enable (if available on target device) 
Fc9-type-5-icon.png Port
 
Fc9-type-14-icon.png Period Register
PWM Period Register value 
Fc9-type-16-icon.png Prescaler Divide
Prescaler Divider value 
Fc9-type-16-icon.png PWM Timer
Timer associated with PWM to drive the output. Warning - All PWM channels linked to the same timer will share the same period and prescaler settings. 
Fc9-type-15-icon.png Period (uS)
 
Fc9-type-15-icon.png Frequency (KHz)
 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations