20#define DIO_STATIC static
31#define DIO_ID_READ_CHANNEL 0x00u
32#define DIO_ID_WRITE_CHANNEL 0x01u
33#define DIO_ID_READ_PORT 0x02u
34#define DIO_ID_WRITE_PORT 0x03u
35#define DIO_ID_READ_CHANNEL_GRP 0x04u
36#define DIO_ID_WRITE_CHANNEL_GRP 0x05u
37#define DIO_ID_GET_VERSION_INFO 0x12u
38#define DIO_ID_FLIP_CHANNEL 0x11u
39#define DIO_ID_MASKED_WRITE_PORT 0x13u
49#define DIO_E_PARAM_INVALID_CHANNEL_ID 0x0Au
50#define DIO_E_PARAM_INVALID_PORT_ID 0x14u
51#define DIO_E_PARAM_INVALID_GROUP 0x1Fu
52#define DIO_E_PARAM_POINTER 0x20u
uint32 Dio_PortLevelType
The type for the value of a DIO port.
Definition Dio_Types.h:95
struct _Dio_ConfigType Dio_ConfigType
Global configuration structures with all the channels and groups.
uint8 Dio_LevelType
The type for the possible levels that a DIO channel can have (input or output).
Definition Dio_Types.h:84
uint8 Dio_PortType
Parameters of type Dio_PortType contain the numeric ID of a DIO port.
Definition Dio_Types.h:75
uint8 Dio_ChannelType
Parameters of type Dio_ChannelType contain the numeric ID of a DIO channel.
Definition Dio_Types.h:65
struct _Dio_PinType Dio_PinType
Type for the definitions of a Pin wicch is made of port and pin number.
Specification of Standard Types
Type for the definition of a channel group, which consists of several adjoining channels within a por...
Definition Dio_Types.h:104
uint8 offset
Definition Dio_Types.h:107
Dio_PortType port
Definition Dio_Types.h:109
uint8 mask
Definition Dio_Types.h:105
Global configuration structures with all the channels and groups.
Definition Dio_Types.h:127
const Dio_PinType * Channels
Definition Dio_Types.h:129
uint8 NumberOfPorts
Definition Dio_Types.h:128
uint8 NumberOfGroups
Definition Dio_Types.h:132
const Dio_ChannelGroupType * Groups
Definition Dio_Types.h:131
uint8 NumberOfChannels
Definition Dio_Types.h:130
Type for the definitions of a Pin wicch is made of port and pin number.
Definition Dio_Types.h:117
uint8 Pin
Definition Dio_Types.h:118
Dio_PortType Port
Definition Dio_Types.h:119