diff 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
line wrap: on
line diff
--- a/Small_CPU/Inc/spi.h	Sun Apr 14 11:38:14 2019 +0200
+++ b/Small_CPU/Inc/spi.h	Sun Apr 14 11:43:29 2019 +0200
@@ -30,7 +30,7 @@
 //void SPI_Start_single_TxRx_with_Master_and_Stop_ChipSelectControl(void);
 void SPI_Start_single_TxRx_with_Master(void);
 void SPI_synchronize_with_Master(void);
-void SPI_Evaluate_RX_Data(void); /*process the data received during last 100ms cycle */
+uint8_t SPI_Evaluate_RX_Data(void); /*process the data received during last 100ms cycle */
 
 void MX_SPI_DeInit(void);