2013-05-01 23:53:28 +00:00
|
|
|
/*
|
2013-06-15 11:09:02 +00:00
|
|
|
* This file is subject to the terms of the GFX License. If a copy of
|
2013-06-02 08:58:12 +00:00
|
|
|
* the license was not distributed with this file, you can obtain one at:
|
|
|
|
*
|
|
|
|
* http://chibios-gfx.com/license.html
|
|
|
|
*/
|
2013-02-18 07:31:49 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @file drivers/tdisp/HD44780/tdisp_lld_board_example.h
|
|
|
|
* @brief TDISP driver subsystem board interface for the HD44780 display
|
|
|
|
*
|
|
|
|
* @addtogroup TDISP
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TDISP_LLD_BOARD_H
|
|
|
|
#define _TDISP_LLD_BOARD_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The board may override the default display size.
|
|
|
|
* Uncomment the below if your board needs a non-standard size.
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
#ifndef TDISP_COLUMNS
|
|
|
|
#define TDISP_COLUMNS 16
|
|
|
|
#endif
|
|
|
|
#ifndef TDISP_ROWS
|
|
|
|
#define TDISP_ROWS 2
|
|
|
|
#endif
|
|
|
|
*/
|
|
|
|
|
|
|
|
static void init_board(void) {
|
|
|
|
/* Code here */
|
|
|
|
#error "tdispHD44780: You must supply a definition for init_board for your board"
|
|
|
|
}
|
|
|
|
|
|
|
|
static void write_cmd(uint8_t data) {
|
|
|
|
/* Code here */
|
|
|
|
#error "tdispHD44780: You must supply a definition for write_cmd for your board"
|
|
|
|
}
|
|
|
|
|
|
|
|
static void write_data(uint8_t data) {
|
|
|
|
/* Code here */
|
|
|
|
#error "tdispHD44780: You must supply a definition for write_data for your board"
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _TDISP_LLD_BOARD_H */
|
|
|
|
/** @} */
|
2013-03-02 21:13:44 +00:00
|
|
|
|