Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
Data Structures | Typedefs | Enumerations
ptxNSC_InterfaceTypes.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "ptx_Status.h"
Include dependency graph for ptxNSC_InterfaceTypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ptxNSC_Event
 NSC Event data. Used to notify layer above, what kind of event had happened on the NSC Component. More...
 
struct  ptxTypes_WRA
 WRA data type. More...
 
struct  ptxNSC_Init_Param
 NSC Init CMD parameter structure. More...
 
struct  ptxNSC_WriteCmd_Par
 NSC Write CMD parameter structure. More...
 
struct  ptxNSC_ReadCmd_Par
 NSC Read CMD parameter structure. More...
 
struct  ptxNSC_RfConfig_Regs
 NSC Rf Config Registers Structures. More...
 
struct  ptxNSC_RfConfig_Param
 NSC Rf Config Parameters. More...
 
struct  ptxNSC_RfActTech_A_Param
 NSC Rf Tech A Activation Parameters. More...
 
struct  ptxNSC_RfActTech_B_Param
 NSC Rf Tech B Activation Parameters. More...
 
struct  ptxNSC_RfActTech_F_Param
 NSC Rf Tech F Activation Parameters. More...
 
struct  ptxNSC_RfActTech_V_Param
 NSC Rf Tech V Activation Parameters. More...
 
union  ptxNSC_RfActTech_Param
 NSC Rf Tech Activation Parameters. More...
 
union  ptxNSC_RfActProt_ISODEP_Param
 NSC Rf Prot ISO-DEP (Type-A) Activation Parameters. More...
 
union  ptxNSC_RfActProt_Param_t
 NSC Rf Prot Activation Parameters. More...
 
struct  ptxNSC_RfActiv_Param
 NSC Rf Activate structure. More...
 
struct  ptxNSC_Discover_Param
 NSC Discover parameter structure. More...
 
struct  ptxNSC_Rf_Deact_Param
 NSC RF Deactivate Parameters. More...
 
struct  ptxNsc_RfPar_RfTech
 NSC Rf Parameter Rf Tech. More...
 
struct  ptxNsc_RfPar_Fwt
 NSC Rf Parameter Fwt. More...
 
struct  ptxNsc_RfPar_TxBitRate
 NSC Rf Parameter Tx_Bit_Rate. More...
 
struct  ptxNsc_RfPar_RxBitRate
 NSC Rf Parameter Rx_Bit_Rate. More...
 
struct  ptxNsc_RfPar_TxParity
 NSC Rf Parameter Tx_Parity. More...
 
struct  ptxNsc_RfPar_RxParity
 NSC Rf Parameter Rx_Parity. More...
 
struct  ptxNsc_RfPar_TxCRC
 NSC Rf Parameter Tx_CRC. More...
 
struct  ptxNsc_RfPar_RxCRC
 NSC Rf Parameter Rx_CRC. More...
 
struct  ptxNsc_RfPar_ResLimit
 NSC Rf Parameter Res(ponse)_Limit. More...
 
struct  ptxNsc_RfPar_TxResidualBits
 NSC Rf Parameter Tx_Residual_Bits. More...
 
struct  ptxNsc_RfPar_RfField
 NSC Rf Parameter Rf_Field. More...
 
union  ptxNsc_RfPar_Params
 Union Rf Parameters. More...
 
struct  ptxNsc_RfPar
 Rf Param. More...
 
struct  ptxNSC_RfSetParams_Par
 NSC Rf Set Parameters CMD parameter structure. More...
 
struct  ptxNSC_RfTestParams_Par
 NSC Rf Test CMD parameter structure. More...
 
struct  ptxNSC_Custom_Extension
 

Macros

Common Type of Rf Tech for the Stack
#define PTX_NSC_TYPES_TECH_A   (0x00u)
 
#define PTX_NSC_TYPES_TECH_B   (0x01u)
 
#define PTX_NSC_TYPES_TECH_F   (0x02u)
 
#define PTX_NSC_TYPES_TECH_V   (0x03u)
 
