12.01.2013 Views

DATA SHEET - IEETA

DATA SHEET - IEETA

DATA SHEET - IEETA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Philips Semiconductors Product specification<br />

8-bit microcontroller with on-chip CAN P8xC592<br />

LOC OBJ LINE SOURCE<br />

00A1 143 ; after reading the Rx-Buffer it must be released back to<br />

144 ; the CAN-controller. In coincidence, the Clear Overrun bit<br />

145 ; (CANCON.3) may be set, regardless of an existing or<br />

146 ; non-existing data overrun.<br />

147 CAN_RX_READY:<br />

75D904 148<br />

149<br />

MOV CANCON, #CAN_RBF_REL<br />

00A2 150 ; if no other interrupt-flag is set, the interrupt-handler<br />

151 ; for the CAN-controller can be left. Otherwise further<br />

152 ; services are required.<br />

E520 153 MOV A, CAN_INT_IMAGE<br />

70E4 154 JNZ INT_TEST1<br />

00A5 155<br />

00A7 156 ; no other service is required, so the interrupt-handler<br />

157 ; is left.<br />

D0E0 158 POP ACC<br />

D0D0 159 POP PSW<br />

00A9 32 160 RETI<br />

00AB 161 ; end of Rx-serve-------------------------------------------------------------------------------------<br />

00AD 162<br />

163 ; here the array follows containing 8 destination-addresses<br />

164 ; for up to 8 different messages to be received. The values<br />

165 ; are fully application-specific (the values below show an<br />

166 ; example only).<br />

167 RX_ARRAY_START:<br />

E0 168 DB 0E0H ; Rx-message #0<br />

00 169 DB 000H ; this message is not used<br />

00AE 170 ; ...<br />

00AF FA 171<br />

172<br />

DB 0FAH ; RX-message #7, containing 6 data bytes<br />

00B0 173 END<br />

REGISTER BANK(S) USED: 0<br />

ASSEMBLY COMPLETE, NO ERRORS FOUND<br />

1996 Jun 27 102

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!