generated from hulk/gd32e23x_template_cmake_vscode
add dlpc3421 driver from kimi
This commit is contained in:
18
Inc/dlpc3421.h
Normal file
18
Inc/dlpc3421.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef __DLPC3421_H
|
||||
#define __DLPC3421_H
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
bool dlp_probe(void);
|
||||
int dlp_init(void);
|
||||
void dlp_on(void);
|
||||
void dlp_off(void);
|
||||
void dlp_set_current(uint8_t r, uint8_t g, uint8_t b);
|
||||
void dlp_reset(void);
|
||||
void dlp_dump_regs(void);
|
||||
|
||||
#ifdef DLP_PATTERN_TEST
|
||||
void dlp_test_pattern(uint8_t pattern_id);
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user