MCUSW
Dio_ChannelGroupType Struct Reference

Detailed Description

Type definition for identifying channel groups (meaning a set of pins in one port)

Data Fields

Dio_PortType port
 
Dio_PortLevelType mask
 
uint8 offset
 

Field Documentation

◆ port

Dio_PortType Dio_ChannelGroupType::port

port ID of a channel group

◆ mask

Dio_PortLevelType Dio_ChannelGroupType::mask

bitmask where a '1' represents a pin handled by this channel group

◆ offset

uint8 Dio_ChannelGroupType::offset

shifts channel group values, so it is always "right" aligned