diff options
| author | GuEe-GUI <[email protected]> | 2024-11-26 13:32:30 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2024-11-27 18:02:23 +0800 |
| commit | 56614a4cb94018a9dee257be4dfd9b69fd18cc46 (patch) | |
| tree | 2add7a0ad0b69eb1d151e7ba0c2594ab336f9e05 /components/drivers/include/rtdevice.h | |
| parent | e5bc2dbdc636488802e0c367b88a6af869983e27 (diff) | |
[DM/FEATURE] Support regulator
1. Add the regulator driver framework.
2. Add the generic voltage and current regulator API support
for drivers.
Signed-off-by: GuEe-GUI <[email protected]>
Diffstat (limited to 'components/drivers/include/rtdevice.h')
| -rw-r--r-- | components/drivers/include/rtdevice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/drivers/include/rtdevice.h b/components/drivers/include/rtdevice.h index ef395d3192..2e1860e00c 100644 --- a/components/drivers/include/rtdevice.h +++ b/components/drivers/include/rtdevice.h @@ -85,6 +85,10 @@ extern "C" { #include "drivers/pic.h" #endif /* RT_USING_PIC */ +#ifdef RT_USING_REGULATOR +#include "drivers/regulator.h" +#endif /* RT_USING_REGULATOR */ + #ifdef RT_USING_RESET #include "drivers/reset.h" #endif /* RT_USING_RESET */ |
