Commit b2a93575 authored by ='s avatar =

lcd: A few comments.

parent 7d1b0917
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment