/* * Copyright (c) 2006-2025 RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2026-06-23 ox-horse first version * 2026-08-19 ox-horse Add N32H47X_48X and N32H49X */ #ifndef __DRV_LPTIM_H__ #define __DRV_LPTIM_H__ #include /* 0x20 - 0x3F udevice control commands */ typedef enum { DRV_HW_LPTIMER_CTRL_GET_TICK_MAX = 0x20, /* get the maximum tick value */ DRV_HW_LPTIMER_CTRL_GET_FREQ = 0X21, /* get the timer frequency */ DRV_HW_LPTIMER_CTRL_START = 0X22, /* set the timeout value */ DRV_HW_LPTIMER_CTRL_GET_COUNT = 0X23, /* get the current count value */ } drv_hw_lptimer_ctrl_t; #endif /* __DRV_LPTIM_H__ */