Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_smartcard_ex.c484 uint8_t numerator[] = {1U, 1U, 1U, 3U, 7U, 1U, 0U, 0U}; in SMARTCARDEx_SetNbDataToProcess() local
498 …hsmartcard->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) / (uint16… in SMARTCARDEx_SetNbDataToProcess()
499 …hsmartcard->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) / (uint16… in SMARTCARDEx_SetNbDataToProcess()
Dstm32l4xx_hal_usart_ex.c527 uint8_t numerator[] = {1U, 1U, 1U, 3U, 7U, 1U, 0U, 0U}; in USARTEx_SetNbDataToProcess() local
541 …husart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) / (uint16_t)d… in USARTEx_SetNbDataToProcess()
542 …husart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) / (uint16_t)d… in USARTEx_SetNbDataToProcess()
Dstm32l4xx_hal_uart_ex.c770 uint8_t numerator[] = {1U, 1U, 1U, 3U, 7U, 1U}; in UARTEx_SetNbDataToProcess() local
784 …huart->NbTxDataToProcess = (uint8_t)(tx_fifo_depth * numerator[tx_fifo_threshold]) / denominator[t… in UARTEx_SetNbDataToProcess()
785 …huart->NbRxDataToProcess = (uint8_t)(rx_fifo_depth * numerator[rx_fifo_threshold]) / denominator[r… in UARTEx_SetNbDataToProcess()
/loramac-node-latest/src/radio/sx126x/
Dradio.c1001 uint32_t numerator = 0; in RadioTimeOnAir() local
1008 numerator = 1000U * RadioGetGfskTimeOnAirNumerator( datarate, coderate, in RadioTimeOnAir()
1016 numerator = 1000U * RadioGetLoRaTimeOnAirNumerator( bandwidth, datarate, in RadioTimeOnAir()
1024 return ( numerator + denominator - 1 ) / denominator; in RadioTimeOnAir()
/loramac-node-latest/src/radio/lr1110/
Dradio.c936 uint32_t numerator = 0; in RadioTimeOnAir() local
943 numerator = 1000U * RadioGetGfskTimeOnAirNumerator( datarate, coderate, in RadioTimeOnAir()
951 numerator = 1000U * RadioGetLoRaTimeOnAirNumerator( bandwidth, datarate, in RadioTimeOnAir()
959 return ( numerator + denominator - 1 ) / denominator; in RadioTimeOnAir()
/loramac-node-latest/src/radio/sx1272/
Dsx1272.c695 uint32_t numerator = 0; in SX1272GetTimeOnAir() local
702numerator = 1000U * SX1272GetGfskTimeOnAirNumerator( preambleLen, fixLen, payloadLen, crcOn ); in SX1272GetTimeOnAir()
708numerator = 1000U * SX1272GetLoRaTimeOnAirNumerator( bandwidth, datarate, coderate, preambleLen,… in SX1272GetTimeOnAir()
715 return ( numerator + denominator - 1 ) / denominator; in SX1272GetTimeOnAir()
/loramac-node-latest/src/radio/sx1276/
Dsx1276.c781 uint32_t numerator = 0; in SX1276GetTimeOnAir() local
788numerator = 1000U * SX1276GetGfskTimeOnAirNumerator( preambleLen, fixLen, payloadLen, crcOn ); in SX1276GetTimeOnAir()
794numerator = 1000U * SX1276GetLoRaTimeOnAirNumerator( bandwidth, datarate, coderate, preambleLen,… in SX1276GetTimeOnAir()
801 return ( numerator + denominator - 1 ) / denominator; in SX1276GetTimeOnAir()