diff options
author | Keith Packard <keithp@keithp.com> | 2012-04-25 23:26:57 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-04-25 23:26:57 -0700 |
commit | 0266e08dbf19e2204fb5f758d5d0f944d2afff7d (patch) | |
tree | bff1d55bfbe6d8ff26f8ca851b332ac3d052e66b /src/stm/ao_arch_funcs.h | |
parent | 962476911aaab17fd482593a0e8b95fe47de2f29 (diff) |
altos: Add STM I2C recv and stop funcs
Recv doesn't appear to work with more than one byte
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch_funcs.h')
-rw-r--r-- | src/stm/ao_arch_funcs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 05bb7784..3027b337 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -131,6 +131,9 @@ uint8_t ao_i2c_start(uint8_t i2c_index, uint16_t address); void +ao_i2c_stop(uint8_t i2c_index); + +void ao_i2c_put(uint8_t i2c_index); void |