[stm32f429i-discovery] Added LTDC DMA example.
This example is just using buffers and built in alpha overlay functionality to animate a dmond floating on a checker board. After initializing of the frame buffers only 7 registers are being modified to implement the animation.
This commit is contained in:
committed by
Piotr Esden-Tempski
parent
408ba8c885
commit
9cee61f089
17
examples/stm32/f4/stm32f429i-discovery/lcd-dma/clock.h
Normal file
17
examples/stm32/f4/stm32f429i-discovery/lcd-dma/clock.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* This include file describes the functions exported by clock.c
|
||||
*/
|
||||
#ifndef __CLOCK_H
|
||||
#define __CLOCK_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
* Definitions for functions being abstracted out
|
||||
*/
|
||||
void milli_sleep(uint32_t);
|
||||
uint32_t mtime(void);
|
||||
void clock_setup(void);
|
||||
|
||||
#endif /* generic header protector */
|
||||
|
||||
Reference in New Issue
Block a user