#define PTX_NSC_TYPES_TECH_POLL_A   (0x00u)
 
#define PTX_NSC_TYPES_TECH_POLL_B   (0x01u)
 
#define PTX_NSC_TYPES_TECH_POLL_F   (0x02u)
 
#define PTX_NSC_TYPES_TECH_POLL_ACT   (0x03u)
 
#define PTX_NSC_TYPES_TECH_POLL_P2P   (0x04u)
 
#define PTX_NSC_TYPES_TECH_POLL_V   (0x06u)
 
#define PTX_NSC_TYPES_TECH_LISTEN_A   (0x80u)
 
#define PTX_NSC_TYPES_TECH_LISTEN_B   (0x81u)
 
#define PTX_NSC_TYPES_TECH_LISTEN_F   (0x82u)
 
#define PTX_NSC_TYPES_TECH_LISTEN_ACT   (0x83u)
 
#define PTX_NSC_TYPES_TECH_LISTEN_P2P   (0x84u)
 
#define PTX_NSC_TYPES_TECH_LISTEN_V   (0x86u)
 
Common Type of Rf Protocol for the Stack
#define PTX_NSC_TYPES_PROT_UNDEFINED   (0x00u)
 
#define PTX_NSC_TYPES_PROT_T2T   (0x02u)
 
#define PTX_NSC_TYPES_PROT_T3T   (0x03u)
 
#define PTX_NSC_TYPES_PROT_ISODEP   (0x04u)
 
#define PTX_NSC_TYPES_PROT_NFCDEP   (0x05u)
 
#define PTX_NSC_TYPES_PROT_T5T   (0x06u)
 
#define PTX_NSC_TYPES_PROT_NDEF   (0x07u)
 
Common Types for NSC Commands
#define PTX_NSC_TYPES_WRRD_OP_MAX   (70u)
 
#define PTX_NSC_TYPES_NHOST_LEN   (4U)
 
#define PTX_NSC_TYPES_NHOSTCE_LEN   (4U)
 
#define PTX_NSC_TYPES_PRNGSEED_LEN   (4U)
 
#define PTX_NSC_TYPES_ALMMAX_LEN   (4U)
 
#define PTX_NSC_TYPES_ALMMIN_LEN   (4U)
 
#define PTX_NSC_TYPES_WAVBANK_GEN_LEN   (32U)
 
#define PTX_NSC_TYPES_WAVBANK0_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK1_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK2_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK3_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK4_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK5_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK6_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK7_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK8_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK9_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK10_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK11_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK12_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK13_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK14_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK15_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK16_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK17_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK18_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_WAVBANK19_LEN   (PTX_NSC_TYPES_WAVBANK_GEN_LEN)
 
#define PTX_NSC_TYPES_POLLBCMD_LEN   (3U)
 
#define PTX_NSC_TYPES_POLLBATTRIBINTF_LEN   (15U)
 
#define PTX_NSC_TYPES_POLLFCMD_LEN   (6U)
 
#define PTX_NSC_TYPES_POLLVCMD_LEN   (11U)
 
#define PTX_NSC_TYPES_POLLISODEPATRIB_INF_LEN   (15U)
 
#define PTX_NSC_TYPES_POLLNFCDEPATREQG_LEN   (20U)
 
#define PTX_NSC_TYPES_RFU_1_LEN   (23U)
 
#define PTX_NSC_TYPES_LISASENSRES_LEN   (2U)
 
#define PTX_NSC_TYPES_LISANFCID1_LEN   (15U)
 
#define PTX_NSC_TYPES_LISAATS_LEN   (21U)
 
#define PTX_NSC_TYPES_LISBSENSRES_LEN   (13U)
 
#define PTX_NSC_TYPES_LISBATTRIBRES_LEN   (16U)
 
#define PTX_NSC_TYPES_LISFSENSFRES_LEN   (19U)
 
#define PTX_NSC_TYPES_LISV_INVENTORYRES_LEN   (10U)
 
#define PTX_NSC_TYPES_LISNFCDEP_ATRRESG_LEN   (20U)
 
