Atmel Xplained Evaluation Board ATXMEGAA3BU-XPLD ATXMEGAA3BU-XPLD 数据表
产品代码
ATXMEGAA3BU-XPLD
AVR1934
3
8413A-AVR-09/11
• SPI
clock
• SPI
data
The ST7565R is always initialized by performing a hard reset of the LCD controller to
bring it to a known state, as its state cannot be read from the controller. Please refer
to the “XMEGA-A3BU Xplained Hardware User’s Guide” for more information about
physical pin connections.
The ST7565R driver (
st7565r.c
and
st7565r.h
) takes care of all low level
interfacing with the reset line, register select line, chip select line and the SPI driver.
The ST7565R driver offers a number of functions used by higher level display stacks,
such as the
The ST7565R driver offers a number of functions used by higher level display stacks,
such as the
gfx_mono
service. The driver may also be used directly, if needed. These
functions are described and thoroughly documented in the ASF documentation.
A white LCD backlight is also available for the screen. The backlight can simply be
either on or off, or controlled by a PWM signal, which in turn controls the intensity of
the backlight.
2.2 QTouch button
The Atmel AVR XMEGA-A3BU Xplained board contains one Atmel
®
QTouch
®
button
named QTB0. This button is utilized by the inclusion of the QTouch library. Please
refer to the Atmel QTouch Library User Guide for details on this library.
refer to the Atmel QTouch Library User Guide for details on this library.
From the application the QTouch button functionality is initialized from main with the
call to
call to
touch_init()
, and the button is checked with the function
check_touch_key_pressed()
. It is polled together with the other buttons in the file
keyboard.c, and will provide menu navigation to the application. The QTouch API is
available under the directory
qtouch
as the file
touch_api.h
together with other files
from the QTouch library. Configuration of the QTouch library is done with defines
declared in
declared in
touch_qt_config.h
.