Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
b2a93575
Commit
b2a93575
authored
Sep 20, 2014
by
=
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lcd: A few comments.
parent
7d1b0917
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
lcd_dma.c
sw/common/drivers/lcd_dma.c
+4
-0
lcd_dma.h
sw/common/drivers/lcd_dma.h
+6
-3
No files found.
sw/common/drivers/lcd_dma.c
View file @
b2a93575
...
...
@@ -31,6 +31,10 @@
#include "lcd.h"
#include "lcd_dma.h"
/**
* @brief Routines for DMA transfer of the frame buffer.
*/
// The DMA channel to use
#define DMA_CHANNEL 0
// Number of DMA transfers
...
...
sw/common/drivers/lcd_dma.h
View file @
b2a93575
...
...
@@ -21,7 +21,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
// TODO author note
/**
* @brief Routines for DMA transfer of the frame buffer.
*/
#ifndef LCD_DMA_H
#define LCD_DMA_H
...
...
@@ -34,12 +36,13 @@
void
lcd_dma_init
(
void
);
/**
*
TODO
*
Sends the current frame buffer to the display contents using DMA.
*/
void
lcd_dma_send_frame
(
void
);
/**
* TODO
* Checks if there is a transfer in progress.
* @return true if DMA is currently used.
*/
bool
lcd_dma_is_active
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment