- fixed data types

git-svn-id: http://moon:8086/svn/mips@12 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2015-05-15 14:08:12 +00:00
parent 520e122253
commit 784dd70472
13 changed files with 6651 additions and 6512 deletions
+11
View File
@@ -0,0 +1,11 @@
#include "libsys_boot.h"
void test()
{
volatile uint32_t *pGPIO = (uint32_t*)SYS_GPIO_0_DATA;
volatile uint32_t *pGPIODIR = (uint32_t*)SYS_GPIO_0_DIR;
*pGPIODIR = GPIO_0_DFLT_DIR;
*pGPIO = 1;
}