merge + comments
This commit is contained in:
parent
5e049d4ddc
commit
573611c257
|
@ -211,6 +211,8 @@ struct u8x8_display_info_struct
|
|||
/* AVR: below 70: DIV2, 8 MHz, >= 70 --> 4MHz clock (DIV4) */
|
||||
uint8_t sck_pulse_width_ns; /* UC1701: 50ns */
|
||||
|
||||
/* previous name "sck_takeover_edge" renamed to "spi_mode" */
|
||||
/* bit 0 of spi_mode is equal to the value of the previous variable sck_takeover_edge */
|
||||
/* SPI has four clock modes: */
|
||||
/* 0: clock active high, data out on falling edge */
|
||||
/* 1: clock active high, data out on rising edge */
|
||||
|
|
|
@ -156,7 +156,7 @@ static const u8x8_display_info_t u8x8_st7920_192x32_display_info =
|
|||
/* post_reset_wait_ms = */ 6,
|
||||
/* sda_setup_time_ns = */ 20,
|
||||
/* sck_pulse_width_ns = */ 140, /* datasheet ST7920 */
|
||||
/* spi_mode = */ 1, /* active high, rising edge */
|
||||
/* spi_mode = */ 1, /* old: sck_takeover_edge, new: active high (bit 1), rising edge (bit 0) */
|
||||
/* i2c_bus_clock_100kHz = */ 4,
|
||||
/* data_setup_time_ns = */ 30,
|
||||
/* write_pulse_width_ns = */ 40,
|
||||
|
|
Loading…
Reference in New Issue