Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F4580-E/ML Datasheet(PDF) 283 Page - Microchip Technology

Part # PIC18F4580-E/ML
Description  28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PDF  490 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4580-E/ML Datasheet(HTML) 283 Page - Microchip Technology

Back Button PIC18F4580-E/ML Datasheet HTML 279Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 280Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 281Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 282Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 283Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 284Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 285Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 286Page - Microchip Technology PIC18F4580-E/ML Datasheet HTML 287Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 283 / 490 page
background image
© 2009 Microchip Technology Inc.
DS39637D-page 283
PIC18F2480/2580/4480/4580
REGISTER 24-2:
CANSTAT: CAN STATUS REGISTER
Mode 0
R-1
R-0
R-0
R-0
R-0
R-0
R-0
U-0
OPMODE2(1) OPMODE1(1) OPMODE0(1)
—
ICODE3
ICODE2
ICODE1
—
Mode 1,2
R-1
R-0
R-0
R-0
R-0
R-0
R-0
R-0
OPMODE2(1) OPMODE1(1) OPMODE0(1) EICODE4 EICODE3
EICODE2
EICODE1
EICODE0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-5
OPMODE<2:0>: Operation Mode Status bits(1)
111 = Reserved
110 = Reserved
101 = Reserved
100 = Configuration mode
011 = Listen Only mode
010 = Loopback mode
001 = Disable/Sleep mode
000 = Normal mode
bit 4
Mode 0:
Unimplemented: Read as ‘0’
bit 3-1
ICODE<3:1>: Interrupt Code bits
When an interrupt occurs, a prioritized coded interrupt value will be present in these bits. This code
indicates the source of the interrupt. By copying ICODE<3:1> to WIN<3:0> (Mode 0) or EICODE<4:0> to
EWIN<4:0> (Mode 1 and 2), it is possible to select the correct buffer to map into the Access Bank area.
See Example 24-2 for a code example. To simplify the description, the following table lists all five bits.
bit 0
Unimplemented: Read as ‘0’
bit 4-0
Mode 1, 2:
EICODE<4:0>: Interrupt Code bits
See ICODE<3:1> above.
Note 1:
To achieve maximum power saving and/or able to wake-up on CAN bus activity, switch CAN module in
Disable/Sleep mode before putting device to Sleep.
2:
If buffer is configured as receiver, EICODE bits will contain ‘10000’ upon interrupt.
Mode 0
Mode 1
Mode 2
No interrupt
00000
00000
00000
CAN bus error interrupt
00010
00010
00010
TXB2 interrupt
00100
00100
00100
TXB1 interrupt
00110
00110
00110
TXB0 interrupt
01000
01000
01000
RXB1 interrupt
01010
10001
-----
RXB0 interrupt
01100
10000
10000
Wake-up interrupt
00010
01110
01110
RXB0 interrupt
-----
10000
10000
RXB1 interrupt
-----
10001
10000
RX/TX B0 interrupt
-----
10010
10010(2)
RX/TX B1 interrupt
-----
10011
10011(2)
RX/TX B2 interrupt
-----
10100
10100(2)
RX/TX B3 interrupt
-----
10101
10101(2)
RX/TX B4 interrupt
-----
10110
10110(2)
RX/TX B5 interrupt
-----
10111
10111(2)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com