Renesas PTX1xxR IoT-Reader API Version 7.3.1
Renesas Software Stack for IoT-Reader Applications
Data Fields

#include <ptxNSC_Interface.h>

Collaboration diagram for ptxNSC:
Collaboration graph

Data Fields

ptxStatus_Comps_t CompId
 
struct ptxOsal * OS
 
struct ptxLogLOG
 
struct ptxFifoIoRqFIO
 
struct ptxHalHAL
 
struct ptxNvmNVM
 
void * Integration
 
ptxBufferPool_t BP
 
uint8_t IsNCICommanding
 
pptxTbInt_GetIORQNtf_t GetIORQDefault
 
struct ptxBufferPool_ItemActiveResponseBuffer
 
ptxSemaphore_t SemIoSync
 
uint32_t RspTimeout
 
ptxSemaphore_t SemPauseThreadPause
 
ptxSemaphore_t SemPauseThreadConfirm
 
volatile uint8_t ExitFlag
 
volatile uint8_t PauseFlag
 
struct ptxThread * RxThread
 
void * NSCData
 
ptxNSC_GPBuffer_t NSCGPBuffer
 
struct ptxNSC_RoutingTable * RoutingTable
 
struct ptxNSC_HCI * NscHci
 
struct ptxNSC_SystemNscSystem
 
uint8_t ChainingState
 
uint8_t * ChainedPayload
 
uint8_t RxCltMode
 
size_t ChainedLength
 
uint8_t StateUCodeImage
 
ptxNSC_States_t State
 
uint8_t IcSerialNumber [PTX_NSC_IC_SERIAL_NUMBER_LENGTH]
 
uint32_t NscSpeed
 
uint8_t HwFlowControl
 
uint32_t NscRxDelay
 
uint32_t PollA_Enable
 
uint32_t PollB_Enable
 
uint32_t PollF_Enable
 
uint32_t DiscoveryIdleTime
 
uint32_t ListenA_Enable
 
uint8_t ListenA_ATQA [PTX_NSC_TYPES_LISASENSRES_LEN]
 
uint32_t ListenA_SAK
 
uint8_t ListenA_NFCID1 [PTX_NSC_TYPES_LISANFCID1_LEN]
 
uint8_t ListenA_ATS [PTX_NSC_TYPES_LISAATS_LEN]
 
uint32_t ListenB_Enable
 
uint8_t ListenB_SENSB_RES [PTX_NSC_TYPES_LISBSENSRES_LEN]
 
uint8_t ListenB_ATTRIB_RES [PTX_NSC_TYPES_LISBATTRIBRES_LEN]
 
uint8_t * NSC_HCI_Data
 
size_t NSC_HCI_Data_Len
 
ptxNSC_WfNtfAfterChained_t WfNtfState
 
char RfConfigFileName [PTX_NSC_RFCONFIG_NAME_CAPACITY]
 
ptxNSC_RFMiscConfig_Param_t RFConfigMiscParams
 
ptxNscRdTriggModes_t RdTriggMode
 
uint8_t GPIO_Cfg [PTX_NSC_GPIO_MAX_GPIOS]
 
uint8_t ProductID
 
uint32_t DeactiveTimeoutMS
 
uint8_t TypeATransparentModeActive
 
uint8_t TransparentModeNrResidualTxBits
 
ptxNSC_CmdSched_Param_t CmdSchedule
 
ptxNSC_NtfAfterCommError_t GenErrorNtf
 
uint8_t NrCustomExtensions
 
struct ptxNSC_Custom_Extension CustomExtension [PTX_NSC_MAX_EXTENSIONS]
 

Detailed Description

Main NSC structure.

Field Documentation

◆ ActiveResponseBuffer

struct ptxBufferPool_Item* ActiveResponseBuffer

Reference to buffer used on NSC Operation.

◆ BP

Instance of Buffer pool.

◆ ChainedLength

size_t ChainedLength

If ChainedNscData.true, length of data chained previously

◆ ChainedPayload

uint8_t* ChainedPayload

If ChainedNscData true, pointer to data chained previously.

◆ ChainingState

uint8_t ChainingState

Boolean. true chained NSC_DATA_MSG has been sent before. false not.

◆ CmdSchedule

NSC command schedule control flag.

◆ CompId

Component Id.

◆ CustomExtension

Custom Extensions Handlers (RFU).

◆ DeactiveTimeoutMS

uint32_t DeactiveTimeoutMS

NSC-specific Timeout for RF-Deactivate Command

◆ DiscoveryIdleTime

uint32_t DiscoveryIdleTime

NSC Discovery Parameter. Idle Time in Discovery Loop.

◆ ExitFlag

volatile uint8_t ExitFlag

Flag used to pause the NSC thread.

◆ FIO

struct ptxFifoIoRq* FIO

Reference to FIFO Component.

◆ GenErrorNtf

ptxNSC_NtfAfterCommError_t GenErrorNtf

State when special NSC_RF_ERROR_NTF is set due to communication channel error.

◆ GetIORQDefault

pptxTbInt_GetIORQNtf_t GetIORQDefault

Fn pointer to get IORq Default.

◆ GPIO_Cfg

uint8_t GPIO_Cfg[PTX_NSC_GPIO_MAX_GPIOS]

NSC Configuration value for each supported GPIO-Pin

◆ HAL

struct ptxHal* HAL

Reference to HAL Component.

◆ HwFlowControl

uint8_t HwFlowControl

NSC Parameter. Hardware Flow Control Enabled.

◆ IcSerialNumber

uint8_t IcSerialNumber[PTX_NSC_IC_SERIAL_NUMBER_LENGTH]

