0xc0170
453e81fd4c
Merge branch 'pinology' of https://github.com/PrzemekWirkus/mbed into PrzemekWirkus-pinology
...
Conflicts:
libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_DISCO_F401VC/cmsis_nvic.c
2015-01-27 14:15:48 +01:00
0xc0170
1fca34a068
HAL - NRF51822 - us ticker fix for the #839
...
There was a project header file which does not exist in mbed SDK, neither
some defines used from it most probably. This commit reverts those parts.
2015-01-26 15:32:14 +01:00
Rohit Grover
c8b9b9c2f5
add a declaration for the signed version of timestamp_t; used in a comparison
2015-01-12 07:58:31 +00:00
Rohit Grover
c18633dcf2
switching timestamp_t back to 32-bits.
...
The underlying us_tickers used for comparison are still 32-bits; keeping a 64-bit timestamp isn't going to be useful.
fixes #838
2015-01-09 12:42:55 +00:00
Przemek Wirkus
a53cd59b51
Added is_connected() method to Digital I/O classes APIs (DigitalIn, DigitalOut and DigitalInOut
2014-12-19 13:31:54 +00:00
Przemek Wirkus
b7f4d17aae
Added new GPIO HAL function gpio_is_connected() used to check if gpio_t is connected or initialized with NC
...
Simple gpio_t structure in TARGET_KPSDK_MCUS field name changed to allign to other HALs
2014-12-19 13:14:53 +00:00
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