Detailed Api Specification - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

Cmd
GPIO_READ_DATA
GPIO_WRITE_DATA
GPIO_READ_INT_PENDING_REG
GPIO_GET_INT_PENDING_FLAG
GPIO_TEST_INT_PENDING
MC56F83xx ,MC56F801x, MC56F802x/3x
only:
GPIO_SETAS_PUSHPULL
MC56F83xx ,MC56F801x, MC56F802x/3x
only:
GPIO_SETAS_OPENDRAIN
GPIO_READ_RAW_DATA
MC56F80xx only:
GPIO_SET_HIGH_DRIVE_STRENGTH
MC56F80xx only:
GPIO_SET_LOW_DRIVE_STRENGTH
MC56F800x only:
GPIO_SET_LOW_PASS_FILTER_ENABLE
MC56F800x only:
GPIO_SET_LOW_PASS_FILTER_DISABLE
MC56F800x only:
GPIO_SET_LOW_SLEW_RATE_ENABLE
MC56F800x only:
GPIO_SET_LOW_SLEW_RATE_DISABLE
5.8.3

Detailed API Specification

The detailed functionality of all ioctl commands is explained in this section. The code examples
illustrate the ioctl commands usage.
FREESCALE SEMICONDUCTOR
Table 5-236. ioctl commands (Continued)
pParam
None
UWord16
None
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
NULL
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
BIT_0 | BIT_1 |
... | BIT_15
Targeting 56F8xxx Platform
Return
Description
UWord16
Reads from the selected GPIO
port.
None
Writes to the selected GPIO
port.
UWord16
Reads GPIO Interrupt Pending
Register.
UWord16
Gets the selected GPIO inter-
rupt pending flag(s).
UWord16
Tests the selected GPIO inter-
rupt pending flag(s).
None
Sets the output driver of the
selected GPIO pins to push-pull
mode.
None
Sets the output driver of the
selected GPIO pins to open
drain mode.
UWord16
Reads the logic value of each
GPIO pin on the selected port.
None
Sets the high strength of the
selected output driver.
None
Sets the low strength of the
selected output driver.
None
Enables input low pass filter
None
Disables input low pass filter
None
Enables slew rate on selected
GPIO pins
None
Disables slew rate on selected
GPIO pins
5-311

Advertisement

Table of Contents
loading

Table of Contents