Home
last modified time | relevance | path

Searched refs:WriteCmd (Results 1 - 7 of 7) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/
H A Doled_ssd1306.c62 static uint32_t WriteCmd(uint8_t cmd) in WriteCmd() function
120 uint32_t status = WriteCmd(initCmds[i]); in OledInit()
130 WriteCmd(0xb0 + y); in OledSetPosition()
131 WriteCmd(((x & 0xf0) >> FOUR) | 0x10); in OledSetPosition()
132 WriteCmd(x & 0x0f); in OledSetPosition()
141 WriteCmd(0xb0 + m); in OledFillScreen()
142 WriteCmd(0x00); in OledFillScreen()
143 WriteCmd(0x10); in OledFillScreen()
/vendor/hisilicon/hispark_pegasus/demo/hello_world_demo/
H A Doled_ssd1306.c66 static uint32_t WriteCmd(uint8_t cmd) in WriteCmd() function
126 uint32_t status = WriteCmd(initCmds[i]); in OledInit()
136 WriteCmd(0xb0 + y); in OledSetPosition()
137 WriteCmd(((x & 0xf0) >> 4) | 0x10); /* 在0xf0右移4位,与0x10或,实现了写数据 */ in OledSetPosition()
138 WriteCmd(x & 0x0f); in OledSetPosition()
145 WriteCmd(0xb0 + m); in OledFillScreen()
146 WriteCmd(0x00); in OledFillScreen()
147 WriteCmd(0x10); in OledFillScreen()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
H A Dapp_demo_i2c_oled.c278 static unsigned int WriteCmd(unsigned char cmd) // 写命令 in WriteCmd() function
301 status = WriteCmd(DISPLAY_OFF); // --display off in SetOledAddress()
305 status = WriteCmd(SET_LOW_COLUMN_ADDRESS); // ---set low column address in SetOledAddress()
309 status = WriteCmd(SET_HIGH_COLUMN_ADDRESS); // ---set high column address in SetOledAddress()
313 status = WriteCmd(SET_START_LINE_ADDRESS); // --set start line address in SetOledAddress()
317 status = WriteCmd(SET_PAGE_ADDRESS); // --set page address in SetOledAddress()
328 status = WriteCmd(CONTRACT_CONTROL); // contract control in SetOledControlCmd()
332 status = WriteCmd(FULL_SCREEN); // --128 in SetOledControlCmd()
336 status = WriteCmd(SET_SEGMENT_REMAP); // set segment remap in SetOledControlCmd()
340 status = WriteCmd(NORMA in SetOledControlCmd()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
H A Dapp_demo_i2c_oled.c278 static unsigned int WriteCmd(unsigned char cmd) // 写命令 in WriteCmd() function
301 status = WriteCmd(DISPLAY_OFF); // --display off in SetOledAddress()
305 status = WriteCmd(SET_LOW_COLUMN_ADDRESS); // ---set low column address in SetOledAddress()
309 status = WriteCmd(SET_HIGH_COLUMN_ADDRESS); // ---set high column address in SetOledAddress()
313 status = WriteCmd(SET_START_LINE_ADDRESS); // --set start line address in SetOledAddress()
317 status = WriteCmd(SET_PAGE_ADDRESS); // --set page address in SetOledAddress()
328 status = WriteCmd(CONTRACT_CONTROL); // contract control in SetOledControlCmd()
332 status = WriteCmd(FULL_SCREEN); // --128 in SetOledControlCmd()
336 status = WriteCmd(SET_SEGMENT_REMAP); // set segment remap in SetOledControlCmd()
340 status = WriteCmd(NORMA in SetOledControlCmd()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
H A Dapp_demo_i2c_oled.c278 static unsigned int WriteCmd(unsigned char cmd) // 写命令 in WriteCmd() function
301 status = WriteCmd(DISPLAY_OFF); // --display off in SetOledAddress()
305 status = WriteCmd(SET_LOW_COLUMN_ADDRESS); // ---set low column address in SetOledAddress()
309 status = WriteCmd(SET_HIGH_COLUMN_ADDRESS); // ---set high column address in SetOledAddress()
313 status = WriteCmd(SET_START_LINE_ADDRESS); // --set start line address in SetOledAddress()
317 status = WriteCmd(SET_PAGE_ADDRESS); // --set page address in SetOledAddress()
328 status = WriteCmd(CONTRACT_CONTROL); // contract control in SetOledControlCmd()
332 status = WriteCmd(FULL_SCREEN); // --128 in SetOledControlCmd()
336 status = WriteCmd(SET_SEGMENT_REMAP); // set segment remap in SetOledControlCmd()
340 status = WriteCmd(NORMA in SetOledControlCmd()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dssd1306_oled.h108 static unsigned int WriteCmd(unsigned char cmd);
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A Dssd1306_oled.h108 static unsigned int WriteCmd(unsigned char cmd);

Completed in 5 milliseconds