comparison Small_CPU/Src/uart.c @ 936:3029f0332f4f Evo_2_23

GNSS introduced power saving mode: In the previous implementation the modul always did a cold start. In the new one the power saving functions of the module are activated. The module will be switched to intervall mode while entering sleep. If the computer remains in sleep for a long time then the GNSS modul will be switchen of completly.
author Ideenmodellierer
date Sun, 08 Dec 2024 22:03:07 +0100
parents 43055e069bd1
children
comparison
equal deleted inserted replaced
935:f2494a708f52 936:3029f0332f4f
36 /* Private variables ---------------------------------------------------------*/ 36 /* Private variables ---------------------------------------------------------*/
37 37
38 DMA_HandleTypeDef hdma_usart1_rx, hdma_usart1_tx; 38 DMA_HandleTypeDef hdma_usart1_rx, hdma_usart1_tx;
39 39
40 uint8_t rxBuffer[CHUNK_SIZE * CHUNKS_PER_BUFFER]; /* The complete buffer has a X * chunk size to allow variations in buffer read time */ 40 uint8_t rxBuffer[CHUNK_SIZE * CHUNKS_PER_BUFFER]; /* The complete buffer has a X * chunk size to allow variations in buffer read time */
41 uint8_t txBuffer[CHUNK_SIZE]; /* tx uses less bytes */ 41 uint8_t txBuffer[TX_BUF_SIZE]; /* tx uses less bytes */
42 uint8_t txBufferQue[TX_BUF_SIZE]; /* In MUX mode command may be send shortly after each other => allow q 1 entry que */ 42 uint8_t txBufferQue[TX_BUF_SIZE]; /* In MUX mode command may be send shortly after each other => allow q 1 entry que */
43 43
44 44
45 static uint8_t lastCmdIndex; /* Index of last command which has not been completely received */ 45 static uint8_t lastCmdIndex; /* Index of last command which has not been completely received */
46 46