Lines Matching refs:context
76 …pe * base, cy_stc_csd_config_t const * config, cy_en_csd_key_t key, cy_stc_csd_context_t * context) in Cy_CSD_Init() argument
80 if ((NULL == base) || (CY_CSD_NONE_KEY == key) || (NULL == config) || (NULL == context)) in Cy_CSD_Init()
86 if(CY_CSD_NONE_KEY == context->lockKey) in Cy_CSD_Init()
88 context->lockKey = key; in Cy_CSD_Init()
89 csdStatus = Cy_CSD_Configure(base, config, key, context); in Cy_CSD_Init()
122 …status_t Cy_CSD_DeInit(const CSD_Type * base, cy_en_csd_key_t key, cy_stc_csd_context_t * context) in Cy_CSD_DeInit() argument
126 if(key == context->lockKey) in Cy_CSD_DeInit()
128 if(CY_CSD_SUCCESS == Cy_CSD_GetConversionStatus(base, context)) in Cy_CSD_DeInit()
130 context->lockKey = CY_CSD_NONE_KEY; in Cy_CSD_DeInit()
174 …n_csd_status_t Cy_CSD_Capture(CSD_Type * base, cy_en_csd_key_t key, cy_stc_csd_context_t * context) in Cy_CSD_Capture() argument
178 if ((NULL == base) || (CY_CSD_NONE_KEY == key) || (NULL == context)) in Cy_CSD_Capture()
184 if(CY_CSD_NONE_KEY == context->lockKey) in Cy_CSD_Capture()
186 context->lockKey = key; in Cy_CSD_Capture()
224 …ase, const cy_stc_csd_config_t * config, cy_en_csd_key_t key, const cy_stc_csd_context_t * context) in Cy_CSD_Configure() argument
234 if(key == context->lockKey) in Cy_CSD_Configure()