FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Util

Macros

#define MAKE_VERSION(major, minor, bugfix)
 Construct a status code value from a group and code number. More...
 
#define MAKE_STATUS(group, code)
 Construct the version number for drivers. More...
 
#define ARRAY_SIZE(x)
 Computes the number of elements in an array. More...
 

Typedefs

typedef int32_t status_t
 Type used for all status and error return values. More...
 

Enumerations

enum  _status_groups
 Status group numbers. More...
 
enum  _generic_status
 Generic status return codes. More...
 

Variables

uint32_t cluster_is_on
 

Description

Macro Definition Documentation

#define ARRAY_SIZE (   x)
#define MAKE_STATUS (   group,
  code 
)
#define MAKE_VERSION (   major,
  minor,
  bugfix 
)

Typedef Documentation

typedef int32_t status_t

Enumeration Type Documentation

Enumerator
uStatus_Success 
uStatus_Fail 
uStatus_ReadOnly 
uStatus_OutOfRange 
uStatus_InvalidArgument 
uStatus_Timeout 
uStatus_NoTransferInProgress 
Enumerator
uStatusGroup_Generic 

Group number for generic status codes.

uStatusGroup_SPI 

Group number for SPI status codes.

uStatusGroup_UART 

Group number for UART status codes.

uStatusGroup_I2C 

Group number for I2C status codes.

uStatusGroup_SAI 

Group number for I2S status codes.

uStatusGroup_CPI 

Group number for CPI status codes.

uStatusGroup_RTC 

Group number for RTC status codes.

uStatusGroup_NOTIFIER 

Group number for NOTIFIER status codes.

uStatusGroup_DebugConsole 

Group number for debug console status codes.

uStatusGroup_ApplicationRangeStart 

Starting number for application groups.

Variable Documentation

uint32_t cluster_is_on

Referenced by pi_cluster_is_on().