# CMSIS Drivers Reference Macro Definition Documentation

## ARM_DRIVER_VERSION_MAJOR_MINOR

#define ARM_DRIVER_VERSION_MAJOR_MINOR (((major) << 8) | (minor))

Driver API Version.

Location: Driver_Common.h:54

## ARM_DRIVER_OK

#define ARM_DRIVER_OK 0

General return codes

Operation succeeded

Location: Driver_Common.h:65

## ARM_DRIVER_ERROR

#define ARM_DRIVER_ERROR -1

Unspecified error.

Location: Driver_Common.h:66

## ARM_DRIVER_ERROR_BUSY

#define ARM_DRIVER_ERROR_BUSY -2

Driver is busy.

Location: Driver_Common.h:67

## ARM_DRIVER_ERROR_TIMEOUT

#define ARM_DRIVER_ERROR_TIMEOUT -3

Timeout occurred.

Location: Driver_Common.h:68

## ARM_DRIVER_ERROR_UNSUPPORTED

#define ARM_DRIVER_ERROR_UNSUPPORTED -4

Operation not supported.

Location: Driver_Common.h:69

## ARM_DRIVER_ERROR_PARAMETER

#define ARM_DRIVER_ERROR_PARAMETER -5

Parameter error.

Location: Driver_Common.h:70

## ARM_DRIVER_ERROR_SPECIFIC

#define ARM_DRIVER_ERROR_SPECIFIC -6

Start of driver specific errors.

Location: Driver_Common.h:71