Comment fixes.
This commit is contained in:
parent
0535c67eab
commit
0698fd28c0
19 changed files with 19 additions and 19 deletions
|
@ -14,7 +14,7 @@
|
|||
#define _GDISP_LLD_BOARD_H
|
||||
|
||||
// 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 */
|
||||
#define SET_RST palSetPad(GPIOB, 8)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define GDISP_LLD_BOARD_H
|
||||
|
||||
// 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_RAM (*((volatile uint16_t *) 0x60100000)) /* RS = 1 */
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#define GDISP_LLD_BOARD_H
|
||||
|
||||
// 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_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#define _GDISP_LLD_BOARD_H
|
||||
|
||||
// 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 CLR_CS palClearPad(GPIOD, 12);
|
||||
#define SET_RS palSetPad(GPIOD, 13);
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
|
||||
|
||||
// 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
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
//#define GDISP_INITIAL_BACKLIGHT 100 // The initial backlight percentage
|
||||
|
||||
// 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
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define _GDISP_LLD_BOARD_H
|
||||
|
||||
// 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_REG (*((volatile uint16_t *) 0x68020000)) /* RS = 1 */
|
||||
#define FSMC_BANK 4
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define _GDISP_LLD_BOARD_H
|
||||
|
||||
// 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_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define _GDISP_LLD_BOARD_H
|
||||
|
||||
// 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 CLR_CS palClearPad(GPIOD, 12);
|
||||
#define SET_RS palSetPad(GPIOD, 13);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#define _GDISP_LLD_BOARD_H
|
||||
|
||||
// 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_RAM ((volatile uint16_t *) 0x60020000)[0] /* RS = 1 */
|
||||
#define GDISP_DMA_STREAM STM32_DMA2_STREAM6
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*
|
||||
* @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.
|
||||
*
|
||||
* @notapi
|
||||
|
|
Loading…
Add table
Reference in a new issue