[dsPIC33CK] Change interrupt (CN) 사용 예제
·
b. 임베디드/dsPIC33CK128MP506
이번에는 Change Interrupt 를 사용해보려 합니다. Change Interrupt의 경우는 GPIO 설정만으로 대부분 사용이 가능합니다. 먼저 설정부분입니다. void MapGPIOHWFunction(void) { // HALL Input Signals TRISDbits.TRISD5 = 1; TRISDbits.TRISD6 = 1; TRISDbits.TRISD7 = 1; /* Diagnostic Interface for MCLV-2,MCHV-2/3,LVMCDB etc. Re-map UART Channels to the device pins connected to the following PIM pins on the Motor Control Development Boards . UART_RX : ..