mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
* main * can_comms * main_declarations->main_definitions * rename this also * can_definitions * faults * power_saving * provision * gitversion * not included * no include for now
12 lines
328 B
C
12 lines
328 B
C
#pragma once
|
|
|
|
// WARNING: To stay in compliance with the SIL2 rules laid out in STM UM1840, we should never implement any of the available hardware low power modes.
|
|
// See rule: CoU_3
|
|
|
|
#define POWER_SAVE_STATUS_DISABLED 0
|
|
#define POWER_SAVE_STATUS_ENABLED 1
|
|
|
|
extern int power_save_status;
|
|
|
|
void set_power_save_state(int state);
|