Lines Matching +full:rt1718s +full:- +full:gpio +full:- +full:port
4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/drivers/gpio.h>
55 /* RT1718S chip driver config */
59 /* Alert GPIO pin */
61 /* GPIO port device */
65 /* RT1718S chip driver data */
67 /* RT1718S device */
78 * @brief Read a RT1718S register
80 * @param dev RT1718S device
88 const struct rt1718s_config *const config = (const struct rt1718s_config *)dev->config; in rt1718s_reg_read_byte()
90 return i2c_reg_read_byte_dt(&config->i2c_dev, reg_addr, val); in rt1718s_reg_read_byte()
94 * @brief Read a sequence of RT1718S registers
96 * @param dev RT1718S device
106 const struct rt1718s_config *const config = (const struct rt1718s_config *)dev->config; in rt1718s_reg_burst_read()
108 return i2c_burst_read_dt(&config->i2c_dev, start_addr, buf, num_bytes); in rt1718s_reg_burst_read()
112 * @brief Write a RT1718S register
114 * @param dev RT1718S device
122 const struct rt1718s_config *const config = (const struct rt1718s_config *)dev->config; in rt1718s_reg_write_byte()
124 return i2c_reg_write_byte_dt(&config->i2c_dev, reg_addr, val); in rt1718s_reg_write_byte()
128 * @brief Write a sequence of RT1718S registers
130 * @param dev RT1718S device
140 const struct rt1718s_config *const config = (const struct rt1718s_config *)dev->config; in rt1718s_reg_burst_write()
142 return i2c_burst_write_dt(&config->i2c_dev, start_addr, buf, num_bytes); in rt1718s_reg_burst_write()
146 * @brief Compare data & write a RT1718S register
148 * @param dev RT1718S device
166 * @brief Dispatch GPIO port alert
168 * @param dev RT1718S device