Lines Matching +full:divider +full:- +full:int +full:- +full:5
4 * SPDX-License-Identifier: Apache-2.0
26 #define CAN_SJA1000_OCR_OCPOL1 BIT(5)
38 * @name SJA1000 Clock Divider Register (CDR) bits
44 #define CAN_SJA1000_CDR_RXINTEN BIT(5)
54 #define CAN_SJA1000_CDR_CD_DIV12 FIELD_PREP(CAN_SJA1000_CDR_CD_MASK, 5U)
84 * @brief SJA1000 driver front-end callback for writing a register value
93 * @brief SJA1000 driver front-end callback for reading a register value
121 * @param _cdr Initial SJA1000 Clock Divider Register (CDR) value
143 * @param _cdr Initial SJA1000 Clock Divider Register (CDR) value
189 int can_sja1000_set_timing(const struct device *dev, const struct can_timing *timing);
195 int can_sja1000_get_capabilities(const struct device *dev, can_mode_t *cap);
201 int can_sja1000_start(const struct device *dev);
207 int can_sja1000_stop(const struct device *dev);
213 int can_sja1000_set_mode(const struct device *dev, can_mode_t mode);
219 int can_sja1000_send(const struct device *dev, const struct can_frame *frame, k_timeout_t timeout,
226 int can_sja1000_add_rx_filter(const struct device *dev, can_rx_callback_t callback, void *user_data,
233 void can_sja1000_remove_rx_filter(const struct device *dev, int filter_id);
240 int can_sja1000_recover(const struct device *dev, k_timeout_t timeout);
247 int can_sja1000_get_state(const struct device *dev, enum can_state *state,
261 int can_sja1000_get_max_filters(const struct device *dev, bool ide);
275 int can_sja1000_init(const struct device *dev);