|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
AC057TC1 7-color e-ink display controller device-specific API extension. More...
Macros | |
| #define | PIXEL_FORMAT_L_4 (PIXEL_FORMAT_PRIV_START << 0) |
| AC057TC1 private pixel format. | |
| #define | AC057TC1_BITS_PER_PIXEL 4 |
| Bits per pixel for AC057TC1 format. | |
| #define | AC057TC1_PACK_PIXELS(pixel1, pixel2) |
| Pack two AC057TC1 pixels into a single byte. | |
| #define | AC057TC1_BUFFER_SIZE(width, height) |
| Calculate buffer size needed for AC057TC1 framebuffer. | |
AC057TC1 Color Definitions | |
| #define | AC057TC1_COLOR_BLACK 0x00 |
| Black color index. | |
| #define | AC057TC1_COLOR_WHITE 0x01 |
| White color index. | |
| #define | AC057TC1_COLOR_GREEN 0x02 |
| Green color index. | |
| #define | AC057TC1_COLOR_BLUE 0x03 |
| Blue color index. | |
| #define | AC057TC1_COLOR_RED 0x04 |
| Red color index. | |
| #define | AC057TC1_COLOR_YELLOW 0x05 |
| Yellow color index. | |
| #define | AC057TC1_COLOR_ORANGE 0x06 |
| Orange color index. | |
AC057TC1 7-color e-ink display controller device-specific API extension.
| #define AC057TC1_BITS_PER_PIXEL 4 |
#include <zephyr/drivers/display/ac057tc1.h>
Bits per pixel for AC057TC1 format.
| #define AC057TC1_BUFFER_SIZE | ( | width, | |
| height ) |
#include <zephyr/drivers/display/ac057tc1.h>
Calculate buffer size needed for AC057TC1 framebuffer.
| width | Display width in pixels |
| height | Display height in pixels |
| #define AC057TC1_COLOR_BLACK 0x00 |
#include <zephyr/drivers/display/ac057tc1.h>
Black color index.
| #define AC057TC1_COLOR_BLUE 0x03 |
#include <zephyr/drivers/display/ac057tc1.h>
Blue color index.
| #define AC057TC1_COLOR_GREEN 0x02 |
#include <zephyr/drivers/display/ac057tc1.h>
Green color index.
| #define AC057TC1_COLOR_ORANGE 0x06 |
#include <zephyr/drivers/display/ac057tc1.h>
Orange color index.
| #define AC057TC1_COLOR_RED 0x04 |
#include <zephyr/drivers/display/ac057tc1.h>
Red color index.
| #define AC057TC1_COLOR_WHITE 0x01 |
#include <zephyr/drivers/display/ac057tc1.h>
White color index.
| #define AC057TC1_COLOR_YELLOW 0x05 |
#include <zephyr/drivers/display/ac057tc1.h>
Yellow color index.
| #define AC057TC1_PACK_PIXELS | ( | pixel1, | |
| pixel2 ) |
#include <zephyr/drivers/display/ac057tc1.h>
Pack two AC057TC1 pixels into a single byte.
| pixel1 | First pixel (high nibble, left pixel) |
| pixel2 | Second pixel (low nibble, right pixel) |
| #define PIXEL_FORMAT_L_4 (PIXEL_FORMAT_PRIV_START << 0) |
#include <zephyr/drivers/display/ac057tc1.h>
AC057TC1 private pixel format.
4 bits per pixel, 2 pixels per byte (high nibble first). Supports 7 colors indexed 0-6 (3-bit color palette).