Code taken from Ambiq Micro's am_hal_systick.c and converted to inline static for speed @brief Get the current count value in the SYSTICK. This function gets the current count value in the systick timer. @return Current count value.
| 35 | // |
| 36 | //***************************************************************************** |
| 37 | __attribute__ ((always_inline)) inline static u32 __am_hal_systick_count() { |
| 38 | return SysTick->VAL; |
| 39 | } |
| 40 | |
| 41 | #define FL_CLOCKLESS_CONTROLLER_DEFINED 1 |
| 42 |
no outgoing calls
no test coverage detected