Subversion Repositories freemyipod

Rev

Rev 652 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 652 Rev 835
Line 44... Line 44...
44
{
44
{
45
    while (!(UFSTAT & BITRANGE(0, 3))) sleep(100);
45
    while (!(UFSTAT & BITRANGE(0, 3))) sleep(100);
46
    return URXH;
46
    return URXH;
47
}
47
}
48
 
48
 
49
static void main()
49
static void main(int argc, const char** argv)
50
{
50
{
51
    int i;
51
    int i;
52
    clockgate_enable(41, true);
52
    clockgate_enable(41, true);
53
    ULCON = 3;
53
    ULCON = 3;
54
    UCON = 0x405;
54
    UCON = 0x405;