]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/apps.h
Corrected indentation in usb_cmd.h
[proxmark3-svn] / armsrc / apps.h
index 5468a9774de57baaafc9fb9ccdb2ae97f62ca740..4c218d0ff4d2efbbbdef2c711ea4f7a6ca5406d4 100644 (file)
@@ -70,6 +70,12 @@ void FpgaGatherVersion(char *dst, int len);
 void FpgaSetupSsc(void);
 void SetupSpi(int mode);
 void FpgaSetupSscDma(uint8_t *buf, int len);
+void inline FpgaDisableSscDma(void){
+       AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTDIS;
+}
+void inline FpgaEnableSscDma(void){
+       AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN;
+}
 void SetAdcMuxFor(uint32_t whichGpio);
 
 // Definitions for the FPGA commands.
Impressum, Datenschutz