13.6.3.2.3 Function port_group_set_config()
Writes a Port group configuration group to the hardware module.
void port_group_set_config( PortGroup *const port, const uint32_t mask, const struct port_config *const config)
Writes out a given configuration of a Port group configuration to the hardware module.
Note: If the pin direction is set as an output, the pull-up/pull-down input configuration setting is ignored.
Data direction | Parameter name | Description |
---|---|---|
[out] | port |
Base of the PORT module to write to |
[in] | mask |
Mask of the port pin(s) to configure |
[in] | config |
Configuration settings for the pin group |