comparison Small_CPU/Inc/spi.h @ 264:b3685fbada3b IPC_Sync_Improvment_2

Sync to Main 100ms time stamp & added Reinitialization of globals after startup Added function to synchronize RTE to the timestamp provided by Main 100ms callback. This was introduced to compensated small shifts in execution and program flow shifts (for example during long operation times)
author ideenmodellierer
date Sun, 14 Apr 2019 11:43:29 +0200
parents 8117802894a4
children
comparison
equal deleted inserted replaced
263:a6c0375bc950 264:b3685fbada3b
28 28
29 void MX_SPI1_Init(void); 29 void MX_SPI1_Init(void);
30 //void SPI_Start_single_TxRx_with_Master_and_Stop_ChipSelectControl(void); 30 //void SPI_Start_single_TxRx_with_Master_and_Stop_ChipSelectControl(void);
31 void SPI_Start_single_TxRx_with_Master(void); 31 void SPI_Start_single_TxRx_with_Master(void);
32 void SPI_synchronize_with_Master(void); 32 void SPI_synchronize_with_Master(void);
33 void SPI_Evaluate_RX_Data(void); /*process the data received during last 100ms cycle */ 33 uint8_t SPI_Evaluate_RX_Data(void); /*process the data received during last 100ms cycle */
34 34
35 void MX_SPI_DeInit(void); 35 void MX_SPI_DeInit(void);
36 36
37 /* button adjust */ 37 /* button adjust */
38 void MX_SPI3_Init(void); 38 void MX_SPI3_Init(void);