Lines Matching refs:rv
252 mraa::Result rv = mraa::SUCCESS; in writeChar() local
267 rv = m_i2c_lcd_control.writeReg(LCD_DATA, data); in writeChar()
271 return rv; in writeChar()
284 mraa::Result rv = mraa::SUCCESS; in setHorizontalMode() local
285 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0xA0); // remap to in setHorizontalMode()
287 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x42); // horizontal mode in setHorizontalMode()
291 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x75); // Set Row Address in setHorizontalMode()
293 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x00); // Start 0 in setHorizontalMode()
295 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x5f); // End 95 in setHorizontalMode()
299 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x15); // Set Column Address in setHorizontalMode()
301 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x08); // Start from 8th Column of driver in setHorizontalMode()
304 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x37); // End at (8 + 47)th column. Each in setHorizontalMode()
307 return rv; in setHorizontalMode()
313 mraa::Result rv = mraa::SUCCESS; in setVerticalMode() local
314 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0xA0); // remap to in setVerticalMode()
316 rv = m_i2c_lcd_control.writeReg(LCD_CMD, 0x46); // Vertical mode in setVerticalMode()
318 return rv; in setVerticalMode()