Searched refs:regionIdx (Results 1 – 2 of 2) sorted by relevance
283 void DCIC_EnableRegion(DCIC_Type *base, uint8_t regionIdx, const dcic_region_config_t *config);291 static inline void DCIC_DisableRegion(DCIC_Type *base, uint8_t regionIdx) in DCIC_DisableRegion() argument293 assert(regionIdx < DCIC_REGION_COUNT); in DCIC_DisableRegion()295 base->REGION[regionIdx].DCICRC &= ~DCIC_DCICRC_ROI_EN_MASK; in DCIC_DisableRegion()305 static inline void DCIC_SetRegionRefCrc(DCIC_Type *base, uint8_t regionIdx, uint32_t crc) in DCIC_SetRegionRefCrc() argument307 assert(regionIdx < DCIC_REGION_COUNT); in DCIC_SetRegionRefCrc()309 base->REGION[regionIdx].DCICRRS = crc; in DCIC_SetRegionRefCrc()319 static inline uint32_t DCIC_GetRegionCalculatedCrc(DCIC_Type *base, uint8_t regionIdx) in DCIC_GetRegionCalculatedCrc() argument321 assert(regionIdx < DCIC_REGION_COUNT); in DCIC_GetRegionCalculatedCrc()323 return base->REGION[regionIdx].DCICRCS; in DCIC_GetRegionCalculatedCrc()
159 void DCIC_EnableRegion(DCIC_Type *base, uint8_t regionIdx, const dcic_region_config_t *config) in DCIC_EnableRegion() argument161 assert(regionIdx < DCIC_REGION_COUNT); in DCIC_EnableRegion()164 base->REGION[regionIdx].DCICRRS = config->refCrc; in DCIC_EnableRegion()166 …base->REGION[regionIdx].DCICRS = (((uint32_t)config->lowerRightX << DCIC_DCICRS_END_OFFSET_X_SHIFT… in DCIC_EnableRegion()169 …base->REGION[regionIdx].DCICRC = (((uint32_t)config->upperLeftX << DCIC_DCICRC_START_OFFSET_X_SHIF… in DCIC_EnableRegion()