Home
last modified time | relevance | path

Searched refs:siteIndex (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tmu/
Dfsl_tmu.c335 status_t TMU_GetImmediateTemperature(TMU_Type *base, uint32_t siteIndex, uint32_t *temperature) in TMU_GetImmediateTemperature() argument
338 assert(siteIndex < TMU_TRITSR_COUNT); in TMU_GetImmediateTemperature()
342 if (0U == (TMU_TRITSR_V_MASK & base->TRTSR[siteIndex].TRITSR)) in TMU_GetImmediateTemperature()
348 … *temperature = (TMU_TRITSR_TEMP_MASK & base->TRTSR[siteIndex].TRITSR) >> TMU_TRITSR_TEMP_SHIFT; in TMU_GetImmediateTemperature()
367 status_t TMU_GetAverageTemperature(TMU_Type *base, uint32_t siteIndex, uint32_t *temperature) in TMU_GetAverageTemperature() argument
370 assert(siteIndex < TMU_TRATSR_COUNT); in TMU_GetAverageTemperature()
374 if (0U == (TMU_TRATSR_V_MASK & base->TRTSR[siteIndex].TRATSR)) in TMU_GetAverageTemperature()
380 … *temperature = (TMU_TRATSR_TEMP_MASK & base->TRTSR[siteIndex].TRATSR) >> TMU_TRATSR_TEMP_SHIFT; in TMU_GetAverageTemperature()
Dfsl_tmu.h298 status_t TMU_GetImmediateTemperature(TMU_Type *base, uint32_t siteIndex, uint32_t *temperature);
313 status_t TMU_GetAverageTemperature(TMU_Type *base, uint32_t siteIndex, uint32_t *temperature);