Detailed Api Specification - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

cmd
QT_READ_CONTROL_REG
QT_READ_STATUS_CONTROL_
REG
QT_READ_CMP_STATUS_
CONTROL_REG
QT_READ_COMPARE_REG1
QT_READ_COMPARE_REG2
QT_READ_LOAD_REG
QT_READ_COUNTER_REG
QT_READ_CAPTURE_REG
QT_READ_HOLD_REG
only on MC56F802x/3x:
QT0_MASS_ENABLE
(only applicable to timer channel 0)
only on MC56F802x/3x:
QT0_MASS_DISABLE
(only applicable to timer channel 0)
only on MC56F802x/3x:
QT_READ_FILT_REG
only on MC56F802x/3x:
QT_WRITE_FILT_REG
5.20.3

Detailed API Specification

The detailed functionality of all ioctl commands is explained in this section. The code example
illustrates the usage of the ioctl commands.
FREESCALE SEMICONDUCTOR
Table 5-731. ioctl commands (Continued)
param / pParam
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
QT_CH0 | QT_CH1 | QT_CH2 | QT_CH3
QT_CH0 | QT_CH1 | QT_CH2 | QT_CH3
NULL
UWord16
Targeting 56F8xxx Platform
Return
Description
UWord16
Returns the content of the
timer/counter Control Register
(TMRCTRL).
UWord16
Returns the content of the
timer/counter Status and Control
Register (TMRSCR).
UWord16
Returns the content of the Timer
Comparator Status/Control Reg-
isters (TMRCOMSCR).
UWord16
Returns the content of the
timer/counter Compare Regis-
ter 1 (TMRCMP1).
UWord16
Returns the content of the
timer/counter Compare Regis-
ter 2 (TMRCMP2).
UWord16
Returns the content of the
timer/counter Load Register
(TMRLOAD).
UWord16
Returns the content of the
timer/counter Counter Register
(TMRCNTR).
UWord16
Returns the content of the
timer/counter Capture Register
(TMRCAP).
UWord16
Returns the content of the
timer/counter Hold Register
(TMRHOLD).
None
Simultaneously enables the
selected timer channels.
None
Simultaneously disables the
selected timer channels.
UWord16
Returns value of the Input Filter
Register.
None
Writes given value to the Input
Filter Register.
5-875

Advertisement

Table of Contents
loading

Table of Contents