1.4.3.1 PAL_STATUS Enum

C

typedef enum {
    PAL_STATUS_UNINITIALIZED = SYS_STATUS_UNINITIALIZED,
    PAL_STATUS_BUSY = SYS_STATUS_BUSY,
    PAL_STATUS_READY = SYS_STATUS_READY,
    PAL_STATUS_ERROR = SYS_STATUS_ERROR,
    PAL_STATUS_INVALID_OBJECT = SYS_STATUS_ERROR_EXTENDED - 1,
} PAL_STATUS;

Summary

Identifies the current status/state of the PAL module.

Description

This enumeration identifies the current status/state of the PAL module.

Remarks

This enumeration is the return type for the PAL_Status routine. The upper layer must ensure that PAL_Status returns PAL_STATUS_READY before performing PAL operations.