Home
last modified time | relevance | path

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

12

/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/
A Dstm32f7xx_hal_gpio.c192 uint32_t temp = 0x00; in HAL_GPIO_Init() local
222 temp = GPIOx->MODER; in HAL_GPIO_Init()
225 GPIOx->MODER = temp; in HAL_GPIO_Init()
246 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
249 GPIOx->PUPDR = temp; in HAL_GPIO_Init()
263 temp = EXTI->IMR; in HAL_GPIO_Init()
268 EXTI->IMR = temp; in HAL_GPIO_Init()
270 temp = EXTI->EMR; in HAL_GPIO_Init()
275 EXTI->EMR = temp; in HAL_GPIO_Init()
278 temp = EXTI->RTSR; in HAL_GPIO_Init()
[all …]
A Dstm32f7xx_hal_crc.c280 uint32_t temp = 0; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Accumulate() local
294 temp = hcrc->Instance->DR; in HAL_CRC_Accumulate()
298 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate()
302 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate()
315 return temp; in HAL_CRC_Accumulate()
331 uint32_t temp = 0; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Calculate() local
349 temp = hcrc->Instance->DR; in HAL_CRC_Calculate()
354 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Calculate()
359 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Calculate()
372 return temp; in HAL_CRC_Calculate()
A Dstm32f7xx_hal_flash.c304 uint32_t temp = 0; in HAL_FLASH_IRQHandler() local
325 temp = pFlash.Sector; in HAL_FLASH_IRQHandler()
327 HAL_FLASH_EndOfOperationCallback(temp); in HAL_FLASH_IRQHandler()
333 temp = ++pFlash.Sector; in HAL_FLASH_IRQHandler()
334 FLASH_Erase_Sector(temp, pFlash.VoltageForErase); in HAL_FLASH_IRQHandler()
338 pFlash.Sector = temp = 0xFFFFFFFF; in HAL_FLASH_IRQHandler()
340 HAL_FLASH_EndOfOperationCallback(temp); in HAL_FLASH_IRQHandler()
380 temp = pFlash.Sector; in HAL_FLASH_IRQHandler()
386 temp = 0; in HAL_FLASH_IRQHandler()
391 temp = pFlash.Address; in HAL_FLASH_IRQHandler()
[all …]
A Dstm32f7xx_hal_pcd.c307 uint32_t fifoemptymsk = 0, temp = 0; in HAL_PCD_IRQHandler() local
503 temp = USBx->GRXSTSP; in HAL_PCD_IRQHandler()
504 ep = &hpcd->OUT_ep[temp & USB_OTG_GRXSTSP_EPNUM]; in HAL_PCD_IRQHandler()
506 if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_DATA_UPDT) { in HAL_PCD_IRQHandler()
507 if ((temp & USB_OTG_GRXSTSP_BCNT) != 0) { in HAL_PCD_IRQHandler()
509 ep->xfer_buff += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler()
510 ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler()
514 ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler()
545 temp = hpcd->Instance->GOTGINT; in HAL_PCD_IRQHandler()
547 if ((temp & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET) { in HAL_PCD_IRQHandler()
[all …]
A Dstm32f7xx_hal_cec.c323 uint8_t temp = 0; in HAL_CEC_Transmit() local
351temp = ((uint32_t)hcec->Init.InitiatorAddress << CEC_INITIATOR_LSB_POS) | DestinationAddress; in HAL_CEC_Transmit()
352 hcec->Instance->TXDR = temp; in HAL_CEC_Transmit()
456 uint32_t temp; in HAL_CEC_Receive() local
489 temp = (uint32_t) (hcec->Instance->ISR); in HAL_CEC_Receive()
492 hcec->ErrorCode = temp; in HAL_CEC_Receive()
504 temp = (uint32_t) (hcec->Instance->ISR); in HAL_CEC_Receive()
506 if ((temp & CEC_ISR_RXEND) != 0) { in HAL_CEC_Receive()
549 uint8_t temp = 0; in HAL_CEC_Transmit_IT() local
598temp = ((uint32_t)hcec->Init.InitiatorAddress << CEC_INITIATOR_LSB_POS) | DestinationAddress; in HAL_CEC_Transmit_IT()
[all …]
A Dstm32f7xx_hal_dma.c513 uint32_t temp, tmp, tmp1, tmp2; in HAL_DMA_PollForTransfer() local
519 temp = __HAL_DMA_GET_TC_FLAG_INDEX(hdma); in HAL_DMA_PollForTransfer()
522 temp = __HAL_DMA_GET_HT_FLAG_INDEX(hdma); in HAL_DMA_PollForTransfer()
528 while (__HAL_DMA_GET_FLAG(hdma, temp) == RESET) { in HAL_DMA_PollForTransfer()
/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/
A Dstm32f0xx_hal_gpio.c190 uint32_t temp = 0x00U; in HAL_GPIO_Init() local
222 temp = GPIOx->MODER; in HAL_GPIO_Init()
225 GPIOx->MODER = temp; in HAL_GPIO_Init()
247 temp = GPIOx->PUPDR; in HAL_GPIO_Init()
250 GPIOx->PUPDR = temp; in HAL_GPIO_Init()
265 temp = EXTI->IMR; in HAL_GPIO_Init()
271 EXTI->IMR = temp; in HAL_GPIO_Init()
273 temp = EXTI->EMR; in HAL_GPIO_Init()
279 EXTI->EMR = temp; in HAL_GPIO_Init()
282 temp = EXTI->RTSR; in HAL_GPIO_Init()
[all …]
A Dstm32f0xx_hal_crc.c299 uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Accumulate() local
315 temp = hcrc->Instance->DR; in HAL_CRC_Accumulate()
319 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate()
323 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate()
337 return temp; in HAL_CRC_Accumulate()
359 uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Calculate() local
379 temp = hcrc->Instance->DR; in HAL_CRC_Calculate()
384 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Calculate()
389 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Calculate()
403 return temp; in HAL_CRC_Calculate()
A Dstm32f0xx_hal_uart_ex.c184 uint32_t temp = 0x0U; in HAL_RS485Ex_Init() local
235 temp = (AssertionTime << UART_CR1_DEAT_ADDRESS_LSB_POS); in HAL_RS485Ex_Init()
236 temp |= (DeassertionTime << UART_CR1_DEDT_ADDRESS_LSB_POS); in HAL_RS485Ex_Init()
237 MODIFY_REG(huart->Instance->CR1, (USART_CR1_DEDT|USART_CR1_DEAT), temp); in HAL_RS485Ex_Init()
/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/
A Dadc_15xx.c49 uint32_t temp; in Chip_ADC_SetIntBits() local
53 temp = pADC->INTEN & 0x07FFFFFF; in Chip_ADC_SetIntBits()
55 pADC->INTEN = temp | intMask; in Chip_ADC_SetIntBits()
61 uint32_t temp; in Chip_ADC_ClearIntBits() local
65 temp = pADC->INTEN & 0x07FFFFFF; in Chip_ADC_ClearIntBits()
67 pADC->INTEN = temp & ~intMask; in Chip_ADC_ClearIntBits()
73 uint32_t temp; in Chip_ADC_SetTHRSELBits() local
79 pADC->CHAN_THRSEL = temp | mask; in Chip_ADC_SetTHRSELBits()
85 uint32_t temp; in Chip_ADC_ClearTHRSELBits() local
174 uint32_t temp; in Chip_ADC_SetSequencerBits() local
[all …]
A Ddma_15xx.c73 uint32_t temp; in Chip_DMA_SetTranBits() local
77 temp = pDMA->DMACH[ch].XFERCFG & ~0xFC000CC0; in Chip_DMA_SetTranBits()
79 pDMA->DMACH[ch].XFERCFG = temp | mask; in Chip_DMA_SetTranBits()
85 uint32_t temp; in Chip_DMA_ClearTranBits() local
89 temp = pDMA->DMACH[ch].XFERCFG & ~0xFC000CC0; in Chip_DMA_ClearTranBits()
91 pDMA->DMACH[ch].XFERCFG = temp & ~mask; in Chip_DMA_ClearTranBits()
A Dswm_15xx.c56 uint32_t temp; in Chip_SWM_MovablePinAssign() local
59 temp = LPC_SWM->PINASSIGN[regIndex] & (~(0xFF << pinshift)); in Chip_SWM_MovablePinAssign()
60 LPC_SWM->PINASSIGN[regIndex] = temp | (pin << pinshift); in Chip_SWM_MovablePinAssign()
/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/
A Dstm32f0xx_ll_rtc.h1146 register uint32_t temp = 0U; in LL_RTC_TIME_GetHour() local
1184 register uint32_t temp = 0U; in LL_RTC_TIME_GetMinute() local
1222 register uint32_t temp = 0U; in LL_RTC_TIME_GetSecond() local
1251 register uint32_t temp = 0U; in LL_RTC_TIME_Config() local
1279 register uint32_t temp = 0U; in LL_RTC_TIME_Get() local
1418 register uint32_t temp = 0U; in LL_RTC_DATE_GetYear() local
1514 register uint32_t temp = 0U; in LL_RTC_DATE_GetMonth() local
1547 register uint32_t temp = 0U; in LL_RTC_DATE_GetDay() local
1590 register uint32_t temp = 0U; in LL_RTC_DATE_Config() local
1618 register uint32_t temp = 0U; in LL_RTC_DATE_Get() local
[all …]
A Dstm32f0xx_ll_gpio.h683 __IO uint32_t temp; in LL_GPIO_LockPin() local
687 temp = READ_REG(GPIOx->LCKR); in LL_GPIO_LockPin()
688 (void) temp; in LL_GPIO_LockPin()
/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/
A Dstm32f4xx_ltdc.c724 temp = 4; in LTDC_LayerPosition()
728 temp = 3; in LTDC_LayerPosition()
739 temp = 1; in LTDC_LayerPosition()
806 temp = 4; in LTDC_LayerSize()
810 temp = 3; in LTDC_LayerSize()
821 temp = 1; in LTDC_LayerSize()
864 temp = 4; in LTDC_LayerPixelFormat()
868 temp = 3; in LTDC_LayerPixelFormat()
879 temp = 1; in LTDC_LayerPixelFormat()
887 temp = 4; in LTDC_LayerPixelFormat()
[all …]
A Dstm32f4xx_dcmi.c138 uint32_t temp = 0x0; in DCMI_Init() local
154 temp = DCMI->CR; in DCMI_Init()
156 temp &= ~((uint32_t)DCMI_CR_CM | DCMI_CR_ESS | DCMI_CR_PCKPOL | in DCMI_Init()
161 temp |= ((uint32_t)DCMI_InitStruct->DCMI_CaptureMode | in DCMI_Init()
169 DCMI->CR = temp; in DCMI_Init()
A Dstm32f4xx_gpio.c574 uint32_t temp = 0x00; in GPIO_PinAFConfig() local
582 temp = ((uint32_t)(GPIO_AF) << ((uint32_t)((uint32_t)GPIO_PinSource & (uint32_t)0x07) * 4)) ; in GPIO_PinAFConfig()
584 temp_2 = GPIOx->AFR[GPIO_PinSource >> 0x03] | temp; in GPIO_PinAFConfig()
/external/lib/aes/
A Daes_core.c731 u32 temp; in AES_set_encrypt_key() local
753 temp = rk[3]; in AES_set_encrypt_key()
773 temp = rk[ 5]; in AES_set_encrypt_key()
795 temp = rk[ 7]; in AES_set_encrypt_key()
808 temp = rk[11]; in AES_set_encrypt_key()
813 (Te4[(temp ) & 0xff] & 0x000000ff); in AES_set_encrypt_key()
832 u32 temp; in AES_set_decrypt_key() local
843 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in AES_set_decrypt_key()
844 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in AES_set_decrypt_key()
845 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in AES_set_decrypt_key()
[all …]
/external/platform/lpc15xx/lpcopen/periph_temp/example/src/
A Dtemp.c45 static uint32_t temp[TEMPSAMPLES]; variable
82 return temp[TEMPSAMPLES - 1]; in tempGetSample()
122 temp[tempSampleIdx] = Chip_ADC_GetDataReg(LPC_ADC0, 0); in ADC0A_IRQHandler()
199 ADC_DR_RESULT(temp[0])); in main()
/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/
A Dstm32f2xx_dcmi.c147 uint32_t temp = 0x0; in DCMI_Init() local
163 temp = DCMI->CR; in DCMI_Init()
165 temp &= ~((uint32_t)DCMI_CR_CM | DCMI_CR_ESS | DCMI_CR_PCKPOL | in DCMI_Init()
170 temp |= ((uint32_t)DCMI_InitStruct->DCMI_CaptureMode | in DCMI_Init()
178 DCMI->CR = temp; in DCMI_Init()
A Dstm32f2xx_gpio.c536 uint32_t temp = 0x00; in GPIO_PinAFConfig() local
544 temp = ((uint32_t)(GPIO_AF) << ((uint32_t)((uint32_t)GPIO_PinSource & (uint32_t)0x07) * 4)) ; in GPIO_PinAFConfig()
546 temp_2 = GPIOx->AFR[GPIO_PinSource >> 0x03] | temp; in GPIO_PinAFConfig()
/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dgpiogroup_15xx.h91 uint32_t temp; in Chip_GPIOGP_ClearIntStatus() local
93 temp = pGPIOGPINT[group].CTRL; in Chip_GPIOGP_ClearIntStatus()
94 pGPIOGPINT[group].CTRL = temp | GPIOGR_INT; in Chip_GPIOGP_ClearIntStatus()
A Ddac_15xx.h252 uint32_t temp; in Chip_DAC_ConfigDMAConverterControl() local
254 temp = pDAC->CTRL & ~(DAC_CTRL_UNUSED | DAC_DACCTRL_MASK); in Chip_DAC_ConfigDMAConverterControl()
255 pDAC->CTRL = temp | dacFlags; in Chip_DAC_ConfigDMAConverterControl()
A Dadc_15xx.h239 uint32_t temp; in Chip_ADC_SetDivider() local
241 temp = pADC->CTRL & ~(ADC_CR_CLKDIV_MASK); in Chip_ADC_SetDivider()
242 pADC->CTRL = temp | (uint32_t) div; in Chip_ADC_SetDivider()
/external/platform/nrfx/drivers/src/
A Dnrfx_twis.c636 uint32_t temp; in nrfx_twis_error_get_and_clear_internal() local
646 [temp]"=&l"(temp) in nrfx_twis_error_get_and_clear_internal()
651 (void)temp; in nrfx_twis_error_get_and_clear_internal()
658 uint32_t temp; in nrfx_twis_error_get_and_clear_internal() local
667 [temp]"=&l"(temp) in nrfx_twis_error_get_and_clear_internal()
672 (void)temp; in nrfx_twis_error_get_and_clear_internal()

Completed in 56 milliseconds

12