Demo of low res colour vga video for stm32f3 discovery board
Dependencies: STM32F3-Discovery-minimal
Fork of Space_Invaders_Demo by
Diff: gdptypes.h
- Revision:
- 0:404dae88af71
- Child:
- 1:1b37c4b989b4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gdptypes.h Tue Mar 01 02:40:19 2016 +0000 @@ -0,0 +1,46 @@ +/*************************************************************************** + * STM32 VGA demo + * Copyright (C) 2012 Artekit Italy + * http://www.artekit.eu + * Written by Ruben H. Meleca + +### gditypes.h + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +***************************************************************************/ +#ifndef __GDPTYPES_H +#define __GDPTYPES_H + +#define NULL 0x0 + +// Types + +typedef unsigned int u32; +typedef int i32; +typedef unsigned short u16; +typedef short i16; +typedef unsigned char u8; +typedef char i8; + +typedef u32 *pu32; +typedef i32 *pi32; +typedef u16 *pu16; +typedef i16 *pi16; +typedef u8 *pu8; +typedef i8 *pi8; + +#endif // __GDPTYPES_H +