Raptor:Frequency Input Block

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to Input & Output page

Raptor™ Frequency Input

Description

This block reads the value of a frequency input. Some modules also support duty cycle measurement and/or edge count measurement through this input. Support of duty cycle and edge-count measurement is hardware-specific (if parameters to enable ports for these features don't appear in the block mask, these features are not supported by the module).

Outputs

Output Type Description
Frequency Input uint32 The frequency of the selected input in 0.01Hz. For example, a raw value of 1000 = 10Hz
Duty Cycle uint16 The duty cycle of the selected input in 0.01%. For example, a raw value of 5000 = 50% duty cycle.
Edge Count uint32 The number of edges detected on the selected input since the previous time this block was triggered.

Parameters

Parameter Type Description
Hardware Resource Specifies which input from the hardware is being read.
Pull Up/Down Specifies pull up/down resistor for input on modules which support this function.
Duty Cycle Measurement Enables duty cycle measurement on inputs and modules which support this function.
Edge Count Checkbox Enables edge count measurement on inputs and modules which support this function.