Renesas PTX1xxR IoT-Reader API (non-OS) Version 7.3.1
Renesas Software Stack for IoT-Reader Applications (non-OS)
Typedefs | Enumerations
ptxStatus.h File Reference
#include <stdint.h>
Include dependency graph for ptxStatus.h:
This graph shows which files directly or indirectly include this file:

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)))) /* */
 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.
 
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.
 

Enumerations

enum  ptxStatus_Values {
  ptxStatus_Success_Internal , ptxStatus_InvalidParameter , ptxStatus_InternalError , ptxStatus_Reserved_0x03 ,
  ptxStatus_NotImplemented , ptxStatus_TimeOut , ptxStatus_InsufficientResources , ptxStatus_Reserved_0x07 ,
  ptxStatus_InterfaceError , ptxStatus_NscProtocolError , ptxStatus_NoDataAvailable , ptxStatus_NotPermitted ,
  ptxStatus_InvalidState , ptxStatus_Reserved_0x0D , ptxStatus_Reserved_0x0E , ptxStatus_Reserved_0x0F ,
  ptxStatus_Reserved_0x10 , ptxStatus_NscRfError , ptxStatus_NotSupported , ptxStatus_SysErrOvertemperature ,
  ptxStatus_AssertionError , ptxStatus_AccessDenied , ptxStatus_ACKError , ptxStatus_SysErrOvercurrent ,
  ptxStatus_ProtocolError , ptxStatus_ResourceNotFound , ptxStatus_NotFound , ptxStatus_BufferTooSmall ,
  ptxStatus_MFCC_NAK_Received , ptxStatus_MFCC_AUTHENT_Failed , ptxStatus_T3T_WriteFlagSet , ptxStatus_Reserved_0x1A ,
  ptxStatus_Reserved_0x1B , ptxStatus_Reserved_0x1C , ptxStatus_Reserved_0x1D , ptxStatus_Reserved_0x1E ,
  ptxStatus_Reserved_0x1F , ptxStatus_MAX
}
 Status Code Definitions. More...
 
enum  ptxStatus_Comps {
  ptxStatus_Comp_None , ptxStatus_Comp_NSC , ptxStatus_Comp_POS , ptxStatus_Comp_PLAT ,
  ptxStatus_Comp_IoTReader , ptxStatus_Comp_IOTHce , ptxStatus_Comp_TCP , ptxStatus_Comp_WLCE ,
  ptxStatus_Comp_WLCE_PERIPH , ptxStatus_Comp_WLCN , ptxStatus_Comp_WLCN_PERIPH , ptxStatus_Comp_WPT ,
  ptxStatus_Comp_PERIPH , ptxStatus_Comp_Reserved_01 , ptxStatus_Comp_NativeTag_T2T , ptxStatus_Comp_NativeTag_T3T ,
  ptxStatus_Comp_NativeTag_T4T , ptxStatus_Comp_NativeTag_T5T , ptxStatus_Comp_NativeTag_MFCC , ptxStatus_Comp_Reserved_02 ,
  ptxStatus_Comp_T2TOP , ptxStatus_Comp_T3TOP , ptxStatus_Comp_T4TOP , ptxStatus_Comp_T5TOP ,
  ptxStatus_Comp_NDEF , ptxStatus_Comp_WLCD , ptxStatus_Comp_PMU , ptxStatus_Comp_REMOTE ,
  ptxStatus_Comp_WLCD_PERIPH , ptxStatus_Comp_SUPPORT , ptxStatus_Comp_WLCE_ALPHA , ptxStatus_Comp_GPIO ,
  ptxStatus_Comp_FELICA_DTE , ptxStatus_Comp_RF_TEST , ptxStatus_Comp_FELICA , ptxStatus_Comp_TransparentMode ,
  ptxStatus_Comp_TDC , ptxStatus_Comp_EXT , ptxStatus_Comp_MAX
}
 Component Definitions. More...
 

Detailed Description

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:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of Renesas nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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

OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Project : PTX1K Module : Status File : ptxStatus.h

Description :