Rohit Grover
|
c619bbbedf
|
add a cast for correctness.
|
2015-03-16 14:05:44 +00:00 |
Rohit Grover
|
35eb4b5250
|
use rtc1_getCounter64() as it should have been from the beginning.
|
2015-03-16 14:05:05 +00:00 |
Rohit Grover
|
f32efaee90
|
cleanup for a comment block.
|
2015-03-16 14:04:23 +00:00 |
Rohit Grover
|
712b53ff64
|
add rtc1_getCounter64()
|
2015-03-16 14:04:00 +00:00 |
Rohit Grover
|
8febc5aa93
|
replace a use of __INLINE with inline
|
2015-03-16 14:01:00 +00:00 |
Rohit Grover
|
71407656d2
|
trying a simplification to the math which computes RTC callback time.
|
2015-03-16 13:45:33 +00:00 |
Rohit Grover
|
b20dc8e4d4
|
another trivial change to a comment; fixed a typo.
|
2015-03-16 12:55:10 +00:00 |
Rohit Grover
|
ea4537df7d
|
shortened the comment in us_ticker_set_interrupt().
|
2015-03-16 12:48:54 +00:00 |
Rohit Grover
|
be71348f20
|
remove include for app_timer.h
need to add stdbool.h
|
2015-03-05 17:00:27 +00:00 |
Rohit Grover
|
e01cb0ae84
|
use a virtual 64-bit timestamp to avoid wrap-around issues. gosh!
|
2015-03-05 11:49:48 +00:00 |
Rohit Grover
|
aaf998f5cf
|
fix minor typo in the declaration of the macro RTC_UNITS_TO_MICROSECONDS()
|
2015-03-05 11:49:48 +00:00 |
Rohit Grover
|
0f60237a88
|
switch to tracking overflowCount instead of overflowBits.
|
2015-03-05 11:49:48 +00:00 |
Rohit Grover
|
e927c5bf27
|
rename INVOKE_CALLBACK() as invokeCallback()
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
47db597822
|
replace __INLINE with inline
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
eb9f2ce77f
|
don't invoke callbacks from set_interrupt().
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
20c6611548
|
remove dependencies from nRF51822
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
c48a1adf82
|
fix for #832 Merge branch 'replaceAppTimer'
Replace use of Nordic's AppTimer with an RTC driver.
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
70f91c10d5
|
white space diff.
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
5afdc68620
|
INVOKE_CALLBACK() is now a static inline instead of a macro.
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
f8fd702c09
|
rearranging some code so that state is tidied up before calling us_ticker_set_interrtupt()
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
ca9050e1ef
|
updating the comment header for set_interrupt() with a note.
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
7c0e814bd4
|
introduce FUZZY_RTC_TICKS for comparsions
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
5cf0f29cfc
|
minor white-space and comment improvements.
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
97e7fbbc8b
|
minor improvement to the wording for the comment header for set_interrupt()
|
2015-03-05 11:49:47 +00:00 |
Rohit Grover
|
42f801cc27
|
If set_interrupt() is used to setup an interrupt for a time in the past, then the callback is invoked right-away.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
ac8f3e5522
|
add a helper method: INVOKE_CALLBACK()
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
2e892c6c0d
|
rename callbackTime to newCallbackTime
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
90354c0a23
|
check for instantaneous callback before checking for repeat callback.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
b7cd6b6ae8
|
add a comment block for us_ticker_set_interrupt()
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
2e8c48c97e
|
minor white space diff
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
9c9553cfd7
|
set_interrupt: if callbackTime is NOW, invoke handler.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
7d688ad607
|
set_interrupt: short-circuit the setting of the same interrupt.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
54dc3c1dcf
|
reset us_ticker_callbackPending when disabling interrupts.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
53d2b152c4
|
us_ticker_set_interrupt() should set an interrupt for the given timestamp even if there's a pending interrupt.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
8c21ef208c
|
white space diffs.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
5906372a58
|
remove m_rtc1_running; made redundant by us_ticker_inited.
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
a13e31d6b0
|
remove app_timer.c
|
2015-03-05 11:49:46 +00:00 |
Rohit Grover
|
5a0f3b808c
|
MICROSECONDS_TO_RTC_UNITS() should round-up
|
2015-03-05 11:49:45 +00:00 |
Rohit Grover
|
b1575db8b3
|
rtc1_stop() doesn't need to be static.
|
2015-03-05 11:49:45 +00:00 |
Rohit Grover
|
2ee04fde1f
|
second round of changes at replacing app_timer with RTC
|
2015-03-05 11:49:45 +00:00 |
Rohit Grover
|
e6a7c6f648
|
attempting to replace appTimer
|
2015-03-05 11:49:45 +00:00 |
Martin Kojtal
|
d6156f425b
|
Merge pull request #946 from star297/master
Update system_MKL05Z4.c
|
2015-03-05 10:35:02 +01:00 |
Paul Staron
|
94c6bdb6c7
|
Update system_MKL05Z4.c
Added MCU internal oscillator 12pF loading capacitors, found not to be fitted to the FRDM board.
|
2015-03-04 10:24:41 +00:00 |
Martin Kojtal
|
428d7e001c
|
Merge pull request #941 from GustavWi/iar_mbed
IAR support nrf51 based boards
|
2015-03-04 10:48:42 +01:00 |
0xc0170
|
83f6c17514
|
mbed header file - mbed lib revision - 95
|
2015-03-03 16:29:41 +01:00 |
Martin Kojtal
|
9d2fd3e097
|
Merge pull request #945 from 0xc0170/fix_issue#940
Fix #940 - k64f a4/5 pinnames swap
|
2015-03-03 08:53:09 +01:00 |
0xc0170
|
2a1d12bcd4
|
Fix #940 - k64f a4/5 pinnames swap
|
2015-03-03 08:16:09 +01:00 |
Martin Kojtal
|
38514db08e
|
Merge pull request #936 from jeremybrodt/issue934
Fix issue #934: Handled condition when head is NULL.
|
2015-03-03 08:09:58 +01:00 |
GustavWi
|
6cf9a111e3
|
IAR support arch_ble, delta_defcm, hrm1017, nrf51_dk, nrf51_dongle, seed_tiny_ble.
|
2015-03-02 10:38:46 +01:00 |
Martin Kojtal
|
088b5c41a7
|
Merge pull request #937 from GustavWi/iar_mbed
IAR support: Fixed stack and heap sizes for MTS DRAGONFLY and MTS MDOT F...
|
2015-02-28 08:06:03 +01:00 |