comparison src/cs/layer1/include/l1_trace.h @ 292:0f688d07b068

block deep sleep on activity in new PWT and vibrator drivers
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Mar 2022 00:29:19 +0000
parents 4e78acac3d88
children
comparison
equal deleted inserted replaced
291:a72feaed133a 292:0f688d07b068
98 #define BIG_SLEEP_DUE_TO_GAUGING 4 // deep sleep is forbiden by not enought gauging 98 #define BIG_SLEEP_DUE_TO_GAUGING 4 // deep sleep is forbiden by not enought gauging
99 #define BIG_SLEEP_DUE_TO_SLEEP_MODE 5 // deep sleep is forbiden by the sleep mode enabled 99 #define BIG_SLEEP_DUE_TO_SLEEP_MODE 5 // deep sleep is forbiden by the sleep mode enabled
100 #define BIG_SLEEP_DUE_TO_DSP_TRACES 6 // deep sleep is forbiden by the DSP 100 #define BIG_SLEEP_DUE_TO_DSP_TRACES 6 // deep sleep is forbiden by the DSP
101 #define BIG_SLEEP_DUE_TO_BLUETOOTH 7 // deep sleep is forbiden by the Bluetooth module 101 #define BIG_SLEEP_DUE_TO_BLUETOOTH 7 // deep sleep is forbiden by the Bluetooth module
102 #define BIG_SLEEP_DUE_TO_CHARGING 8 // deep sleep is forbiden by battery charging 102 #define BIG_SLEEP_DUE_TO_CHARGING 8 // deep sleep is forbiden by battery charging
103 #define BIG_SLEEP_DUE_TO_BUZZER 9 // deep sleep is forbiden by buzzer activity
104 #define BIG_SLEEP_DUE_TO_VIBRATOR 10 // deep sleep is forbiden by vibrator activity
103 105
104 void Trace_Packet_Transfer (UWORD8 prev_crc_error); // Previous RX blocks CRC_ERROR summary 106 void Trace_Packet_Transfer (UWORD8 prev_crc_error); // Previous RX blocks CRC_ERROR summary
105 void l1_display_buffer_trace_fct(void); 107 void l1_display_buffer_trace_fct(void);
106 108
107 //=================================================== 109 //===================================================
5669 #define BIG_SLEEP_DUE_TO_GAUGING 4 // deep sleep is forbiden by not enought gauging 5671 #define BIG_SLEEP_DUE_TO_GAUGING 4 // deep sleep is forbiden by not enought gauging
5670 #define BIG_SLEEP_DUE_TO_SLEEP_MODE 5 // deep sleep is forbiden by the sleep mode enabled 5672 #define BIG_SLEEP_DUE_TO_SLEEP_MODE 5 // deep sleep is forbiden by the sleep mode enabled
5671 #define BIG_SLEEP_DUE_TO_DSP_TRACES 6 // deep sleep is forbiden by the DSP 5673 #define BIG_SLEEP_DUE_TO_DSP_TRACES 6 // deep sleep is forbiden by the DSP
5672 #define BIG_SLEEP_DUE_TO_BLUETOOTH 7 // deep sleep is forbiden by the Bluetooth module 5674 #define BIG_SLEEP_DUE_TO_BLUETOOTH 7 // deep sleep is forbiden by the Bluetooth module
5673 #define BIG_SLEEP_DUE_TO_CHARGING 8 // deep sleep is forbiden by battery charging 5675 #define BIG_SLEEP_DUE_TO_CHARGING 8 // deep sleep is forbiden by battery charging
5676 #define BIG_SLEEP_DUE_TO_BUZZER 9 // deep sleep is forbiden by buzzer activity
5677 #define BIG_SLEEP_DUE_TO_VIBRATOR 10 // deep sleep is forbiden by vibrator activity
5674 5678
5675 /***********************************************************************************************************/ 5679 /***********************************************************************************************************/
5676 /* Begin header 5680 /* Begin header
5677 //TYPE/ CLASSIC 5681 //TYPE/ CLASSIC
5678 //NAME/ Gauging 5682 //NAME/ Gauging