|
Renesas PTX1xxR IoT-Reader API (non-OS) Version 7.3.1
Renesas Software Stack for IoT-Reader Applications (non-OS)
|

Typedefs | |
| typedef uint16_t | ptxStatus_t |
| Status Type. | |
| typedef enum ptxStatus_Values | ptxStatus_Values_t |
| Status Code Definitions. | |
| typedef enum ptxStatus_Comps | ptxStatus_Comps_t |
| Component Definitions. | |
Status Code Composition and Decomposition | |
| #define | PTX_STATUS(_comp_, _st_) ((ptxStatus_t)((((ptxStatus_t)((uint16_t)_comp_))<<8)|((ptxStatus_t)(((uint16_t)_st_)&0xFFu)))) /* */ |
| Put together component ID and status into one value. | |
| #define | PTX_GET_COMP(_cst_) ((ptxStatus_Comps_t)((uint8_t)((_cst_)>>8))) /* */ |
| Get component ID from a combined status value. | |
| #define | PTX_GET_STATUS(_cst_) ((ptxStatus_Values_t)((uint8_t)((_cst_)))) /* */ |
| Get status code from a combined status value. | |
| #define | ptxStatus_Success PTX_STATUS(ptxStatus_Comp_None,ptxStatus_Success_Internal) /* */ |
| Status value composition for SUCCESSFUL operation. | |
| #define PTX_STATUS | ( | _comp_, | |
| _st_ ) ((ptxStatus_t)((((ptxStatus_t)((uint16_t)_comp_))<<8)|((ptxStatus_t)(((uint16_t)_st_)&0xFFu)))) /* */ |
Put together component ID and status into one value.
| typedef enum ptxStatus_Comps ptxStatus_Comps_t |
Component Definitions.
Common usage of component definitions: => Create ptxStatus_t type => Inside function calls with PTX_COMP_CHECK to check that component is not NULL and that it is set as expected i.e. properly initialized.
| typedef uint16_t ptxStatus_t |
Status Type.
Status of the operation consists of 2 parts: component ID ptxStatus_Comps_t and status code ptxStatus_Values_t. Component ID defines which stack component is the owner of the operation. Status code holds actual operation result/status information.
| enum ptxStatus_Comps |
Component Definitions.
Common usage of component definitions: => Create ptxStatus_t type => Inside function calls with PTX_COMP_CHECK to check that component is not NULL and that it is set as expected i.e. properly initialized.
| enum ptxStatus_Values |
Status Code Definitions.