![]() |
ePaper (IL3820) module library
v0.5
Library for the 2.9-inch WaveShare ePaper display module
|
Functions | |
| void | il3820_spiWrite (int mask_cs, int mask_sdi, int mask_clk, int mask_dc, char c, char dc) |
| Low-level driver for sending a byte to the ePaper screen. More... | |
| __attribute__ ((fcache)) | |
| char | il3820_writeLock () |
| Returns the status of the SPI communication lockout so multiple cogs don't try to write to it at the same time. More... | |
| void | il3820_writeLockSet (char devId) |
| Sets the SPI communication lockout. More... | |
| void | il3820_writeLockClear (char devId) |
| Clears the SPI communication lockout. More... | |
| __attribute__ | ( | (fcache) | ) |
| void il3820_spiWrite | ( | int | mask_cs, |
| int | mask_sdi, | ||
| int | mask_clk, | ||
| int | mask_dc, | ||
| char | c, | ||
| char | dc | ||
| ) |
Low-level driver for sending a byte to the ePaper screen.
| mask_cs | Pin mask for the display's chip select pin. |
| mask_sdi | Pin mask for the display's serial data in pin. |
| mask_clk | Pin mask for the display's clock pin. |
| mask_dc | Pin mask for the display's data/command pin. |
| c | Byte to be transferred. |
| dc | Toggle whether the byte is a command or data. |
| char il3820_writeLock | ( | ) |
Returns the status of the SPI communication lockout so multiple cogs don't try to write to it at the same time.
| void il3820_writeLockClear | ( | char | devId | ) |
Clears the SPI communication lockout.
| devId | The ID of the device (usually the chip select pin). |
| void il3820_writeLockSet | ( | char | devId | ) |
Sets the SPI communication lockout.
| devId | The ID of the device (usually the chip select pin). |
1.8.14