|
Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
|
#include <stdint.h>

Go to the source code of this file.
Macros | |
Status Code Composition and Decomposition | |
| #define | PTX_STATUS(_comp_, _st_) ((ptxStatus_t)((((ptxStatus_t)((uint16_t)_comp_))<<8)|((ptxStatus_t)(((uint16_t)_st_)&0xFFu)))) /* */ |
| #define | PTX_GET_COMP(_cst_) ((ptxStatus_Comps_t)((uint8_t)((_cst_)>>8))) /* */ |
| #define | PTX_GET_STATUS(_cst_) ((ptxStatus_Values_t)((uint8_t)((_cst_)))) /* */ |
| #define | ptxStatus_Success PTX_STATUS(ptxStatus_Comp_None,ptxStatus_Success_Internal) /* */ |
Component check | |
| #define | PTX_COMP_CHECK(ptx_p_ctx, ptx_p_comp_id_) ((NULL!=ptx_p_ctx)&&(ptx_p_comp_id_==ptx_p_ctx->CompId)) /* */ |
| Check whether the component is not NULL and actually what is appears to be. | |
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. | |
SPDX-License-Identifier: BSD-3-Clause
Copyright (c) 2026, Renesas Electronics Corporation and/or its affiliates
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY Renesas "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RENESAS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
Project : PTX1K Module : COMPS File : ptx_Status.h
Description :