mbed-os/hal/targets/cmsis/TARGET_ARM_SSG
Vincenzo Frascino 4f5b191e74 [BEETLE] Fix US_Ticker read
MBED OS requires an us_ticker_read function that returns a 32bit
value in microseconds. This can not be represented directly on
the Beetle Timer Load register.

max_us_on_reg = (0xFFFFFFFF ticks)/DIVIDER_US

This patch introduces an intermediate layer that counts the timer wraps
around and returns the correct value of us to the MBED library.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
2016-07-21 10:38:20 +01:00
..
TARGET_BEETLE [BEETLE] Fix US_Ticker read 2016-07-21 10:38:20 +01:00
TARGET_IOTSS_BEID Simplify layout: 2016-05-23 09:13:59 +01:00
TARGET_MPS2_M0 Simplify layout: 2016-05-23 09:13:59 +01:00
TARGET_MPS2_M0P Simplify layout: 2016-05-23 09:13:59 +01:00
TARGET_MPS2_M3 Simplify layout: 2016-05-23 09:13:59 +01:00
TARGET_MPS2_M4 Simplify layout: 2016-05-23 09:13:59 +01:00
TARGET_MPS2_M7 Simplify layout: 2016-05-23 09:13:59 +01:00