diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:09:59 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:09:59 +0100 |
commit | 2c981aec5e5c10f9fd036dfb48105b16f16e4233 (patch) | |
tree | 4d191cbb595202579c961214a116fe0e1faeb5e7 /code/fe310/eos/eve.h | |
parent | da01d561d0c0365d985516d3696b17302fd33770 (diff) |
net bugfix; net alloc changed
Diffstat (limited to 'code/fe310/eos/eve.h')
-rw-r--r-- | code/fe310/eos/eve.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/code/fe310/eos/eve.h b/code/fe310/eos/eve.h new file mode 100644 index 0000000..b3c7ec2 --- /dev/null +++ b/code/fe310/eos/eve.h @@ -0,0 +1,32 @@ +#include <stdint.h> + +#include "eve_def.h" + +void eos_eve_command(uint8_t command, uint8_t parameter); + +uint8_t eos_eve_read8(uint32_t addr); +uint16_t eos_eve_read16(uint32_t addr); +uint32_t eos_eve_read32(uint32_t addr); +void eos_eve_write8(uint32_t addr, uint8_t data); +void eos_eve_write16(uint32_t addr, uint16_t data); +void eos_eve_write32(uint32_t addr, uint32_t data); + +void eos_eve_active(void); +void eos_eve_standby(void); +void eos_eve_sleep(void); +void eos_eve_reset(void); +void eos_eve_brightness(uint8_t b); + +void eos_eve_dl_start(void); +void eos_eve_dl_write(uint32_t dl); +void eos_eve_dl_end(void); + +void eos_eve_cmd(uint32_t cmd, const char *fmt, ...); +void eos_eve_cmd_dl(uint32_t dl); +int eos_eve_cmd_done(void); +int eos_eve_cmd_exec(int w); +void eos_eve_cmd_burst_start(void); +void eos_eve_cmd_burst_end(void); + +int eos_eve_init(void); + |