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.
Data direction | Parameter name | Description |
---|---|---|
[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.