Subversion Repositories freemyipod

Rev

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

Rev 2 Rev 15
Line 378... Line 378...
378
{
378
{
379
    uint32_t type;
379
    uint32_t type;
380
    uint32_t i, j;
380
    uint32_t i, j;
381
    PWRCONEXT &= ~0x40;
381
    PWRCONEXT &= ~0x40;
382
    PWRCON &= ~0x100010;
382
    PWRCON &= ~0x100010;
383
    i2csendbyte(0xE6, 0x35, 0x15);
383
    i2c_sendbyte(0, 0xE6, 0x35, 0x15);
384
    i2csendbyte(0xE6, 0x36, 0x01);
384
    i2c_sendbyte(0, 0xE6, 0x36, 0x01);
385
    PCON2 = 0x33333333;
385
    PCON2 = 0x33333333;
386
    PDAT2 = 0;
386
    PDAT2 = 0;
387
    PCON3 = 0x11113333;
387
    PCON3 = 0x11113333;
388
    PDAT3 = 0;
388
    PDAT3 = 0;
389
    PCON4 = 0x33333333;
389
    PCON4 = 0x33333333;