Detailed Api Specification - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

Cmd
HSCMP_SET_OUTPUT_
ACTIVE
HSCMP_INT_RISING_EDGE
HSCMP_INT_FALLING_EDGE
HSCMP_TEST_INT_FLAGS
HSCMP_CLEAR_INT_FLAGS
HSCMP_TEST_OUTPUT
HSCMP_WRITE_FILT_
COUNTER
HSCMP_READ_FILT_
COUNTER
HSCMP_WRITE_FILT_REG
HSCMP_READ_FILT_REG
5.23.3

Detailed API Specification

The detailed functionality of all ioctl commands is explained in this section. The code examples
illustrate the usage of the ioctl commands.
5-966
Table 5-812. ioctl commands (Continued)
param
HSCMP_ENABLE /
HSCMP_DISABLE
HSCMP_ENABLE /
HSCMP_DISABLE
HSCMP_ENABLE /
HSCMP_DISABLE
HSCMP_FLAG_RISING_
EDGE |
HSCMP_FLAG_FALLING_
EDGE
HSCMP_FLAG_RISING_
EDGE |
HSCMP_FLAG_FALLING_
EDGE
NULL
HSCMP_FILT_COUNTER_0 /
HSCMP_FILT_COUNTER_1 /
HSCMP_FILT_COUNTER_2 /
HSCMP_FILT_COUNTER_3 /
HSCMP_FILT_COUNTER_4 /
HSCMP_FILT_COUNTER_5 /
HSCMP_FILT_COUNTER_6 /
HSCMP_FILT_COUNTER_7
NULL
UWord16
NULL
Targeting 56F8xxx Platform
Return
Description
None
Enables or disables comparator
output.
None
Enables or disables rising edge
comparator interrupts.
None
Enables or disables falling edge
comparator interrupts.
UWord16
Reads interrupt pending flags.
None
Clears interrupt request flags.
UWord16
Gets actual comparator output
value (can be used for a
zero/non-zero testing only)
None
Writes filter sample count value.
None
Reads filter sample count value.
None
Writes comparator output filter
register.
UWord16
Reads comparator output filter
register.
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents