Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_smartcard_ex.c485 uint8_t denominator[] = {8U, 4U, 2U, 4U, 8U, 1U, 1U, 1U}; in SMARTCARDEx_SetNbDataToProcess() local
498 …= ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) / (uint16_t)denominator[tx_fifo_thresho… in SMARTCARDEx_SetNbDataToProcess()
499 …= ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) / (uint16_t)denominator[rx_fifo_thresho… in SMARTCARDEx_SetNbDataToProcess()
Dstm32l4xx_hal_usart_ex.c528 uint8_t denominator[] = {8U, 4U, 2U, 4U, 8U, 1U, 1U, 1U}; in USARTEx_SetNbDataToProcess() local
541 …= ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) / (uint16_t)denominator[tx_fifo_thresho… in USARTEx_SetNbDataToProcess()
542 …= ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) / (uint16_t)denominator[rx_fifo_thresho… in USARTEx_SetNbDataToProcess()
Dstm32l4xx_hal_uart_ex.c771 uint8_t denominator[] = {8U, 4U, 2U, 4U, 8U, 1U}; in UARTEx_SetNbDataToProcess() local
784 …aToProcess = (uint8_t)(tx_fifo_depth * numerator[tx_fifo_threshold]) / denominator[tx_fifo_thresho… in UARTEx_SetNbDataToProcess()
785 …aToProcess = (uint8_t)(rx_fifo_depth * numerator[rx_fifo_threshold]) / denominator[rx_fifo_thresho… in UARTEx_SetNbDataToProcess()
/loramac-node-latest/src/radio/sx126x/
Dradio.c1002 uint32_t denominator = 1; in RadioTimeOnAir() local
1011 denominator = datarate; in RadioTimeOnAir()
1019 denominator = RadioGetLoRaBandwidthInHz( Bandwidths[bandwidth] ); in RadioTimeOnAir()
1024 return ( numerator + denominator - 1 ) / denominator; in RadioTimeOnAir()
/loramac-node-latest/src/radio/lr1110/
Dradio.c937 uint32_t denominator = 1; in RadioTimeOnAir() local
946 denominator = datarate; in RadioTimeOnAir()
954 denominator = RadioGetLoRaBandwidthInHz( Bandwidths[bandwidth] ); in RadioTimeOnAir()
959 return ( numerator + denominator - 1 ) / denominator; in RadioTimeOnAir()
/loramac-node-latest/src/radio/sx1272/
Dsx1272.c696 uint32_t denominator = 1; in SX1272GetTimeOnAir() local
703 denominator = datarate; in SX1272GetTimeOnAir()
710 denominator = SX1272GetLoRaBandwidthInHz( bandwidth ); in SX1272GetTimeOnAir()
715 return ( numerator + denominator - 1 ) / denominator; in SX1272GetTimeOnAir()
/loramac-node-latest/src/radio/sx1276/
Dsx1276.c782 uint32_t denominator = 1; in SX1276GetTimeOnAir() local
789 denominator = datarate; in SX1276GetTimeOnAir()
796 denominator = SX1276GetLoRaBandwidthInHz( bandwidth ); in SX1276GetTimeOnAir()
801 return ( numerator + denominator - 1 ) / denominator; in SX1276GetTimeOnAir()