1.2.17.17 1.3.19.17 1.4.17.17 1.5.18.17 1.29.18.17 1.30.13.17 1.31.13.17 1.32.20.17 1.33.13.17 1.37.14.17 1.38.17.17 1.39.14.17 1.40.16.17 PORT_GroupOutputEnable Function
C
void PORT_GroupOutputEnable(PORT_GROUP group, uint32_t mask)
Summary
Configures the selected IO pins of a group as output.
Description
This function configures the selected IO pins of a group as output. The pins to be configured as output are selected by setting the corresponding bits in the mask parameter to 1.
Precondition
The PORT_Initialize() function should have been called.
Parameters
Param | Description |
---|---|
group | One or more of the of the IO ports from the enum PORT_GROUP. |
mask | A 32 bit value in which a bit represents a pin in the group. If the value of the bit is 1, the corresponding port pin will be configured as output. If the value of the bit is 0. the corresponding port pin will stay unaffected. |
Returns
None.
Example
// Make PC5 and PC7 pins as output PORT_GroupOutputEnable(PORT_GROUP_C, 0x00A0);
Remarks
None.