13.6.3.1.3 Function port_group_get_output_level()

Retrieves the state of a group of port pins that are configured as outputs.

uint32_t port_group_get_output_level( const PortGroup *const port, const uint32_t mask)

Reads the current logical output level of a port module's pins and returns the current levels as a bitmask.

Table 13-5. Parameters
Data directionParameter nameDescription

[in]

port

Base of the PORT module to read from

[in]

mask

Mask of the port pin(s) to read

Returns

Status of the port pin(s) output buffers.