gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:pmicWrite (0.00 seconds)
tkernel_2
monitor/hwdepend/tef_em1d/src/config.c - 21.7KB - 669 lines
342: {
343:         pmicWrite(27, (pmicRead(27) & 0x0f) |
344:                               (power ? USBPowerOn : USBPowerOff));
352: 353: for (i = 10; i < 14; i++) pmicWrite(i, 0xff); // IRQ_MASK_A-D (mask) 354: pmicDelay(); 355: 356: for (i = 5 ; i < 9; i++) pmicWrite(i, 0xff); // EVENT_A-D (clear) 357: pmicDelay();
359: while (1) { 360: pmicWrite(15, 0x60); // DEEP_SLEEP 361: pmicDelay();
369: /* reset */ 370: pmicWrite(15, 0xac); // SHUTDOWN 371: pmicDelay();