Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 151) sorted by relevance

1234567

/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_pwr.h283 uint32_t temp; in LL_PWR_IsEnabledLowPowerRunMode() local
284 temp = READ_BIT(PWR->CR1, PWR_CR1_LPR); in LL_PWR_IsEnabledLowPowerRunMode()
286 return ((temp == (PWR_CR1_LPR))?1U:0U); in LL_PWR_IsEnabledLowPowerRunMode()
363 uint32_t temp; in LL_PWR_IsEnabledRange1BoostMode() local
364 temp = READ_BIT(PWR->CR5, PWR_CR5_R1MODE); in LL_PWR_IsEnabledRange1BoostMode()
366 return ((temp == (0U))?1U:0U); in LL_PWR_IsEnabledRange1BoostMode()
397 uint32_t temp; in LL_PWR_IsEnabledBkUpAccess() local
398 temp = READ_BIT(PWR->CR1, PWR_CR1_DBP); in LL_PWR_IsEnabledBkUpAccess()
400 return ((temp == (PWR_CR1_DBP))?1U:0U); in LL_PWR_IsEnabledBkUpAccess()
545 uint32_t temp; in LL_PWR_IsEnabledVddUSB() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_gpio.c163 uint32_t temp; in HAL_GPIO_Init() local
186 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
187 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2U)); in HAL_GPIO_Init()
188 temp |= (GPIO_Init->Speed << (position * 2U)); in HAL_GPIO_Init()
189 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
192 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
193 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
194 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
195 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
204 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_gpio.c167 uint32_t temp; in HAL_GPIO_Init() local
190 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
191 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2u)); in HAL_GPIO_Init()
192 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
193 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
196 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
197 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
198 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
199 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
208 temp = GPIOx->ASCR; in HAL_GPIO_Init()
[all …]
Dstm32l4xx_hal_sai.c1058 uint32_t temp; in HAL_SAI_Transmit() local
1097 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1099 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1101 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1105 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1107 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1109 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1111 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1113 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1171 uint32_t temp; in HAL_SAI_Receive() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_gpio.c163 uint32_t temp; in HAL_GPIO_Init() local
186 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
187 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2U)); in HAL_GPIO_Init()
188 temp |= (GPIO_Init->Speed << (position * 2U)); in HAL_GPIO_Init()
189 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
192 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
193 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
194 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
195 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
201 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_gpio.c173 uint32_t temp; in HAL_GPIO_Init() local
196 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
197 temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u)); in HAL_GPIO_Init()
198 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
199 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
202 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
203 temp &= ~(GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
204 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
205 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
214 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_gpio.c173 uint32_t temp; in HAL_GPIO_Init() local
194 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
195 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2u)); in HAL_GPIO_Init()
196 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
197 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
200 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
201 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
202 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
203 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
211 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_gpio.c166 uint32_t temp; in HAL_GPIO_Init() local
189 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
190 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2U)); in HAL_GPIO_Init()
191 temp |= (GPIO_Init->Speed << (position * 2U)); in HAL_GPIO_Init()
192 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
195 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
196 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
197 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
198 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
207 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
Dstm32g4xx_hal_sai.c977 uint32_t temp; in HAL_SAI_Transmit() local
1016 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1018 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1020 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1024 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1026 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1028 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1030 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1032 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1090 uint32_t temp; in HAL_SAI_Receive() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_gpio.c166 uint32_t temp; in HAL_GPIO_Init() local
189 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
190 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2u)); in HAL_GPIO_Init()
191 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
192 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
195 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
196 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
197 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
198 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
207 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_gpio.c175 uint32_t temp; in HAL_GPIO_Init() local
197 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
198 temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u)); in HAL_GPIO_Init()
199 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
200 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
203 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
204 temp &= ~(GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
205 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
206 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
215 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_gpio.c160 uint32_t temp = 0x00U; in HAL_GPIO_Init() local
182 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
183 temp &= ~(GPIO_OSPEEDER_OSPEED0 << (position * 2U)); in HAL_GPIO_Init()
184 temp |= (GPIO_Init->Speed << (position * 2U)); in HAL_GPIO_Init()
185 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
188 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
189 temp &= ~(GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
190 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
191 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
200 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_gpio.c167 uint32_t temp = 0x00; in HAL_GPIO_Init() local
191 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
192 temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2)); in HAL_GPIO_Init()
193 temp |= (GPIO_Init->Speed << (position * 2)); in HAL_GPIO_Init()
194 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
197 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
198 temp &= ~(GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
199 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
200 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
209 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_gpio.c168 uint32_t temp; in HAL_GPIO_Init() local
191 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
192 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2u)); in HAL_GPIO_Init()
193 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
194 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
197 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
198 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
199 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
200 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
206 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
Dstm32wbxx_hal_sai.c952 uint32_t temp; in HAL_SAI_Transmit() local
991 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
993 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
995 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
999 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1001 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1003 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1005 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1007 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1065 uint32_t temp; in HAL_SAI_Receive() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_gpio.c169 uint32_t temp; in HAL_GPIO_Init() local
199 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
200 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2U)); in HAL_GPIO_Init()
201 temp |= (GPIO_Init->Speed << (position * 2U)); in HAL_GPIO_Init()
202 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
205 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
206 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
207 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
208 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
217 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_gpio.c169 uint32_t temp = 0x00U; in HAL_GPIO_Init() local
194 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
195 temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2U)); in HAL_GPIO_Init()
196 temp |= (GPIO_Init->Speed << (position * 2U)); in HAL_GPIO_Init()
197 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
200 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
201 temp &= ~(GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
202 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
203 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
212 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_gpio.c174 uint32_t temp = 0x00; in HAL_GPIO_Init() local
197 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
198 CLEAR_BIT(temp, GPIO_OSPEEDER_OSPEEDR0 << (position * 2)); in HAL_GPIO_Init()
199 SET_BIT(temp, GPIO_Init->Speed << (position * 2)); in HAL_GPIO_Init()
200 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
203 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
204 CLEAR_BIT(temp, GPIO_OTYPER_OT_0 << position) ; in HAL_GPIO_Init()
205 SET_BIT(temp, ((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
206 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
215 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_gpio.c173 uint32_t temp; in HAL_GPIO_Init() local
206 temp = GPIOx->AFR[position >> 3]; in HAL_GPIO_Init()
207 temp &= ~((uint32_t)0xF << ((uint32_t)(position & (uint32_t)0x07) * 4)) ; in HAL_GPIO_Init()
208 temp |= ((uint32_t)(GPIO_Init->Alternate) << (((uint32_t)position & (uint32_t)0x07) * 4)); in HAL_GPIO_Init()
209 GPIOx->AFR[position >> 3] = temp; in HAL_GPIO_Init()
213 temp = GPIOx->MODER; in HAL_GPIO_Init()
214 temp &= ~(GPIO_MODER_MODER0 << (position * 2)); in HAL_GPIO_Init()
215 temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2)); in HAL_GPIO_Init()
216 GPIOx->MODER = temp; in HAL_GPIO_Init()
225 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
[all …]
Dstm32mp1xx_hal_sai.c1058 uint32_t temp; in HAL_SAI_Transmit() local
1097 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1099 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1101 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1105 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1107 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1109 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1111 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1113 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1171 uint32_t temp; in HAL_SAI_Receive() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_gpio.c172 uint32_t temp; in HAL_GPIO_Init() local
195 temp = GPIOx->OSPEEDR; in HAL_GPIO_Init()
196 temp &= ~(GPIO_OSPEEDR_OSPEED0 << (position * 2u)); in HAL_GPIO_Init()
197 temp |= (GPIO_Init->Speed << (position * 2u)); in HAL_GPIO_Init()
198 GPIOx->OSPEEDR = temp; in HAL_GPIO_Init()
201 temp = GPIOx->OTYPER; in HAL_GPIO_Init()
202 temp &= ~(GPIO_OTYPER_OT0 << position) ; in HAL_GPIO_Init()
203 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init()
204 GPIOx->OTYPER = temp; in HAL_GPIO_Init()
213 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
[all …]
Dstm32wbaxx_hal_sai.c953 uint32_t temp; in HAL_SAI_Transmit() local
992 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
994 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
996 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1000 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1002 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1004 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1006 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1008 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1066 uint32_t temp; in HAL_SAI_Receive() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_rtc.h1143 uint32_t temp; in LL_RTC_TIME_GetHour() local
1145 temp = READ_BIT(RTCx->TR, (RTC_TR_HT | RTC_TR_HU)); in LL_RTC_TIME_GetHour()
1146 …return (uint32_t)((((temp & RTC_TR_HT) >> RTC_TR_HT_Pos) << 4U) | ((temp & RTC_TR_HU) >> RTC_TR_HU… in LL_RTC_TIME_GetHour()
1181 uint32_t temp; in LL_RTC_TIME_GetMinute() local
1183 temp = READ_BIT(RTCx->TR, (RTC_TR_MNT | RTC_TR_MNU)); in LL_RTC_TIME_GetMinute()
1184 …return (uint32_t)((((temp & RTC_TR_MNT) >> RTC_TR_MNT_Pos) << 4U) | ((temp & RTC_TR_MNU) >> RTC_TR… in LL_RTC_TIME_GetMinute()
1219 uint32_t temp; in LL_RTC_TIME_GetSecond() local
1221 temp = READ_BIT(RTCx->TR, (RTC_TR_ST | RTC_TR_SU)); in LL_RTC_TIME_GetSecond()
1222 …return (uint32_t)((((temp & RTC_TR_ST) >> RTC_TR_ST_Pos) << 4U) | ((temp & RTC_TR_SU) >> RTC_TR_SU… in LL_RTC_TIME_GetSecond()
1249 uint32_t temp; in LL_RTC_TIME_Config() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sai.c1003 uint32_t temp; in HAL_SAI_Transmit() local
1042 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1044 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1046 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1050 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1052 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1054 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1056 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1058 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1116 uint32_t temp; in HAL_SAI_Receive() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_sai.c989 uint32_t temp; in HAL_SAI_Transmit() local
1028 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1030 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1032 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1036 temp = (uint32_t)(*hsai->pBuffPtr); in HAL_SAI_Transmit()
1038 temp |= ((uint32_t)(*hsai->pBuffPtr) << 8); in HAL_SAI_Transmit()
1040 temp |= ((uint32_t)(*hsai->pBuffPtr) << 16); in HAL_SAI_Transmit()
1042 temp |= ((uint32_t)(*hsai->pBuffPtr) << 24); in HAL_SAI_Transmit()
1044 hsai->Instance->DR = temp; in HAL_SAI_Transmit()
1102 uint32_t temp; in HAL_SAI_Receive() local
[all …]

1234567