#define PTX_NSC_TYPES_SENSF_CMD_LEN   (6U)
 
#define PTX_NSC_TYPES_INVENTORY_CMD_LEN   (11U)
 
#define PTX_NSC_TYPES_INVENTORY_RES_LEN   (10U)
 
#define PTX_NSC_TYPES_IDLETIME_LEN   (3U)
 
#define PTX_NSC_MAXIMUM_NFCID1_LEN   (10u)
 
#define PTX_NSC_NFCID0_LEN   (4u)
 
#define PTX_NSC_NFCID2_LEN   (8u)
 
#define PTX_NSC_TYPEV_UID_LEN   (8u)
 
#define PTX_NSC_NFCID1_LEN_1   (4u)
 
#define PTX_NSC_NFCID1_LEN_2   (7u)
 
#define PTX_NSC_NFCID1_LEN_3   (10u)
 
#define PTX_NSC_RF_SET_PARAMS_MAX   (11u)
 
#define PTX_NSC_RF_TEST_PARAMS_MAX   (3u)
 
NSC GPIO Definitions
#define PTX_NSC_GPIO_NR_01   (1u)
 
#define PTX_NSC_GPIO_NR_02   (2u)
 
#define PTX_NSC_GPIO_NR_03   (3u)
 
#define PTX_NSC_GPIO_NR_04   (4u)
 
#define PTX_NSC_GPIO_NR_05   (5u)
 
#define PTX_NSC_GPIO_NR_06   (6u)
 
#define PTX_NSC_GPIO_NR_07   (7u)
 
#define PTX_NSC_GPIO_NR_08   (8u)
 
#define PTX_NSC_GPIO_NR_09   (9u)
 
#define PTX_NSC_GPIO_NR_10   (10u)
 
#define PTX_NSC_GPIO_NR_11   (11u)
 
#define PTX_NSC_GPIO_NR_12   (12u)
 
#define PTX_NSC_GPIO_NR_01_CFG_INDEX   (0x00u)
 
#define PTX_NSC_GPIO_NR_02_CFG_INDEX   (0x01u)
 
#define PTX_NSC_GPIO_NR_03_CFG_INDEX   (0x02u)
 
#define PTX_NSC_GPIO_NR_04_CFG_INDEX   (0x03u)
 
#define PTX_NSC_GPIO_NR_05_CFG_INDEX   (0x04u)
 
#define PTX_NSC_GPIO_NR_06_CFG_INDEX   (0x05u)
 
#define PTX_NSC_GPIO_NR_07_CFG_INDEX   (0x06u)
 
#define PTX_NSC_GPIO_NR_08_CFG_INDEX   (0x07u)
 
#define PTX_NSC_GPIO_NR_09_CFG_INDEX   (0x08u)
 
#define PTX_NSC_GPIO_NR_10_CFG_INDEX   (0x09u)
 
#define PTX_NSC_GPIO_NR_11_CFG_INDEX   (0x0Au)
 
#define PTX_NSC_GPIO_NR_12_CFG_INDEX   (0x0Bu)
 
#define PTX_NSC_GPIO_MAX_GPIOS   (12u)
 
#define PTX_NSC_GPIO_FLAGS_ENABLE_INTPULLUP   (0x01u)
 
#define PTX_NSC_GPIO_FLAGS_ENABLE_HDRIVERSTRENGTH   (0x02u)
 
NSC Extension Definitions
#define PTX_NSC_MAX_EXTENSIONS   (1u)
 

Typedefs

typedef enum ptxNSC_EventId ptxNSC_EventId_t
 NSC Event Id. Type of event notifying layer above.
 
typedef struct ptxNSC_Event ptxNSC_Event_t
 NSC Event data. Used to notify layer above, what kind of event had happened on the NSC Component.
 
typedef enum ptxNSC_Pause_Options ptxNSC_Pause_Options
 NSC Pause Options. .
 
typedef struct ptxTypes_WRA ptxTypes_WRA_t
 WRA data type.
 
