Expand description
This crates aims to provide the native ST7735 commands in their original form, thus is a low-level library.
A user of this crate should implement the write traits in crate::spi, then wrap it with Commands to use the commands. An example can be found at the examples/stm32f3348_disco directory of the crate.
Modules§
- adapters
- Helper structs make both WriteU8 and WriteU8s available when only one is implemented.
- spi
- Some traits needed to implement, in order to use
Commands
.
Structs§
- Commands
- Commands of ST7735 in their original form, except that the parameters of each command are typed.
- Madctl
- Defines the orientation parameters of the screen.
- RamWriter
- A helper RAII object for writing data after a command.
Enums§
- Colmod
- Color mode (the bit widths of the R, G and B components of a pixel).
- Color
Component Order - R/G/B component order inside a pixel.
- Column
Order - The column order of the LCD pixels.
- RowColumn
Swap - Whether to swap the row and column definitions, i.e., to switch between the portrait and landscape mode.
- RowOrder
- The row order of the LCD pixels.