Home
last modified time | relevance | path

Searched +full:reg +full:- +full:cmr (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/dts/bindings/counter/
Datmel,sam-tc.yaml1 # SPDX-License-Identifier: Apache-2.0
5 compatible: "atmel,sam-tc"
8 - name: base.yaml
9 - name: pinctrl-device.yaml
12 reg:
25 Valid range: 0 - 2
30 Clock source selection as defined by TCCLKS bit-field of TC_CMR
40 reg-cmr:
43 Alternate value of the CMR (Channel Mode Register) register.
47 properties like channel-num, pinctrl-0 this allows e.g. to configure
[all …]
/Zephyr-latest/drivers/can/
Dcan_sja1000.c4 * SPDX-License-Identifier: Apache-2.0
22 static inline void can_sja1000_write_reg(const struct device *dev, uint8_t reg, uint8_t val) in can_sja1000_write_reg() argument
24 const struct can_sja1000_config *config = dev->config; in can_sja1000_write_reg()
26 config->write_reg(dev, reg, val); in can_sja1000_write_reg()
29 static inline uint8_t can_sja1000_read_reg(const struct device *dev, uint8_t reg) in can_sja1000_read_reg() argument
31 const struct can_sja1000_config *config = dev->config; in can_sja1000_read_reg()
33 return config->read_reg(dev, reg); in can_sja1000_read_reg()
44 if (--retries < 0) { in can_sja1000_enter_reset_mode()
45 return -EIO; in can_sja1000_enter_reset_mode()
72 if (--retries < 0) { in can_sja1000_leave_reset_mode()
[all …]