typedef enum ptxNscWriteBufferId ptxNscWriteBufferId_t
 ID of potential buffers handled by Hardware.
 
typedef enum ptxNSC_ConRfTech ptxNSC_ConRfTech_t
 Type of Rf Tech.
 
typedef enum ptxNSC_ConRfProtocol ptxNSC_ConRfProtocol_t
 Type of Rf Protocol.
 
typedef enum ptxNSC_SoftReset ptxNSC_SoftReset_t
 Types of Soft-Reset.
 
typedef enum ptxNSC_ResetCpuEn ptxNSC_ResetCpuEn_t
 Types of Enable cpu in NSC Reset CMD.
 
typedef enum ptxNSC_Init_clk_src ptxNSC_Init_clk_src_t
 Types of Source Clock on NSC Init CMD.
 
typedef struct ptxNSC_Init_Param ptxNSC_Init_Param_t
 NSC Init CMD parameter structure.
 
typedef enum ptxNSC_WriteCmd_Type ptxNSC_WriteCmd_Type_t
 Types of NSC Write CMD.
 
typedef struct ptxNSC_WriteCmd_Par ptxNSC_WriteCmd_Par_t
 NSC Write CMD parameter structure.
 
typedef enum ptxNSC_ReadCmd_Type ptxNSC_ReadCmd_Type_t
 Types of NSC Read CMD.
 
typedef struct ptxNSC_ReadCmd_Par ptxNSC_ReadCmd_Par_t
 NSC Read CMD parameter structure.
 
typedef enum ptxNSC_GPIO_Mode ptxNSC_GPIO_Mode_t
 NSC Read CMD parameter structure.
 
typedef struct ptxNSC_RfConfig_Regs ptxNSC_RfConfig_Regs_t
 NSC Rf Config Registers Structures.
 
typedef struct ptxNSC_RfConfig_Param ptxNSC_RfConfig_Param_t
 NSC Rf Config Parameters.
 
typedef struct ptxNSC_RfActTech_A_Param ptxNSC_RfActTech_A_Param_t
 NSC Rf Tech A Activation Parameters.
 
typedef struct ptxNSC_RfActTech_B_Param ptxNSC_RfActTech_B_Param_t
 NSC Rf Tech B Activation Parameters.
 
typedef struct ptxNSC_RfActTech_F_Param ptxNSC_RfActTech_F_Param_t
 NSC Rf Tech F Activation Parameters.
 
typedef struct ptxNSC_RfActTech_V_Param ptxNSC_RfActTech_V_Param_t
 NSC Rf Tech V Activation Parameters.
 
typedef union ptxNSC_RfActTech_Param ptxNSC_RfActTech_Param_t
 NSC Rf Tech Activation Parameters.
 
typedef union ptxNSC_RfActProt_ISODEP_Param ptxNSC_RfActProt_ISODEP_Param_t
 NSC Rf Prot ISO-DEP (Type-A) Activation Parameters.
 
typedef union ptxNSC_RfActProt_Param_t ptxNSC_RfActProt_Param_t
 NSC Rf Prot Activation Parameters.
 
typedef struct ptxNSC_RfActiv_Param ptxNSC_RfActiv_Param_t
 NSC Rf Activate structure.
 
typedef enum ptxNSC_PollType ptxNSC_PollType_t
 Enum for Polling-Loop type.
 
typedef enum ptxNSC_InitTechPoll ptxNSC_InitTechPoll_t
 Enum for initial technology in the discovery loop.
 
typedef struct ptxNSC_Discover_Param ptxNSC_Discover_Param_t
 NSC Discover parameter structure.
 
typedef enum ptxNsc_RfDiscovery_Mode ptxNsc_RfDiscovery_Mode_t
 NSC Rf Discovery mode.
 
typedef enum ptxNSC_Rf_Deact_Type ptxNSC_Rf_Deact_Type_t
 NSC Rf Deactivate procedure type.
 
typedef enum ptxNSC_Rf_Deact_State ptxNSC_Rf_Deact_State_t
 NSC RF state-machine state after command execution.
 
