2012-09-11, 13:34:43
Ahh..
should be this way?
should be this way?
Code:
; Receive, map pin (14 = 1110) to uart ;(***Customized for RP22***)
bclr RPINR18, #U1RXR0 ;xxx
bset RPINR18, #U1RXR1 ;xxx
bset RPINR18, #U1RXR2 ;xxx
bclr RPINR18, #U1RXR3 ;xxx
bset RPINR18, #U1RXR4 ;xxx
; Transmit, map uart to pin ;(***Customized for RP7***)
bset RPOR7, #RP7R0 ;xxx
bset RPOR7, #RP7R1 ;xxx
bclr RPOR7, #RP7R2 ;xxx
bclr RPOR7, #RP7R3 ;xxx
bclr RPOR7, #RP7R4 ;xxx