Searched refs:font_buf (Results 1 – 4 of 4) sorted by relevance
564 rt_uint8_t *font_buf = RT_NULL; in lcd_show_char() local574 font_buf = (rt_uint8_t *)rt_malloc(size * size); in lcd_show_char()575 if (!font_buf) in lcd_show_char()600 font_buf[2 * (8 * pos + t) + 1] = colortemp; in lcd_show_char()605 rt_spi_send(spi_dev_lcd, font_buf, size * size); in lcd_show_char()606 rt_free(font_buf); in lcd_show_char()617 font_buf = (rt_uint8_t *)rt_malloc(size * size); in lcd_show_char()618 if (!font_buf) in lcd_show_char()675 rt_free(font_buf); in lcd_show_char()687 if (!font_buf) in lcd_show_char()[all …]
626 rt_uint8_t *font_buf = RT_NULL; in lcd_show_char() local636 font_buf = (rt_uint8_t *)rt_malloc(size * size); in lcd_show_char()637 if (!font_buf) in lcd_show_char()662 font_buf[2 * (8 * pos + t) + 1] = colortemp; in lcd_show_char()667 rt_spi_send(spi_dev_lcd, font_buf, size * size); in lcd_show_char()668 rt_free(font_buf); in lcd_show_char()679 font_buf = (rt_uint8_t *)rt_malloc(size * size); in lcd_show_char()680 if (!font_buf) in lcd_show_char()737 rt_free(font_buf); in lcd_show_char()749 if (!font_buf) in lcd_show_char()[all …]
647 rt_uint8_t *font_buf = RT_NULL; in lcd_show_char() local657 font_buf = (rt_uint8_t *)rt_malloc(size * size / 2 * 3); in lcd_show_char()658 if (!font_buf) in lcd_show_char()682 font_buf[3 * (8 * pos + t)] = colortemp >> 16; in lcd_show_char()684 font_buf[3 * (8 * pos + t) + 2] = colortemp; in lcd_show_char()689 rt_spi_send(spi_dev_lcd, font_buf, size * size / 2 * 3); in lcd_show_char()690 rt_free(font_buf); in lcd_show_char()702 if (!font_buf) in lcd_show_char()761 rt_free(font_buf); in lcd_show_char()773 if (!font_buf) in lcd_show_char()[all …]
679 rt_uint8_t *font_buf = RT_NULL; in lcd_show_char() local689 font_buf = (rt_uint8_t *)rt_malloc(size * size); in lcd_show_char()690 if (!font_buf) in lcd_show_char()719 lcd_write_data_buffer(font_buf, size * size); in lcd_show_char()720 rt_free(font_buf); in lcd_show_char()731 font_buf = (rt_uint8_t *)rt_malloc(size * size); in lcd_show_char()732 if (!font_buf) in lcd_show_char()787 lcd_write_data_buffer(font_buf, size * size); in lcd_show_char()788 rt_free(font_buf); in lcd_show_char()800 if (!font_buf) in lcd_show_char()[all …]
Completed in 12 milliseconds