AM62Px MCU+ SDK  09.01.00
csl_types.h File Reference

Introduction

This file contains the Register Desciptions for CSL types.

Go to the source code of this file.

Macros

#define NULL   (0)
 Define NULL if not defined. More...
 
#define NULL_PTR   ((void *)0)
 
CSL Types

CSL data types.

#define TRUE   (1)
 
#define FALSE   (0)
 
#define CSL_TRUE   (1U)
 
#define CSL_FALSE   (0U)
 
CSL Error Types

CSL function return error codes.

#define CSL_PASS   ( (int32_t) (0))
 
#define CSL_EFAIL   (-(int32_t) (1))
 
#define CSL_EBADARGS   (-(int32_t) (2))
 
#define CSL_EINVALID_PARAMS   (-(int32_t) (3))
 
#define CSL_ETIMEOUT   (-(int32_t) (4))
 
#define CSL_EOUT_OF_RANGE   (-(int32_t) (5))
 
#define CSL_EUNSUPPORTED_CMD   (-(int32_t) (6))
 
#define CSL_EUNSUPPORTED_OPS   (-(int32_t) (7))
 
#define CSL_EALLOC   (-(int32_t) (8))
 

Typedefs

typedef int32_t CSL_ErrType_t
 CSL error type. More...
 

Macro Definition Documentation

◆ TRUE

#define TRUE   (1)

◆ FALSE

#define FALSE   (0)

◆ CSL_TRUE

#define CSL_TRUE   (1U)

◆ CSL_FALSE

#define CSL_FALSE   (0U)

◆ CSL_PASS

#define CSL_PASS   ( (int32_t) (0))

◆ CSL_EFAIL

#define CSL_EFAIL   (-(int32_t) (1))

◆ CSL_EBADARGS

#define CSL_EBADARGS   (-(int32_t) (2))

◆ CSL_EINVALID_PARAMS

#define CSL_EINVALID_PARAMS   (-(int32_t) (3))

◆ CSL_ETIMEOUT

#define CSL_ETIMEOUT   (-(int32_t) (4))

◆ CSL_EOUT_OF_RANGE

#define CSL_EOUT_OF_RANGE   (-(int32_t) (5))

◆ CSL_EUNSUPPORTED_CMD

#define CSL_EUNSUPPORTED_CMD   (-(int32_t) (6))

◆ CSL_EUNSUPPORTED_OPS

#define CSL_EUNSUPPORTED_OPS   (-(int32_t) (7))

◆ CSL_EALLOC

#define CSL_EALLOC   (-(int32_t) (8))

◆ NULL

#define NULL   (0)

Define NULL if not defined.

◆ NULL_PTR

#define NULL_PTR   ((void *)0)

Typedef Documentation

◆ CSL_ErrType_t

typedef int32_t CSL_ErrType_t

CSL error type.