PDK API Guide for J721E
Sciclient_ServiceHandle_t Struct Reference

Detailed Description

Handle for Sciclient_service function.

Data Fields

SemaphoreP_Handle semHandles [SCICLIENT_MAX_QUEUE_SIZE]
 
SemaphoreP_Status semStatus [SCICLIENT_MAX_QUEUE_SIZE]
 
uint32_t currSeqId
 
HwiP_Handle notificationIntr
 
HwiP_Handle respIntr [2]
 
uint32_t opModeFlag
 
uint8_t initCount
 
uint32_t isSecureMode
 

Field Documentation

◆ semHandles

SemaphoreP_Handle Sciclient_ServiceHandle_t::semHandles[SCICLIENT_MAX_QUEUE_SIZE]

Semaphore is posted when there is a interrupt for the response. Index is the currSeqId

◆ semStatus

SemaphoreP_Status Sciclient_ServiceHandle_t::semStatus[SCICLIENT_MAX_QUEUE_SIZE]

Status returned for the SemaphoreP_pend corresponding to a particular seqId.

◆ currSeqId

uint32_t Sciclient_ServiceHandle_t::currSeqId

Sequence ID of the current request

◆ notificationIntr

HwiP_Handle Sciclient_ServiceHandle_t::notificationIntr

Interrupt for notification

◆ respIntr

HwiP_Handle Sciclient_ServiceHandle_t::respIntr[2]

Interrupt for response message. Have 2 for secure and non-secure context

◆ opModeFlag

uint32_t Sciclient_ServiceHandle_t::opModeFlag

Operation mode for the Sciclient Service API. Refer to Sciclient_ServiceOperationMode for valid values.

◆ initCount

uint8_t Sciclient_ServiceHandle_t::initCount

Count to keep track of the number of inits/de-inits done. Actual initialization done only when initCount=0, and de-init done only when initCount=1

◆ isSecureMode

uint32_t Sciclient_ServiceHandle_t::isSecureMode

Variable to check whether Core context is secure/non-secure. This has to be given by the user via configParams. Default value is 0.