Personal fork of the library
Fork of X_NUCLEO_IHM01A1 by
Diff: Components/l6474/l6474_class.cpp
- Revision:
- 6:a47569fc7534
- Parent:
- 5:d3c78f12a78d
- Child:
- 7:f7e0c3621f77
--- a/Components/l6474/l6474_class.cpp Wed Nov 18 18:41:55 2015 +0000 +++ b/Components/l6474/l6474_class.cpp Thu Nov 19 10:56:34 2015 +0000 @@ -77,6 +77,10 @@ /* Number of devices. */ uint8_t L6474::numberOfDevices = 0; +/* ISR flags used to restart an interrupted SPI transfer when an error is reported. */ +bool L6474::spiPreemtionByIsr = FALSE; +bool L6474::isrFlag = FALSE; + /* SPI Transmission for Daisy-Chain Configuration. */ uint8_t L6474::spiTxBursts[L6474_CMD_ARG_MAX_NB_BYTES][MAX_NUMBER_OF_DEVICES]; uint8_t L6474::spiRxBursts[L6474_CMD_ARG_MAX_NB_BYTES][MAX_NUMBER_OF_DEVICES];