13.6.3.1.4 Function port_group_set_output_level()

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.

Table 13-6. Parameters
Data directionParameter nameDescription

[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