| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The missing includes are a bug in general, and prevent usage of i2c.h
from within Maple IDE in particular.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes to struct i2c_dev members:
- uint8 clk_line's type is changing and is being renamed, is now
rcc_clk_id clk_id
- uint8 ev_nvic_line's type is changing to nvic_irq_num
- uint8 er_nvic_line's type is changing to nvic_irq_num
Previous names were badly typed and inconsistent with the rest of
libmaple.
Exposing i2c_init(), also for consistency.
Adding/editing many Doxygen comments, for documentation and general
housekeeping.
|
|
|
|
|
| |
It's an i2c_state; calling it one. Previous uint8 type was broken
since I2C_STATE_ERROR is negative.
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Fix clock calculations for fast-mode support
-Add I2C_REMAP option to remap i2c1 (untested)
-Add I2C_BUS_RESET option to reset bus on initialization
-Add optional timeout parameter
-Doxygen comments
-Various cleanup
10-bit slave addressing is untested until I have a device that speaks
such.
|
|
|
|
| |
Added i2c_init() for consistency with rest of libmaple.
|
|
|
|
| |
Whitespace and column width changes only.
|
|
|
|
| |
See https://github.com/leaflabs/libmaple/commit/c57d760676b97a0fc9cb51db99c8400bae2cb3b7#commitcomment-338822
|
|
|
|
| |
Signed-off-by: Anton Eltchaninov <anton.eltchaninov@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Conflicts:
examples/test-fsmc.cpp
libmaple/rules.mk
wirish/boards.h
|
| |
|
| |
|
|
|