gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:SPn_CONTROL from tkernel_2/monitor/hwdepend/tef_em1d/src/system.c (0.00 seconds)
tkernel_2
monitor/hwdepend/tef_em1d/src/system.c - 9.8KB - 307 lines
71: 
72:         out_w(SPn_CONTROL(SP0), 0x0100);       // start reset
73:         waitUsec(10);
74:         out_w(SPn_CONTROL(SP0), 0x0000);       // release reset
75:         out_w(SPn_CONTROL2(SP0), 0x0000);
112: out_w(SPn_TX_DATA(SP0), (reg << 1) | 1); // send register number 113: out_w(SPn_CONTROL(SP0), 0x0009); // send start 114: pmicWait();
116: out_w(SPn_FFCLR(SP0), ~0); // status flag is cleared 117: out_w(SPn_CONTROL(SP0), 0x0005); // start receive 118: pmicWait();
132: out_w(SPn_TX_DATA(SP0), reg << 1); // send register number 133: out_w(SPn_CONTROL(SP0), 0x0009); // send start 134: pmicWait();
137: out_w(SPn_TX_DATA(SP0), dat); // send data 138: out_w(SPn_CONTROL(SP0), 0x0009); // send start 139: pmicWait();