Embedded
-
USB Class codeEmbedded/USB 2014. 12. 11. 15:11
USB Class Codes August 11, 2014 USB defines class code information that is used to identify a device’s functionality and to nominally load a device driver based on that functionality. The information is contained in three bytes with the names Base Class, SubClass, and Protocol. (Note that ‘Base Class’ is used in this description to identify the first byte of the Class Code triple. That terminolo..
-
-
List of USB ID's - Linux USBEmbedded/USB 2014. 12. 6. 12:43
--------------------------USB의 VID, PID list--------------------------http://www.linux-usb.org/usb.ids 에서 퍼옴# #List of USB ID's # #Maintained by Stephen J. Gowdy #If you have any new entries, please submit them via #http://www.linux-usb.org/usb-ids.html #or send entries as patches (diff -u old new) in the #body of your email (a bot will attempt to deal with it). #The latest version can be obtain..
-
-
-
makefile만들기, interrupt 전처리 과정Embedded 2014. 6. 18. 15:24
따라하기 1 - makefile 만들기MCU 선택 makefile 수정 가능 설정클럭 주파수를 16000000 으로 수정 출력 형식은 인텔 헥사 포멧(ihex), 소스 파일명은 main.c. 파일명을 다르게 쓸 경우 main부분을 수정. makefile을 main.c 소스 파일이 있는 폴더에 저장main.c 소스 파일도 작업 폴더에 복사make 명령어로 확인make 해서 생성된 파일을 지우는 명령어. 지웠으면 다시 make 실행 후 진행 따라하기 2 - SIGNAL(SIG_OVERFLOW0) 매크로 살펴보기현재 코드SIGNAL(OVERFLOW0){...사용자 입력 코드}1차 전처리 후 void OVERFLOW0 (void) __attribute__((signal, __INTR_ATTRS));void OV..