Home
last modified time | relevance | path

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

/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Src/
A Dfm33lc0xx_fl_uart.c284 uint32_t tempTZBRG = 0, tempTH = 0; in FL_UART_InfraRed_Init() local
299tempTH = (uint32_t)(((float)initStruct->modulationDuty / 100.0) * ((float)(tempTZBRG + 1) / (float… in FL_UART_InfraRed_Init()
303tempTH = (uint32_t)(((float)initStruct->modulationDuty / 100.0) * (float)(tempTZBRG + 1) + 0.5); in FL_UART_InfraRed_Init()
306tempTH = ((float)((tempTZBRG >> 4) * tempTH) / (float)(tempTZBRG + 1)) < 0.95f ? tempTH : tempTH -… in FL_UART_InfraRed_Init()
308 FL_UART_WriteIRModulationDuty(UART, tempTH); in FL_UART_InfraRed_Init()

Completed in 12 milliseconds