diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-11-18 02:19:50 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-11-18 02:19:50 +0000 |
commit | e53fce0279237c3db90f98ae1a93aa84a6d28853 (patch) | |
tree | 2ac35215a6a7f712df2bb14ec1582e27e6739283 /firmware/export/mc13783.h | |
parent | 3a631f9f6430e26b7a857ce1b2f657ac40e81003 (diff) |
MC13783 cleanup. Remove functions proving themselves not so useful and add mc13783_write_masked which is pretty useful. Add an error code definition for invalid data.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19132 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/mc13783.h')
-rw-r--r-- | firmware/export/mc13783.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/mc13783.h b/firmware/export/mc13783.h index eede1cd307..32b788544e 100644 --- a/firmware/export/mc13783.h +++ b/firmware/export/mc13783.h @@ -1281,12 +1281,12 @@ uint32_t mc13783_set(unsigned address, uint32_t bits); uint32_t mc13783_clear(unsigned address, uint32_t bits); int mc13783_write(unsigned address, uint32_t data); uint32_t mc13783_write_masked(unsigned address, uint32_t data, uint32_t mask); -int mc13783_write_multiple(unsigned start, const uint32_t *buffer, int count); int mc13783_write_regset(const unsigned char *regs, const uint32_t *data, int count); uint32_t mc13783_read(unsigned address); -int mc13783_read_multiple(unsigned start, uint32_t *buffer, int count); int mc13783_read_regset(const unsigned char *regs, uint32_t *buffer, int count); +#define MC13783_DATA_ERROR UINT32_MAX + /* Statically-registered event enable/disable */ enum mc13783_event_sets { |