NSC Parameter.IC Serial Number.

◆ Integration

void* Integration

Reference to INT Component. (Arbitrary pointer)

◆ IsNCICommanding

uint8_t IsNCICommanding

Parameter. Boolean, Is NCI Commanding ? (0 == NOT) (1 == YES)

◆ ListenA_ATQA

uint8_t ListenA_ATQA[PTX_NSC_TYPES_LISASENSRES_LEN]

NSC Discovery Parameter. ATQA.

◆ ListenA_ATS

uint8_t ListenA_ATS[PTX_NSC_TYPES_LISAATS_LEN]

NSC Discovery Parameter. ATS.

◆ ListenA_Enable

uint32_t ListenA_Enable

NSC Discovery Parameter. Activate Listen A in discovery loop. 1 = true, 0 = false.

◆ ListenA_NFCID1

uint8_t ListenA_NFCID1[PTX_NSC_TYPES_LISANFCID1_LEN]

NSC Discovery Parameter. NFCID1.

◆ ListenA_SAK

uint32_t ListenA_SAK

NSC Discovery Parameter. SAK.

◆ ListenB_ATTRIB_RES

uint8_t ListenB_ATTRIB_RES[PTX_NSC_TYPES_LISBATTRIBRES_LEN]

NSC Discovery Parameter. ATTRIB_RES.

◆ ListenB_Enable

uint32_t ListenB_Enable

NSC Discovery Parameter. Activate Listen B in discovery loop. 1 = true, 0 = false.

◆ ListenB_SENSB_RES

uint8_t ListenB_SENSB_RES[PTX_NSC_TYPES_LISBSENSRES_LEN]

NSC Discovery Parameter. SENSB_RES.

◆ LOG

struct ptxLog* LOG

Reference to LOG Component.

◆ NrCustomExtensions

uint8_t NrCustomExtensions

Current number of registered custom Extensions (RFU).

◆ NSC_HCI_Data

uint8_t* NSC_HCI_Data

Buffer used for NSC HCI data processing.

◆ NSC_HCI_Data_Len

size_t NSC_HCI_Data_Len

Length of NSC_HCI_Data.

◆ NSCData

void* NSCData

Union used to share data between threads throw NSC Component.

◆ NSCGPBuffer

ptxNSC_GPBuffer_t NSCGPBuffer

NSC GP Buffer

◆ NscHci

struct ptxNSC_HCI* NscHci

NSC HCI Subcomponent.

◆ NscRxDelay

uint32_t NscRxDelay

NSC Parameter. NSC Rx delay.

◆ NscSpeed

uint32_t NscSpeed

NSC Parameter. Speed of NSC Application.

◆ NscSystem

struct ptxNSC_System* NscSystem

NSC System Subcomponent.

◆ NVM

struct ptxNvm* NVM

Reference to NVM Component.

◆ OS

struct ptxOsal* OS

Reference to OSAL Component.

◆ PauseFlag

volatile uint8_t PauseFlag

Flag used to pause the NSC thread.

◆ PollA_Enable

uint32_t PollA_Enable

NSC Discovery Parameter. Activate Poll A in discovery loop. 1 = true, 0 = false.

◆ PollB_Enable

uint32_t PollB_Enable

NSC Discovery Parameter. Activate Poll B in discovery loop. 1 = true, 0 = false.

◆ PollF_Enable

uint32_t PollF_Enable

NSC Discovery Parameter. Activate Poll F in discovery loop. 1 = true, 0 = false.

◆ ProductID

uint8_t ProductID

Chip-specific product (family) Identifier

◆ RdTriggMode

ptxNscRdTriggModes_t RdTriggMode

Application triggering reader operation (General App (e.g. NCI or Java, typically) or HCI.)

◆ RfConfigFileName

char RfConfigFileName[PTX_NSC_RFCONFIG_NAME_CAPACITY]

Rf Config File Name.

◆ RFConfigMiscParams

ptxNSC_RFMiscConfig_Param_t RFConfigMiscParams

Shadow-Copy of RF Config Misc. Parameters.

◆ RoutingTable

struct ptxNSC_RoutingTable* RoutingTable

Linked List used for Routing Table.

◆ RspTimeout

uint32_t RspTimeout

TimeOut for NSC Operation.

◆ RxCltMode

uint8_t RxCltMode

Rx Parity Mode enable ( = 1) or Rx Parity Mode disable ( = 0)

◆ RxThread

struct ptxThread* RxThread

Reference to the NSC thread.

◆ SemIoSync

ptxSemaphore_t SemIoSync

Semaphore used by the NSC Operation.

◆ SemPauseThreadConfirm

ptxSemaphore_t SemPauseThreadConfirm

Semaphore used to pause the NSC thread.

◆ SemPauseThreadPause

ptxSemaphore_t SemPauseThreadPause

Semaphore used to pause the NSC thread.

◆ State

ptxNSC_States_t State

NSC State. Either hardware or system mode.>

◆ StateUCodeImage

uint8_t StateUCodeImage

1 == Active (it means that it has been downloaded to the chip). 0 == Inactive (it means that it has not been downloaded to the chip).

◆ TransparentModeNrResidualTxBits

uint8_t TransparentModeNrResidualTxBits

Defines the number of residual bits to transmit in NFC Type A Transparent mode.

◆ TypeATransparentModeActive

uint8_t TypeATransparentModeActive

Internal flag indicating whether Transparent-mode is active in NFC Type-A mode or not.

◆ WfNtfState

ptxNSC_WfNtfAfterChained_t WfNtfState

State of Waiting for NSC_RF_ERROR_NTF after Rf Chained frame.


The documentation for this struct was generated from the following file: