Sets the state of a group of port pins that are configured as outputs.
void port_group_set_output_level( PortGroup *const port, const uint32_t mask, const uint32_t level_mask)
Sets the current output level of a port module's pins to a given logic level.
| Data direction | Parameter name | Description |
|---|---|---|
[out] |
port |
Base of the PORT module to write to |
[in] |
mask |
Mask of the port pin(s) to change |
[in] |
level_mask |
Mask of the port level(s) to set |