Mercurial > public > ostc4
comparison Small_CPU/Src/baseCPU2.c @ 244:c20c73b0d034
Merged in janlmulder/ostc4/div-fixes-5 (pull request #15)
Improvement SPI stability/recoverability and cleanup, and trivial bugfixes
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Tue, 09 Apr 2019 08:52:44 +0000 |
parents | e4207f0aaa4b |
children | 2f0eb65df557 |
comparison
equal
deleted
inserted
replaced
236:ad6ddc4aabcd | 244:c20c73b0d034 |
---|---|
46 [..] The IRQs are are only used for SystemTick and SPI TransferComplete after | 46 [..] The IRQs are are only used for SystemTick and SPI TransferComplete after |
47 DMA data reception. | 47 DMA data reception. |
48 | 48 |
49 [..] HAL_SPI_TxRxCpltCallback() restarts DMA and will call | 49 [..] HAL_SPI_TxRxCpltCallback() restarts DMA and will call |
50 scheduleSpecial_Evaluate_DataSendToSlave() only if it is not blocked | 50 scheduleSpecial_Evaluate_DataSendToSlave() only if it is not blocked |
51 by I2C for example by setting global.dataSendToSlaveStopEval to 0. | 51 by I2C. |
52 If the evaluation is blocked it has to be tested and executed afterwards. | 52 If the evaluation is blocked it has to be tested and executed afterwards. |
53 I2C is executed _without_ the usage of interrupts. | 53 I2C is executed _without_ the usage of interrupts. |
54 | 54 |
55 ============================================================================== | 55 ============================================================================== |
56 ##### Main loop ##### | 56 ##### Main loop ##### |