-
Notifications
You must be signed in to change notification settings - Fork 2
/
doc.go
24 lines (21 loc) · 971 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2021 The Embedded Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package ili9486 provides driver to ILI9486 based displays.
package ili9486
// The maximum SPI clock is 15 MHz for writing and 6.7 MHz for reading. In
// practice the controller seems to work fine in both directions with 24 MHz SPI
// clock. The performance of a particular SPI bus depends on many factors which
// can probably be tuned for even higher speeds. The absolute upper limits are
// those given for the parallel interface.
const (
MaxSPIWriteClock = 15_000_000
MaxSPIReadClock = 6_700_000
)
// The maximum speed of the 18/16/9/8-bit paraller interface is 15 MHz for
// writing and 2.2 Mhz for reading. This corresponds to the maximum bandwidth of
// 272 Mb/s and 40 Mb/s respectively (18-bit interface).
const (
MaxParallelWriteClock = 15_000_000
MaxParallelReadClock = 2_200_000
)