Lines Matching full:bitrate

234  * bitrate calculation functions.
252 * 1 time quantum (tq) has the length of 1/(core_clock / prescaler). The bitrate
340 /** The minimum bitrate supported by the CAN controller/transceiver combination. */
342 /** The maximum bitrate supported by the CAN controller/transceiver combination. */
344 /** Initial CAN classic/CAN FD arbitration phase bitrate. */
345 uint32_t bitrate; member
351 /** Initial CAN FD data phase bitrate. */
360 * @param _min_bitrate minimum bitrate supported by the CAN controller
361 * @param _max_bitrate maximum bitrate supported by the CAN controller
368 .bitrate = DT_PROP_OR(node_id, bitrate, \
381 * @param _min_bitrate minimum bitrate supported by the CAN controller
382 * @param _max_bitrate maximum bitrate supported by the CAN controller
825 * @brief Get minimum supported bitrate
827 * Get the minimum supported bitrate for the CAN controller/transceiver combination.
829 * @note The minimum bitrate represents limitations of the CAN controller/transceiver
830 * combination. Whether the CAN controller can achieve this bitrate depends on the CAN core clock
838 * @return Minimum supported bitrate in bits/s. A value of 0 means the lower limit is unspecified.
850 * @brief Get maximum supported bitrate
852 * Get the maximum supported bitrate for the CAN controller/transceiver combination.
854 * @note The maximum bitrate represents limitations of the CAN controller/transceiver
855 * combination. Whether the CAN controller can achieve this bitrate depends on the CAN core clock
863 * @return Maximum supported bitrate in bits/s
907 * @brief Calculate timing parameters from bitrate and sample point
909 * Calculate the timing parameters from a given bitrate in bits/s and the
910 * sampling point in permill (1/1000) of the entire bit time. The bitrate must
923 * @param bitrate Target bitrate in bits/s.
928 * @retval -EINVAL if the requested bitrate or sample point is out of range.
929 * @retval -ENOTSUP if the requested bitrate is not supported.
933 uint32_t bitrate, uint16_t sample_pnt);
994 * @param bitrate Target bitrate for the data phase in bits/s
999 * @retval -EINVAL if the requested bitrate or sample point is out of range.
1000 * @retval -ENOTSUP if the requested bitrate is not supported.
1004 uint32_t bitrate, uint16_t sample_pnt);
1027 * @brief Set the bitrate for the data phase of the CAN FD controller
1044 * @param bitrate_data Desired data phase bitrate.
1048 * @retval -EINVAL if the requested bitrate is out of range.
1049 * @retval -ENOTSUP if the requested bitrate not supported by the CAN controller/transceiver
1052 * @retval -EIO General input/output error, failed to set bitrate.
1198 * @brief Set the bitrate of the CAN controller
1212 * @param bitrate Desired arbitration phase bitrate.
1216 * @retval -EINVAL if the requested bitrate is out of range.
1217 * @retval -ENOTSUP if the requested bitrate not supported by the CAN controller/transceiver
1220 * @retval -EIO General input/output error, failed to set bitrate.
1222 __syscall int can_set_bitrate(const struct device *dev, uint32_t bitrate);