Home
last modified time | relevance | path

Searched refs:regWr (Results 1 – 3 of 3) sorted by relevance

/device/google/accessory/arduino/USB_Host_Shield/
DMax3421e.cpp120 void MAX3421E::regWr( byte reg, byte val) in regWr() function in MAX3421E
150 regWr( rIOPINS1, val ); in gpioWr()
152 regWr( rIOPINS2, val ); in gpioWr()
199 regWr( rUSBCTL, bmCHIPRES ); //Chip reset. This stops the oscillator in reset()
200 regWr( rUSBCTL, 0x00 ); //Remove the reset in reset()
243 regWr( rMODE, MODE_FS_HOST ); //start full-speed host in busprobe()
247 regWr( rMODE, MODE_LS_HOST); //start low-speed host in busprobe()
253 regWr( rMODE, MODE_LS_HOST ); //start low-speed host in busprobe()
257 regWr( rMODE, MODE_FS_HOST ); //start full-speed host in busprobe()
265 regWr( rMODE, bmDPPULLDN|bmDMPULLDN|bmHOST|bmSEPIRQ); in busprobe()
[all …]
DUsb.cpp92 regWr( rPERADDR, addr ); //set peripheral address in ctrlReq()
161 regWr( rHCTL, devtable[ addr ].epinfo[ ep ].rcvToggle ); //set toggle value in inTransfer()
174 regWr( rHIRQ, bmRCVDAVIRQ ); // Clear the IRQ & free the buffer in inTransfer()
197 regWr( rHCTL, devtable[ addr ].epinfo[ ep ].rcvToggle ); //set toggle value in newInTransfer()
210 regWr( rHIRQ, bmRCVDAVIRQ ); // Clear the IRQ & free the buffer in newInTransfer()
244 regWr( rHCTL, devtable[ addr ].epinfo[ ep ].sndToggle ); //set toggle value in outTransfer()
250 regWr( rSNDBC, bytes_tosend ); //set number of bytes in outTransfer()
251 regWr( rHXFR, ( tokOUT | ep )); //dispatch packet in outTransfer()
253 regWr( rHIRQ, bmHXFRDNIRQ ); //clear IRQ in outTransfer()
273 regWr( rSNDBC, 0 ); in outTransfer()
[all …]
DMax3421e.h43 static void regWr( byte, byte );