The DIO Driver provides services for reading and writing to/from
- DIO Channels (GPIO Pins)
- DIO Ports (GPIO whole Registers)
- DIO Channel Groups (GPIO register submask)
This specification is applicable to drivers only for on chip DIO pins and ports
This module works on pins and ports which are configured by the PORT driver for this purpose.
For this reason, there is no configuration and initialization of this port structure in the DIO Driver
- See also
- DIO Configuration
◆ DIO_SW_MAJOR_VERSION
#define DIO_SW_MAJOR_VERSION (10U) |
Driver Implementation Major Version.
◆ DIO_SW_MINOR_VERSION
#define DIO_SW_MINOR_VERSION (0U) |
Driver Implementation Minor Version.
◆ DIO_SW_PATCH_VERSION
#define DIO_SW_PATCH_VERSION (0U) |
Driver Implementation Patch Version.
◆ DIO_AR_RELEASE_MAJOR_VERSION
#define DIO_AR_RELEASE_MAJOR_VERSION (4U) |
AUTOSAR Major version specification implemented by DIO Driver.
◆ DIO_AR_RELEASE_MINOR_VERSION
#define DIO_AR_RELEASE_MINOR_VERSION (3U) |
AUTOSAR Minor version specification implemented by DIO Driver.
◆ DIO_AR_RELEASE_REVISION_VERSION
#define DIO_AR_RELEASE_REVISION_VERSION (1U) |
AUTOSAR Patch version specification implemented by DIO Driver.
◆ DIO_VENDOR_ID
#define DIO_VENDOR_ID ((uint16) 44U) |
Texas Instruments Vendor ID.
◆ DIO_MODULE_ID
#define DIO_MODULE_ID ((uint16) 120U) |
◆ DIO_E_PARAM_INVALID_CHANNEL_ID
#define DIO_E_PARAM_INVALID_CHANNEL_ID (0x0AU) |
ERROR:API service called with invalid channel ID.
◆ DIO_E_PARAM_INVALID_PORT_ID
#define DIO_E_PARAM_INVALID_PORT_ID (0x14U) |
ERROR:API service called with invalid port ID.
◆ DIO_E_PARAM_INVALID_GROUP
#define DIO_E_PARAM_INVALID_GROUP (0x1FU) |
ERROR:API service called with invalid channel group ID.
◆ DIO_E_PARAM_POINTER
#define DIO_E_PARAM_POINTER (0x20U) |
◆ DIO_SID_READ_CHANNEL
#define DIO_SID_READ_CHANNEL (0U) |
◆ DIO_SID_WRITE_CHANNEL
#define DIO_SID_WRITE_CHANNEL (1U) |
◆ DIO_SID_READ_PORT
#define DIO_SID_READ_PORT (2U) |
◆ DIO_SID_WRITE_PORT
#define DIO_SID_WRITE_PORT (3U) |
◆ DIO_SID_READ_CHL_GROUP
#define DIO_SID_READ_CHL_GROUP (4U) |
◆ DIO_SID_WRITE_CHL_GROUP
#define DIO_SID_WRITE_CHL_GROUP (5U) |
◆ DIO_SID_FLIP_CHANNEL
#define DIO_SID_FLIP_CHANNEL (7U) |
◆ DIO_SID_GET_VERSION_INFO
#define DIO_SID_GET_VERSION_INFO (18U) |
◆ DIO_PORT_WIDTH
#define DIO_PORT_WIDTH (32U) |
Width of GPIO register in this platform not to be modified.
◆ DIO_MCAL_2139_FIXED
#define DIO_MCAL_2139_FIXED (0U) |
Read back issue in Maxwell is resolved or not.