finish devleop can interface not yet tested
This commit is contained in:
		| @@ -64,16 +64,16 @@ void PIN_MANAGER_Initialize(void) | ||||
|     /** | ||||
|     TRISx registers | ||||
|     */ | ||||
|     TRISA = 0xFF; | ||||
|     TRISB = 0xFE; | ||||
|     TRISA = 0x00; | ||||
|     TRISB = 0xF6; | ||||
|     TRISC = 0xFF; | ||||
|  | ||||
|     /** | ||||
|     ANSELx registers | ||||
|     */ | ||||
|     ANSELC = 0xFF; | ||||
|     ANSELB = 0xF6; | ||||
|     ANSELA = 0x7F; | ||||
|     ANSELB = 0xEE; | ||||
|     ANSELA = 0x00; | ||||
|  | ||||
|     /** | ||||
|     WPUx registers | ||||
| @@ -112,7 +112,8 @@ void PIN_MANAGER_Initialize(void) | ||||
|     | ||||
|      | ||||
| 	 | ||||
|     CANRXPPS = 0x0B;   //RB3->ECAN:CANRX;     | ||||
|     CANRXPPS = 0x0C;   //RB4->ECAN:CANRX;     | ||||
|     RB3PPS = 0x33;   //RB3->ECAN:CANTX0;     | ||||
| } | ||||
|    | ||||
| void PIN_MANAGER_IOC(void) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user