VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
#include "../../vsf_usbh.h"
#include "./vsf_usbh_dl1x5.h"
#include "service/vsf_service.h"
#include "kernel/vsf_kernel.h"
#include "component/vsf_component.h"
Data Structures | |
struct | vk_usbh_dl1x5_t |
Macros | |
#define | __VSF_EDA_CLASS_INHERIT__ |
#define | __VSF_USBH_CLASS_IMPLEMENT_CLASS__ |
#define | __VSF_DISP_CLASS_INHERIT__ |
#define | __VSF_DL1X5_USE_DISP |
#define | DL1X5_PIXELS_IN_CMD 256 |
#define | VSF_USBH_DL1X5_CFG_CLS ENABLED |
#define | VSF_USBH_DL1X5_CFG_READ_EDID ENABLED |
#define | VSF_USBH_DL1X5_CFG_CMD_BUFFER_SIZE (6 + 2 * DL1X5_PIXELS_IN_CMD) |
Typedefs | |
typedef enum dl1x5_cmd_t | dl1x5_cmd_t |
typedef enum usb_dl1x5_req_t | usb_dl1x5_req_t |
typedef struct vk_usbh_dl1x5_t | vk_usbh_dl1x5_t |
Enumerations | |
enum | dl1x5_cmd_t { DL1X5_CMD_WRITE_VREG = 0x20 , DL1X5_CMD_WRITE_RAW8 = 0x60 , DL1X5_CMD_WRITE_RL8 = 0x61 , DL1X5_CMD_COPY8 = 0x62 , DL1X5_CMD_WRITE_RAW16 = 0x68 , DL1X5_CMD_WRITE_RL16 = 0x69 , DL1X5_CMD_COPY16 = 0x6A , DL1X5_CMD_NULL = 0xA0 } |
enum | usb_dl1x5_req_t { USB_DL1X5_REQ_READ_EDID = 0x02 , USB_DL1X5_REQ_GET_STATUS = 0x06 , USB_DL1X5_REQ_SET_CHANNEL = 0x12 } |
Functions | |
void | vsf_dl1x5_on_new_dev (void *dev, edid_t *edid) |
vsf_err_t | vk_usbh_dl1x5_commit (void *dev) |
void | vsf_dl1x5_on_new_disp (vk_disp_t *disp) |
void | vk_usbh_dl1x5_set_callback (void *dev, vk_usbh_dl1x5_callback_t callback) |
vga_timing_t * | vk_usbh_dl1x5_get_timing (void *dev) |
bool | vk_usbh_dl1x5_fill_color (void *dev, uint_fast32_t gram_pixel_addr, uint_fast16_t pixel_num, uint16_t color_rgb565) |
bool | vk_usbh_dl1x5_fill_buf (void *dev, uint_fast32_t gram_pixel_addr, uint_fast16_t pixel_num, uint16_t *color_rgb565_ptr) |
Variables | |
const vk_usbh_class_drv_t | vk_usbh_dl1x5_drv |
#define __VSF_EDA_CLASS_INHERIT__ |
#define __VSF_USBH_CLASS_IMPLEMENT_CLASS__ |
#define __VSF_DISP_CLASS_INHERIT__ |
#define __VSF_DL1X5_USE_DISP |
#define DL1X5_PIXELS_IN_CMD 256 |
#define VSF_USBH_DL1X5_CFG_CLS ENABLED |
#define VSF_USBH_DL1X5_CFG_READ_EDID ENABLED |
#define VSF_USBH_DL1X5_CFG_CMD_BUFFER_SIZE (6 + 2 * DL1X5_PIXELS_IN_CMD) |
typedef enum dl1x5_cmd_t dl1x5_cmd_t |
typedef enum usb_dl1x5_req_t usb_dl1x5_req_t |
typedef struct vk_usbh_dl1x5_t vk_usbh_dl1x5_t |
enum dl1x5_cmd_t |
enum usb_dl1x5_req_t |
|
extern |
|
extern |
|
extern |
void vk_usbh_dl1x5_set_callback | ( | void * | dev, |
vk_usbh_dl1x5_callback_t | callback | ||
) |
vga_timing_t * vk_usbh_dl1x5_get_timing | ( | void * | dev | ) |
bool vk_usbh_dl1x5_fill_color | ( | void * | dev, |
uint_fast32_t | gram_pixel_addr, | ||
uint_fast16_t | pixel_num, | ||
uint16_t | color_rgb565 | ||
) |
bool vk_usbh_dl1x5_fill_buf | ( | void * | dev, |
uint_fast32_t | gram_pixel_addr, | ||
uint_fast16_t | pixel_num, | ||
uint16_t * | color_rgb565_ptr | ||
) |
const vk_usbh_class_drv_t vk_usbh_dl1x5_drv |