Crate st7735_async_low[−][src]
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.
WARNING: The crate uses two unstable features generic_associated_types and min_type_alias_impl_trait, which unfortunately cannot be totally hidden into the crate itself: the user to implement the spi traits also need to explicitly enable these.
Modules
adapters | |
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 that can write data in u8 or u16 forms. It keeps borrowing. Dropping it makes the command that creates this instance end. |
Enums
Colmod | Color mode (the bit widths of the R, G and B components of a pixel). |
ColorComponentOrder | R/G/B component order inside a pixel. |
ColumnOrder | The column order of the LCD pixels. |
RowColumnSwap | 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. |