| | |
| | | /* |
| | | * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and |
| | | * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and |
| | | * its subsidiaries and affiliates (collectly called MKSEMI). |
| | | * |
| | | * All rights reserved. |
| | |
| | | * @param[in] id Dual timer ID |
| | | * @return Current value of the decrementing counter |
| | | */ |
| | | #if defined(__ICCARM__) |
| | | uint32_t dual_timer_get(enum DUAL_TIMER_DEV_T id); |
| | | #else |
| | | uint32_t RAM_FUNC dual_timer_get(enum DUAL_TIMER_DEV_T id); |
| | | #endif |
| | | |
| | | /** |
| | | * @brief DUAL TIMERx work at One-shot mode, usually disable interrupt |