1.2.17.11 1.3.19.11 1.4.17.11 1.5.18.11 1.29.18.11 1.30.13.11 1.31.13.11 1.32.20.11 1.33.13.11 1.37.14.11 1.38.17.11 1.39.14.11 1.40.16.11 PORT_GroupLatchRead Function
C
uint32_t PORT_GroupLatchRead(PORT_GROUP group)
Summary
Read the data driven on all the I/O pins of the selected port group.
Description
The function will return a 32-bit value representing the logic levels being driven on the output pins within the group. The function will not sample the actual hardware state of the output pin. Each bit in the 32-bit return value will represent one of the 32 port pins within the group. The application should only consider the value of the pins which are available on the device.
Precondition
The PORT_Initialize() function should have been called.
Parameters
Param | Description |
---|---|
group | One of the IO groups from the enum PORT_GROUP. |
Returns
A 32-bit value representing the output state of of all the I/O pins in the selected port group.
Example
uint32_t value; value = PORT_GroupLatchRead(PORT_GROUP_C);
Remarks
None.