rgb: add initial rgb code

It initializes the rgb driver, and can write to its registers.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-04-02 18:10:17 +08:00
parent a3c05bd19e
commit 85bdc7991c
2 changed files with 52 additions and 0 deletions

6
sw/include/rgb.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef _RGB_H_
#define _RGB_H_
void rgb_init(void);
#endif /* _RGB_H_ */