generated from hulk/gd32e23x_template_cmake_vscode
18 lines
351 B
C
18 lines
351 B
C
#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 |