43#ifndef PTX_NSC_FACTORY_H
44#define PTX_NSC_FACTORY_H
65#if (defined (PTX_IOT_READER_API) || defined (PTX_POS_READER_API))
66 #pragma push_macro("PTX_LIBFUNC")
113 ptxNscFactory_P_Number
283 uint32_t parLenOrValue);
361#if (defined (PTX_IOT_READER_API) || defined (PTX_POS_READER_API))
362 #pragma pop_macro("PTX_LIBFUNC")
ptxStatus_t(* pptxTbInt_GetIORQNtf_t)(void *cpLayer, struct ptxIoRq *io_rq)
Integration get IO RQ Ntf.
Definition ptxNSC_Interface.h:119
uint16_t ptxStatus_t
Status Type.
Definition ptx_Status.h:82
enum ptxStatus_Comps ptxStatus_Comps_t
Component Definitions.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_BuildStack(ptxNscFactory_t *fCtx, ptxNscFactoryBuild_t *cComps)
Build the stack, initialize and link together the components.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_SetParameter(ptxNscFactory_t *fCtx, ptxNscFactory_P_t parType, uint8_t *parBuf, uint32_t parLenOrValue)
Set Factory Operating Parameter.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_SetLogExternal(ptxNscFactory_t *fCtx)
Set log component as built from outside.
PTX_LIBFUNC ptxFifoIoRq_t * ptxNscFactory_GetFifo(ptxNscFactory_t *fCtx)
Get reference to FIFO.
struct ptxNscFactoryDefaultInit ptxNscFactoryDefaultInit_t
struct ptxNscFactoryBuild ptxNscFactoryBuild_t
Stack initialization Structure.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_DestroyStack_Finalize(ptxNscFactory_t *fCtx)
Stack De-Initialization, Step 2.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_Init(ptxNscFactory_t *fCtx, struct ptxOsal **osAl, void *sysCtx)
Factory Initialization.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_DestroyStack(ptxNscFactory_t *fCtx)
Stack De-Initialization, Step 1.
PTX_LIBFUNC ptxStatus_t ptxNscFactory_DeInit(ptxNscFactory_t *fCtx)
De-Initialize the factory.
ptxNscFactory_P
Definition ptxNscFactory.h:87
enum ptxNscFactory_P ptxNscFactory_P_t
struct ptxNscFactory ptxNscFactory_t
Factory Component Structure.
enum ptxNscFactoryAboveNsc ptxNscFactoryAboveNsc_t
ptxNscFactoryAboveNsc
Definition ptxNscFactory.h:121
PTX_LIBFUNC ptxStatus_t ptxNscFactory_ClearLogExternal(ptxNscFactory_t *fCtx)
Clear log component as built from outside.
@ ptxNscFactory_P_SpeedApp
Definition ptxNscFactory.h:91
@ ptxNscFactory_P_HwFlowControl
Definition ptxNscFactory.h:92
@ ptxNscFactory_P_LogHistory
Definition ptxNscFactory.h:94
@ ptxNscFactory_P_BusAddress
Definition ptxNscFactory.h:95
@ ptxNscFactory_P_Reserved_0
Definition ptxNscFactory.h:88
@ ptxNscFactory_P_SpeedInit
Definition ptxNscFactory.h:90
@ ptxNscFactory_P_Type
Definition ptxNscFactory.h:93
@ ptxNscFactory_P_FTDISerialNumber
Definition ptxNscFactory.h:105
@ ptxNscFactory_P_SetCreditNtfTrigger
Definition ptxNscFactory.h:101
@ ptxNscFactory_P_FTDITrxLog
Definition ptxNscFactory.h:104
@ ptxNscFactory_P_SetMaxDynLogConns
Definition ptxNscFactory.h:99
@ ptxNscFactory_P_NscBufferSize
Definition ptxNscFactory.h:97
@ ptxNscFactory_P_SetInitialNrCredits
Definition ptxNscFactory.h:100
@ ptxNscFactory_P_NSCCommandedBy
Definition ptxNscFactory.h:102
@ ptxNscFactory_P_BufferPoolDbgLog
Definition ptxNscFactory.h:96
@ ptxNscFactory_P_Interface
Definition ptxNscFactory.h:89
@ ptxNscFactory_P_IrqGpioNum
Definition ptxNscFactory.h:103
@ ptxNscFactory_NCI
Definition ptxNscFactory.h:123
@ ptxNscFactory_Integration
Definition ptxNscFactory.h:122
enum ptxHal_InterfaceType ptxHal_InterfaceType_t
FIFO I/O Request structure.
Definition ptx_Fifo_IoRq.h:96
Main HAL Component structure.
Definition ptxHal_Ext.h:113
I/O Request structure.
Definition ptx_IoRq.h:154
Logger Component Structure.
Definition ptxLog.h:208
Definition ptxNSC_Interface.h:152
Stack initialization Structure.
Definition ptxNscFactory.h:209
struct ptxHCI * HCI
Definition ptxNscFactory.h:215
pptxTbInt_GetIORQNtf_t GetIORQDefault_NSC
Definition ptxNscFactory.h:219
ptxNvm_t * NVM
Definition ptxNscFactory.h:216
ptxNSC_t * NSC
Definition ptxNscFactory.h:211
void * SystemContext
Definition ptxNscFactory.h:217
ptxLog_t * LOG
Definition ptxNscFactory.h:214
void * IntComp
Definition ptxNscFactory.h:218
pptxTbInt_GetIORQNtf_t GetIORDefault_NCI
Definition ptxNscFactory.h:221
struct ptxNCI * NCI
Definition ptxNscFactory.h:210
struct ptxHal * HAL
Definition ptxNscFactory.h:213
struct ptxOsal * OS
Definition ptxNscFactory.h:212
Definition ptxNscFactory.h:133
uint8_t * ParamBuffer
Definition ptxNscFactory.h:135
ptxNscFactory_P_t Param
Definition ptxNscFactory.h:134
uint32_t ParamLengthOrValue
Definition ptxNscFactory.h:137
Factory Component Structure.
Definition ptxNscFactory.h:150
uint8_t * DevName
Definition ptxNscFactory.h:174
struct ptxHCI * HCI
Definition ptxNscFactory.h:165
uint16_t BusAddress
Definition ptxNscFactory.h:181
ptxNvm_t * NVM
Definition ptxNscFactory.h:169
ptxFifoIoRq_t FifoIoRq
Definition ptxNscFactory.h:155
ptxNSC_t * NSC
Definition ptxNscFactory.h:163
uint32_t DevSpeedInit
Definition ptxNscFactory.h:176
uint32_t InitParamBits
Definition ptxNscFactory.h:199
uint8_t * DevSerialNumber
Definition ptxNscFactory.h:191
uint8_t InitDefaultCount
Definition ptxNscFactory.h:197
struct ptxThread * ThreadFifoId
Definition ptxNscFactory.h:157
ptxLog_t * LOG
Definition ptxNscFactory.h:167
uint8_t InitialNrCredits
Definition ptxNscFactory.h:186
size_t DevSerialNumberLength
Definition ptxNscFactory.h:192
uint8_t BufferPoolDbgLogEn
Definition ptxNscFactory.h:182
uint8_t IoInterLogEn
Definition ptxNscFactory.h:188
size_t DevNameLength
Definition ptxNscFactory.h:175
uint32_t LogHistory
Definition ptxNscFactory.h:180
uint32_t InitDefaultBits
Definition ptxNscFactory.h:198
struct ptxNCI * NCI
Definition ptxNscFactory.h:161
uint8_t MaxDynLogConns
Definition ptxNscFactory.h:185
uint8_t HwFlowControl
Definition ptxNscFactory.h:178
struct ptxHal * HAL
Definition ptxNscFactory.h:159
uint8_t IsLogExternal
Definition ptxNscFactory.h:190
ptxHal_InterfaceType_t DevType
Definition ptxNscFactory.h:179
ptxStatus_Comps_t CompId
Definition ptxNscFactory.h:151
uint32_t IrqGpioNum
Definition ptxNscFactory.h:189
ptxIoRq_t IoRq
Definition ptxNscFactory.h:156
uint32_t DevSpeedApp
Definition ptxNscFactory.h:177
struct ptxOsal * OS
Definition ptxNscFactory.h:158
uint8_t CreditNtfTrigger
Definition ptxNscFactory.h:187
ptxNscFactoryAboveNsc_t NscCommandedBy
Definition ptxNscFactory.h:184
size_t NscBufferSize
Definition ptxNscFactory.h:183
Main Nvm Component.
Definition ptxNvm.h:140