typedef struct ptxNSC_Rf_Deact_Param ptxNSC_Rf_Deact_Param_t
 NSC RF Deactivate Parameters.
 
typedef enum ptxNSC_RevisionType ptxNSC_RevisionType_t
 NSC Revision-Info Types.
 
typedef enum ptxNsc_RfParameter_Id ptxNsc_RfParameter_Id_t
 NSC Rf Parameter Id.
 
typedef enum ptxNsc_RfTest_Id ptxNsc_RfTest_Id_t
 Test-IDs for RF-Test command.
 
typedef struct ptxNsc_RfPar_RfTech ptxNsc_RfPar_RfTech_t
 NSC Rf Parameter Rf Tech.
 
typedef struct ptxNsc_RfPar_Fwt ptxNsc_RfPar_Fwt_t
 NSC Rf Parameter Fwt.
 
typedef struct ptxNsc_RfPar_TxBitRate ptxNsc_RfPar_TxBitRate_t
 NSC Rf Parameter Tx_Bit_Rate.
 
typedef struct ptxNsc_RfPar_RxBitRate ptxNsc_RfPar_RxBitRate_t
 NSC Rf Parameter Rx_Bit_Rate.
 
typedef struct ptxNsc_RfPar_TxParity ptxNsc_RfPar_TxParity_t
 NSC Rf Parameter Tx_Parity.
 
typedef struct ptxNsc_RfPar_RxParity ptxNsc_RfPar_RxParity_t
 NSC Rf Parameter Rx_Parity.
 
typedef struct ptxNsc_RfPar_TxCRC ptxNsc_RfPar_TxCRC_t
 NSC Rf Parameter Tx_CRC.
 
typedef struct ptxNsc_RfPar_RxCRC ptxNsc_RfPar_RxCRC_t
 NSC Rf Parameter Rx_CRC.
 
typedef struct ptxNsc_RfPar_ResLimit ptxNsc_RfPar_ResLimit_t
 NSC Rf Parameter Res(ponse)_Limit.
 
typedef struct ptxNsc_RfPar_TxResidualBits ptxNsc_RfPar_TxResidualBits_t
 NSC Rf Parameter Tx_Residual_Bits.
 
typedef struct ptxNsc_RfPar_RfField ptxNsc_RfPar_RfField_t
 NSC Rf Parameter Rf_Field.
 
typedef union ptxNsc_RfPar_Params ptxNsc_RfPar_Params_t
 Union Rf Parameters.
 
typedef struct ptxNsc_RfPar ptxNsc_RfPar_t
 Rf Param.
 
typedef struct ptxNSC_RfSetParams_Par ptxNSC_RfSetParams_Par_t
 NSC Rf Set Parameters CMD parameter structure.
 
typedef struct ptxNSC_RfTestParams_Par ptxNSC_RfTestParams_Par_t
 NSC Rf Test CMD parameter structure.
 
typedef enum ptxNSC_WfNtfAfterChained ptxNSC_WfNtfAfterChained_t
 
typedef enum ptxNSC_NtfAfterCommError ptxNSC_NtfAfterCommError_t
 
typedef enum ptxNSC_States ptxNSC_States_t
 
typedef ptxStatus_t(* pExtNSCDiscoverCmd_t) (void *extCtx, uint8_t *cmdBuffer)
 
typedef ptxStatus_t(* pExtNSCDiscoverNtf_t) (void *extCtx, void *nscCtx, uint8_t *payload, size_t lengthOfPayload, ptxNSC_Event_t *event)
 
typedef ptxStatus_t(* pExtNSCActivateNtf_t) (void *extCtx, void *nscCtx, uint8_t *payload, size_t lengthOfPayload, ptxNSC_Event_t *event)
 
typedef struct ptxNSC_Custom_Extension ptxNSC_Custom_Extension_t
 

Enumerations

