OpenCores
URL https://opencores.org/ocsvn/pss/pss/trunk

Subversion Repositories pss

[/] [pss/] [trunk/] [pss/] [SW/] [onboard/] [SWLED/] [SWLED.c] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 AlexAntono
/*
2
 * Small hello world example, does not use printf()
3
 */
4
//#include <stdio.h>
5
#define IO_GPR          (*(volatile unsigned int *)(0x8A000000))
6
 
7
int main()
8
{
9
    int value;
10
 
11
    while(1)
12
    {
13
        value = IO_GPR;
14
        IO_GPR = value;
15
    }
16
    return 1;
17
 
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.