Raptor:PWM Output: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
 
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]


[[Raptor:Input & Output|Return to Input & Output page]]
[[Raptor:Input & Output|Return to Input & Output page]]


[[File:RaptorPWMOutput.jpg|right|frame|Raptor PWM Output]]
[[File:RaptorPWMOutput.jpg|right|frame|Raptor™ PWM Output]]


== Description ==
== Description ==
Line 22: Line 22:
| uint32
| uint32
| The frequency of the output in 0.01Hz. For example raw value 40000 = 400Hz.
| The frequency of the output in 0.01Hz. For example raw value 40000 = 400Hz.
|}
== Outputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Output
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}
|}


Line 47: Line 39:
| Specifies the type of driver to be used on the selected output.
| Specifies the type of driver to be used on the selected output.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 13:23, 14 September 2023

Return to the main Raptor page

Return to Input & Output page

Raptor™ PWM Output

Description

This block sets the state of the selected PWM output. PWM (pulse width modulation) is typically used similar to an analog output.

Inputs

Input Type Description
Duty Cycle uint16 The duty cycle of the output in 0.01%. For example raw value 500 = 5%.
Frequency uint32 The frequency of the output in 0.01Hz. For example raw value 40000 = 400Hz.

Parameters

Parameter Type Description
Hardware Resource Specifies which input from the hardware is being read.
Driver Type Specifies the type of driver to be used on the selected output.