Comment fixes.
This commit is contained in:
parent
0535c67eab
commit
0698fd28c0
19 changed files with 19 additions and 19 deletions
drivers/gdisp
HX8347D
ILI9320
ILI9325
ILI9481
Nokia6610GE12
Nokia6610GE8
RA8875
S6D1121
SSD1289
|
@ -14,7 +14,7 @@
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
|
|
||||||
/* Pin assignments */
|
/* Pin assignments */
|
||||||
#define SET_RST palSetPad(GPIOB, 8)
|
#define SET_RST palSetPad(GPIOB, 8)
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define GDISP_LLD_BOARD_H
|
#define GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
|
#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
|
||||||
#define GDISP_RAM (*((volatile uint16_t *) 0x60100000)) /* RS = 1 */
|
#define GDISP_RAM (*((volatile uint16_t *) 0x60100000)) /* RS = 1 */
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define GDISP_LLD_BOARD_H
|
#define GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
|
#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
|
||||||
#define GDISP_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
|
#define GDISP_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define SET_CS palSetPad(GPIOD, 12);
|
#define SET_CS palSetPad(GPIOD, 12);
|
||||||
#define CLR_CS palClearPad(GPIOD, 12);
|
#define CLR_CS palClearPad(GPIOD, 12);
|
||||||
#define SET_RS palSetPad(GPIOD, 13);
|
#define SET_RS palSetPad(GPIOD, 13);
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
|
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
|
|
||||||
// ******************************************************
|
// ******************************************************
|
||||||
// Pointers to AT91SAM7X256 peripheral data structures
|
// Pointers to AT91SAM7X256 peripheral data structures
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
|
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
|
|
||||||
// ******************************************************
|
// ******************************************************
|
||||||
// Pointers to AT91SAM7X256 peripheral data structures
|
// Pointers to AT91SAM7X256 peripheral data structures
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define GDISP_RAM (*((volatile uint16_t *) 0x68000000)) /* RS = 0 */
|
#define GDISP_RAM (*((volatile uint16_t *) 0x68000000)) /* RS = 0 */
|
||||||
#define GDISP_REG (*((volatile uint16_t *) 0x68020000)) /* RS = 1 */
|
#define GDISP_REG (*((volatile uint16_t *) 0x68020000)) /* RS = 1 */
|
||||||
#define FSMC_BANK 4
|
#define FSMC_BANK 4
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
|
#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
|
||||||
#define GDISP_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
|
#define GDISP_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define SET_CS palSetPad(GPIOD, 12);
|
#define SET_CS palSetPad(GPIOD, 12);
|
||||||
#define CLR_CS palClearPad(GPIOD, 12);
|
#define CLR_CS palClearPad(GPIOD, 12);
|
||||||
#define SET_RS palSetPad(GPIOD, 13);
|
#define SET_RS palSetPad(GPIOD, 13);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define _GDISP_LLD_BOARD_H
|
#define _GDISP_LLD_BOARD_H
|
||||||
|
|
||||||
// For a multiple display configuration we would put all this in a structure and then
|
// For a multiple display configuration we would put all this in a structure and then
|
||||||
// set g->priv to that structure.
|
// set g->board to that structure.
|
||||||
#define GDISP_REG ((volatile uint16_t *) 0x60000000)[0] /* RS = 0 */
|
#define GDISP_REG ((volatile uint16_t *) 0x60000000)[0] /* RS = 0 */
|
||||||
#define GDISP_RAM ((volatile uint16_t *) 0x60020000)[0] /* RS = 1 */
|
#define GDISP_RAM ((volatile uint16_t *) 0x60020000)[0] /* RS = 1 */
|
||||||
#define GDISP_DMA_STREAM STM32_DMA2_STREAM6
|
#define GDISP_DMA_STREAM STM32_DMA2_STREAM6
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
*
|
*
|
||||||
* @param[in] g The GDisplay structure
|
* @param[in] g The GDisplay structure
|
||||||
*
|
*
|
||||||
* @note Set the g->priv member to whatever is appropriate. For multiple
|
* @note Set the g->board member to whatever is appropriate. For multiple
|
||||||
* displays this might be a pointer to the appropriate register set.
|
* displays this might be a pointer to the appropriate register set.
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
|
|
Loading…
Add table
Reference in a new issue