Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
SPI LCD8 (8-BIT INTERFACE) LIBRARY
The mikroPascal PRO for AVR provides a library for communication with Lcd (with
HD44780 compliant controllers) in 8-bit mode via SPI interface.
For creating a custom set of Lcd characters use Lcd Custom Character Tool.
Note: Library uses the SPI module for communication. The user must initialize the
SPI module before using the SPI Lcd Library.
Note: This Library is designed to work with mikroElektronika's Serial Lcd/Glcd
Adapter Board pinout, see schematic at the bottom of this page for details.
External dependencies of SPI Lcd Library
The implementation of SPI Lcd Library routines is based on Port Expander Library
routines.
Prior to calling any of this library routines, Spi_Rd_Ptr needs to be initialized with the
appropriate SPI_Read routine.
External dependencies are the same as Port Expander Library external dependencies.
Library Routines
- SPI_Lcd8_Config 
- SPI_Lcd8_Out 
- SPI_Lcd8_Out_Cp 
- SPI_Lcd8_Chr 
- SPI_Lcd8_Chr_Cp 
- SPI_Lcd8_Cmd 
422
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6