Searched refs:rgb_reg_set (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/misc/grove_lcd_rgb/ |
D | grove_lcd_rgb.c | 72 static void rgb_reg_set(const struct device *i2c, uint8_t addr, uint8_t dta) in rgb_reg_set() function 187 rgb_reg_set(config->bus.bus, REGISTER_R, r); in glcd_color_set() 188 rgb_reg_set(config->bus.bus, REGISTER_G, g); in glcd_color_set() 189 rgb_reg_set(config->bus.bus, REGISTER_B, b); in glcd_color_set() 269 rgb_reg_set(config->bus.bus, 0x00, 0x00); in glcd_initialize() 270 rgb_reg_set(config->bus.bus, 0x01, 0x05); in glcd_initialize() 271 rgb_reg_set(config->bus.bus, 0x08, 0xAA); in glcd_initialize() 275 rgb_reg_set(config->bus.bus, REGISTER_R, color_define[GROVE_RGB_WHITE][0]); in glcd_initialize() 276 rgb_reg_set(config->bus.bus, REGISTER_G, color_define[GROVE_RGB_WHITE][1]); in glcd_initialize() 277 rgb_reg_set(config->bus.bus, REGISTER_B, color_define[GROVE_RGB_WHITE][2]); in glcd_initialize()
|