Commit Graph

16 Commits (44b72fbb870ac53caee8980e2e4217ef01314f87)

Author SHA1 Message Date
Rohit Grover 675ddde2f4 introduce a timestamp_t to track timeouts for TimerEvents.
The previous type used for this purpose was unsigned int, which was both
un-portable and liable to wrap-around.
2014-08-29 17:02:39 +01:00
mazgch c1d3cb5aa3 address concern from watarai-san about code size and performance by creating a set of common initialization functions 2014-03-04 14:09:41 +01:00
mazgch be8bca4aa0 proposed change of gpio_api 2014-03-04 11:27:30 +01:00
Bogdan Marinescu fbeb52d613 Added RTS/CTS flow control
Currently implemented only for LPC1768. On this platform, when hardware
flow control is not directly supported, it will be emulated.
Also added "not_implemented.c" as a placeholder for various HAL functions
that might not be implemented on all platforms (in this particular case,
serial_set_flow_control). These are weak implementations that default to a
"not implemented" error message.
2013-12-04 19:42:11 +02:00
pbrier b1d88905a9 fixed can_filter() prototype (prevents build of LPC1768) 2013-10-26 17:02:29 +02:00
Joris Aerts 067e446ae2 Add CAN->filter to API and add placeholders to hal's
Add filter function and modify CAN->read definition to allow reading specific messages.
2013-10-22 10:57:28 -07:00
0xc0170 b0537af763 gpio irq enable/disable
- InterruptIn disable_irq/enable_irq
2013-10-19 22:28:29 +02:00
Joris Aerts c747e2533f Rename some argument and enum names to match existing naming
Add CAN->mode(Mode mode) function (not implemented in hal)
2013-08-05 17:28:27 -07:00
Joris Aerts 63b2b271d1 Refactor CAN interrupt handling to LPC176X HAL implementation
Add handlers for other CAN interrupt events
Changed CAN private entities to protected
2013-07-31 07:26:32 -07:00
Bogdan Marinescu 0c33d40fbb Added support for UART break generation. 2013-07-17 15:29:39 +03:00
Emilio Monti 585b369ab8 Explicitly add gpio write/read prototypes to the HAL header 2013-07-02 10:37:57 +01:00
Emilio Monti 95e66aa4c6 Move the target dependent code from the shared code to the HAL implementation 2013-07-01 18:05:31 +01:00
Bogdan Marinescu 28961db4a5 Added timeout to i2c_stop operations
Fixes this issue:

http://mbed.org/users/mbed_official/code/mbed/issues/3
2013-07-01 16:28:35 +01:00
Bogdan Marinescu bfeb47f523 I2C API refactoring
Now the I2C send/receive functions in the mbed HAL return the number of
bytes actually transferred or an error code (a negative value). The
public API remains unchanged.
2013-07-01 16:28:32 +01:00
Joe Turner 92a5e412bd Merge branch 'master' into STM32F4
Conflicts:
	workspace_tools/build_api.py
	workspace_tools/data/support.py
	workspace_tools/libraries.py
	workspace_tools/paths.py
	workspace_tools/toolchains.py
2013-06-19 13:10:44 +01: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