enum  ptxNSC_EventId {
  NSC_EventFieldOn , NSC_EventFieldOff , NSC_EventRfAct_PassPoll_A , NSC_EventRfAct_PassPoll_B ,
  NSC_EventRfAct_PassPoll_F , NSC_EventRfAct_PassPoll_V , NSC_EventRfAct_ActivePoll , NSC_EventRfAct_Extension ,
  NSC_EventRfAct_PasLis_A , NSC_EventRfAct_PasLis_B , NSC_EventRfAct_PasLis_F , NSC_EventRfAct_PasLis_V ,
  NSC_EventRfAct_ActiveListen , NSC_EventRfDisc_PassPoll_A , NSC_EventRfDisc_PassPoll_B , NSC_EventRfDisc_PassPoll_F ,
  NSC_EventRfDisc_PassPoll_V , NSC_EventRfDisc_ActivePoll , NSC_EventRfDisc_Extension , NSC_EventRfDisc_LastOne ,
  NSC_EventError , NSC_EventData_Msg , NSC_EventData_Msg_Chained , NSC_EventData_Clt ,
  NSC_EventRfDeact , HCI_EventData_Msg , HCI_Network_Init , HCI_Network_Done ,
  HCI_PipeCeA_Open , HCI_PipeCeB_Open , HCI_PipeCeF_Open , HCI_ReaderA_Req ,
  HCI_ReaderB_Req , HCI_ReaderStop , HCI_SwpDeact , NSC_Debug ,
  NSC_EventRfLPCD , NumOfEventsNCI , NoEvent , Nsc_HciIn_Msg ,
  Nsc_HciOut_Msg , UnknownEvent
}
 NSC Event Id. Type of event notifying layer above. More...
 
enum  ptxNSC_Pause_Options { ptxNSC_Thread_ResumeByApp , ptxNSC_Thread_ResumeByStack , ptxNSC_Thread_PauseByApp , ptxNSC_Thread_PauseByStack }
 NSC Pause Options. . More...
 
enum  ptxNscWriteBufferId {
  NscWriteBuffer_0 , NscWriteBuffer_1 , NscWriteBuffer_2 , NscWriteBuffer_3 ,
  NscWriteBuffer_4 , NscWriteBuffer_5 , NscWriteBuffer_6 , NscWriteBuffer_7 ,
  NscWriteBuffer_8 , NscWriteBuffer_9 , NscWriteBuffer_10 , NscWriteBuffer_11 ,
  NscWriteBuffer_12 , NscWriteBuffer_13 , NscWriteBuffer_14 , NscWriteBuffer_15
}
 ID of potential buffers handled by Hardware.
 
enum  ptxNSC_ConRfTech {
  Passive_Poll_A = PTX_NSC_TYPES_TECH_POLL_A , Passive_Poll_B = PTX_NSC_TYPES_TECH_POLL_B , Passive_Poll_F = PTX_NSC_TYPES_TECH_POLL_F , Active_Pol = PTX_NSC_TYPES_TECH_POLL_ACT ,
  Passive_Poll_V = PTX_NSC_TYPES_TECH_POLL_V , Passive_Listen_A = PTX_NSC_TYPES_TECH_LISTEN_A , Passive_Listen_B = PTX_NSC_TYPES_TECH_LISTEN_B , Passive_Listen_F = PTX_NSC_TYPES_TECH_LISTEN_F ,
  Active_Listen = PTX_NSC_TYPES_TECH_LISTEN_ACT , Noone_RfTech
}
 Type of Rf Tech. More...
 
enum  ptxNSC_ConRfProtocol {
  Undefined = PTX_NSC_TYPES_PROT_UNDEFINED , T2T = PTX_NSC_TYPES_PROT_T2T , T3T = PTX_NSC_TYPES_PROT_T3T , IsoDep = PTX_NSC_TYPES_PROT_ISODEP ,
  NfcDep = PTX_NSC_TYPES_PROT_NFCDEP , T5T = PTX_NSC_TYPES_PROT_T5T , Ndef = PTX_NSC_TYPES_PROT_NDEF
}
 Type of Rf Protocol. More...
 
