Commit Graph

7 Commits (014c5f46f52588f5b8b1b0de1eb73e12406c0b51)

Author SHA1 Message Date
Jun-Ru Chang 7ee7fab4ee Include missing header file
MBED_ASSERT was defined in mbed_assert.h.

Signed-off-by: Jun-Ru Chang <jrjang@gmail.com>
2015-01-28 18:57:19 +08:00
Przemek Wirkus 8c50826562 Removed extra checks for operator[] and replaced them with MBED_ASSERT for cleaner code 2015-01-26 08:47:44 +00:00
Przemek Wirkus d068a2b479 Replaced const define with hardcoded bus size of 16 2015-01-06 08:42:49 +00:00
Przemek Wirkus 7d54c82331 * Changed Bus operator[]() parameter from unsigned int to int to match mbed code
guidelines.
* Uncommented assertions in operators and added check for operator[] index < 0.
* Moved one operator from private to public, this was a typo thing.
2015-01-06 08:33:24 +00:00
Przemek Wirkus db7e92853b Added mask() function to BusIn and BusOut components
You can use BusIn::mask() or BusOut::mask() to get binary mask of all connected and NC pins in bus
2014-12-19 14:37:00 +00:00
Przemek Wirkus c4fc8e68eb Added operator[] for BusIn and BusOut to add access to particular bit in random-iterator fashion 2014-12-19 14:06:46 +00:00
Emilio Monti 90b614baf8 Unify mbed library sources
Remove stdio retargeting reference form cmsis: keep it as a standalone
object
Avoid object files clash for sources with the same name
2013-06-14 17:32:15 +01:00