68 #if ((FM_PERIPHERAL_USB_DEVICE_ENABLED == ON) && (USBDEVICECDCCOM_ENABLED == ON))
160 volatile uint32_t u32i;
186 for(u32i=0;u32i<u32DataSize;u32i++)
217 uint8_t* pu8Interface = NULL;
218 uint8_t u8InterfaceLength = 0;
220 uint8_t u8NumEndpoints = 0;
243 for(u8i = 0;u8i < u8InterfaceLength;)
245 u8i += pu8Interface[u8i];
368 if (pstcSetup->
wValue & 0x01)
376 if (pstcSetup->
wValue & 0x02)
403 static uint8_t pu8Buffer[8];
404 static volatile uint32_t u32Rate = 0;
407 u32Rate += ((uint32_t)pu8Buffer[3]) << 24;
408 u32Rate += ((uint32_t)pu8Buffer[2]) << 16;
409 u32Rate += ((uint32_t)pu8Buffer[1]) << 8;
410 u32Rate += ((uint32_t)pu8Buffer[0]) << 0;
516 volatile uint32_t u32Size;
519 for(u32Size=0;(pcBuffer[u32Size] !=
'\0');u32Size++);
542 #if USB_USES_DMA == L3_ON
625 uint32_t u32ReturnValue;
632 return u32ReturnValue;
695 for (i=0; i<digits; i++) {
696 ch = (n >> div) & 0xF;
731 for (i=0; buf[i]==
'0'; i++)
761 case DEC: val = a / 10;
794 for( d=100; d >= 10; d = d / 10)
796 val = rem / d; rem = rem % d;
826 val = rem / 10; rem = rem % 10;
848 uint8_t abort=0,mlt=0,i,key;
852 for (i=0;i<digits;i++)
855 while ((digit==-1) & (!abort))
858 if (key == 27) abort=1;
862 number+= (digit << mlt);
879 if ((k > 47) & (k < 58)) d = k - 48;
880 if ((k > 64) & (k < 71)) d = k - 55;
881 if ((k > 96) & (k < 103)) d = k - 87;