IOLFW instance handle.
Main instance structure containing all state for one PRU-ICSS IO-Link instance. Created by IOLFW_init() and passed to all API functions.
Data Fields | |
| IOLFW_eInstanceState_t | state |
| void * | pUserArg |
| uint32_t | pruIcssInst |
| PRUICSS_Handle | pruHandle |
| volatile IOLFW_PruMem_t * | pruDram0 |
| volatile IOLFW_PruMemTimer_t * | pruDram1 |
| volatile uint8_t * | pruBase |
| volatile uint8_t * | pruIntc |
| IOLFW_PortInst_t | port [IOLFW_MAX_PORTS] |
| bool | isPru1FrameHandler |
| IOLFW_eInstanceState_t IOLFW_Inst_t::state |
Current instance state
| void* IOLFW_Inst_t::pUserArg |
User-defined context pointer
| uint32_t IOLFW_Inst_t::pruIcssInst |
PRU-ICSS instance number
| PRUICSS_Handle IOLFW_Inst_t::pruHandle |
PRU-ICSS driver handle
| volatile IOLFW_PruMem_t* IOLFW_Inst_t::pruDram0 |
Frame handler PRU data RAM
| volatile IOLFW_PruMemTimer_t* IOLFW_Inst_t::pruDram1 |
Cycle timer PRU data RAM
| volatile uint8_t* IOLFW_Inst_t::pruBase |
PRU-ICSS base address
| volatile uint8_t* IOLFW_Inst_t::pruIntc |
PRU-ICSS INTC base address
| IOLFW_PortInst_t IOLFW_Inst_t::port[IOLFW_MAX_PORTS] |
Port instance array
| bool IOLFW_Inst_t::isPru1FrameHandler |
true if PRU1 is frame handler