enum  ptxNSC_SoftReset { ptxNSC_SoftRst , ptxNSC_SoftRstAndRstStack }
 Types of Soft-Reset. More...
 
enum  ptxNSC_ResetCpuEn { ptxNSC_ResetCpuDisabled , ptxNSC_ResetCpuEnabled }
 Types of Enable cpu in NSC Reset CMD. More...
 
enum  ptxNSC_Init_clk_src { ptxNSC_InitClockCrystal , ptxNSC_InitClockHost }
 Types of Source Clock on NSC Init CMD. More...
 
enum  ptxNSC_WriteCmd_Type { WriteRandomAdd = 1u }
 Types of NSC Write CMD. More...
 
enum  ptxNSC_ReadCmd_Type { ReadRandomAdd = 1u }
 Types of NSC Read CMD. More...
 
enum  ptxNSC_GPIO_Mode { GPIO_Mode_Input , GPIO_Mode_Output , GPIO_Mode_Special }
 NSC Read CMD parameter structure. More...
 
enum  ptxNSC_PollType {
  PollModeDisabled , ConstantField , NfcForumMode , EmvPollMode ,
  EmvPollMode_TransacA , EmvPollMode_TransacB , IsoPollMode
}
 Enum for Polling-Loop type. More...
 
enum  ptxNSC_InitTechPoll {
  Init_Poll_ACM , Init_Poll_A , Init_Poll_B , Init_Poll_F ,
  Init_Poll_V
}
 Enum for initial technology in the discovery loop. More...
 
enum  ptxNsc_RfDiscovery_Mode { DiscoveryMode_Regular = 0x00u , DiscoveryMode_Lpcd = 0x01u , DiscoveryMode_Hybrid_Start = 0x02u , DiscoveryMode_Hybrid_End = 0xFFu }
 NSC Rf Discovery mode. More...
 
enum  ptxNSC_Rf_Deact_Type { DeactType_Generic = 0x01 , DeactType_Protocol_Specific = 0x02 }
 NSC Rf Deactivate procedure type. More...
 
enum  ptxNSC_Rf_Deact_State { RfIdle = 0x01 , RfDiscovery = 0x02 , RfPollSleep = 0x03 , RfDiscoverNoFieldOff = 0x05 }
 NSC RF state-machine state after command execution. More...
 
enum  ptxNSC_RevisionType {
  ptxNSC_Info_C_Stack , ptxNSC_Info_Local_Changes , ptxNSC_Info_DFY_Code , ptxNSC_Info_DFY_Toolchain ,
  ptxNSC_Info_Default , ptxNSC_Info_ProductID
}
 NSC Revision-Info Types.
 
enum  ptxNsc_RfParameter_Id {
  RfParameter_EoC , RfParameter_Rf_Tech , RfParameter_Fwt , RfParameter_Tx_Bit_Rate ,
  RfParameter_Rx_Bit_Rate , RfParameter_Tx_PAR , RfParameter_Rx_PAR , RfParameter_Tx_CRC ,
  RfParameter_Rx_CRC , RfParameter_Res_Limit , RfParameter_Tx_Residual_Bits , RfParameter_Rf_Field
}
 NSC Rf Parameter Id. More...
 
enum  ptxNsc_RfTest_Id {
  RfTest_TRANSAC_A = 1 , RfTest_TRANSAC_B = 2 , RfTest_Carrier = 3 , RfTest_PRBS_9 = 4 ,
  RfTest_PRBS_15 = 5
}
 Test-IDs for RF-Test command. More...
 
enum  ptxNSC_WfNtfAfterChained { ptxNSC_WfNtf_NotExpected , ptxNSC_WfNtf_Expected , ptxNSC_WfNtf_Received }
 
enum  ptxNSC_NtfAfterCommError { ptxNSC_ErrNtf_NotGenerated , ptxNSC_ErrNtf_Generated }
 
enum  ptxNSC_States { ptxNSC_HwMode , ptxNSC_SystemMode , ptxNSC_ModeUndefined }
 

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 : NSC File : ptxNSC_InterfaceTypes.h

Description : Common Types for the Stack