| 1143 | MSH_CMD_EXPORT_ALIAS(rt_module_delay_sleep, pm_module_delay, module request delay sleep); |
| 1144 | |
| 1145 | static void rt_pm_run_mode_switch(int argc, char **argv) |
| 1146 | { |
| 1147 | int mode = 0; |
| 1148 | if (argc >= 2) |
| 1149 | { |
| 1150 | mode = atoi(argv[1]); |
| 1151 | } |
| 1152 | |
| 1153 | rt_pm_run_enter(mode); |
| 1154 | } |
| 1155 | MSH_CMD_EXPORT_ALIAS(rt_pm_run_mode_switch, pm_run, switch power management run mode); |
| 1156 | |
| 1157 | rt_uint32_t rt_pm_module_get_status(void) |
nothing calls this directly
no test coverage detected