|
FastLED 3.9.15
|
Software SPI (aka bit-banging) support.
Definition in file fastspi_bitbang.h.
Include dependency graph for fastspi_bitbang.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | AVRSoftwareSPIOutput< DATA_PIN, CLOCK_PIN, SPI_SPEED > |
| Software SPI (aka bit-banging) support Includes aggressive optimizations for when the clock and data pin are on the same port. More... | |
Macros | |
| #define | __INC_FASTSPI_BITBANG_H |
| #define | CLOCK_HI_DELAY do { delaycycles<MIN_DELAY>(); delaycycles<((SPI_SPEED > 10) ? (((SPI_SPEED-6) / 2) - MIN_DELAY) : (SPI_SPEED))>(); } while(0); |
| Delay for the clock signal 'high' period. | |
| #define | CLOCK_LO_DELAY do { delaycycles<((SPI_SPEED > 10) ? ((SPI_SPEED-6) / 2) : (SPI_SPEED))>(); } while(0); |
| Delay for the clock signal 'low' period. | |
| #define | MIN_DELAY ((NS(35)>3) ? (NS(35) - 3) : 1) |
| We want to make sure that the clock pulse is held high for a minimum of 35 ns. | |