1.3.3.5 DLL_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;

Summary

Defines the current status of the PAL module.

Description

This enumeration defines the status of the PAL module:
  • PAL_STATUS_UNINITIALIZED: PAL module has not been initialized.
  • PAL_STATUS_BUSY: PAL module is performing initialization duties.
  • PAL_STATUS_READY: PAL module is ready to be used.
  • PAL_STATUS_ERROR: PAL module is in an error status and needs to be reinitialized.

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.