m30833fjgp Renesas Electronics Corporation., m30833fjgp Datasheet - Page 365

no-image

m30833fjgp

Manufacturer Part Number
m30833fjgp
Description
Renesas 16/32-bit Single-chip Microcomputer M16c Family / M32c/80 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m30833fjgp D5
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
m30833fjgp#U3
Manufacturer:
NXP
Quantity:
1 003
Part Number:
m30833fjgp#U3
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
m30833fjgp#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R
R
M
e
E
3
. v
J
Figure 22.16 C0EISTR Register
2
0
22.1.14 CAN0 Error Interrupt Status Register (C0EISTR Register)
1
9
C
3 .
B
When using the CAN interrupt, the C0EISTR register indicates the cause of the generated error inter-
rupt. The BOIS, EPIS and BEIS bits are not automatically set to "0" (no interrupt requested) even if an
interrupt is acknowledged. Set these bits to "0" by program
Refer to 22.3 CAN Interrupt for details.
NOTES:
8 /
0
1
22.1.14.1 BOIS Bit
22.1.14.2 EPIS Bit
22.1.14.3 BEIS Bit
The BOIS bit is set to "1" when the CAN module is placed in a bus-off state.
The EPIS bit is set to "1" when the CAN module is placed in an error passive state.
The BEIS bit is set to "1" when a CAN bus error is detected.
3
0
1. Use the MOV instruction, instead of the bit clear instruction, to set each bit in the CoEISTR register
3
J
G
4
a
to "0". Bits not being changed to "0" must be set to "1".
0 -
n
o r
CAN0 Error Interrupt Status Register
b7
For example: To set the BOIS bit to "0"
3 .
1
u
NOTES:
, 1
3
p
b6
1
1. Value is obtained by setting the SLEEP bit in the C0SLPR register to "1" (sleep mode exited) and
2. Set to "0" by program. If it is set to "1", the value before setting to "1" remains.
2
(
M
0
b5
supplying the clock to the CAN module after reset.
Assembly language:
C language:
0
3
6
2
b4
C
Page 342
8 /
b3
, 3
b2
M
b1
3
2
C
b0
f o
8 /
4
(b7 - b3)
3
Symbol
8
BOIS
EPIS
BEIS
) T
8
Bit
Symbol
C0EISTR
Bus-Off Interrupt
Status Bit
Error-Passive Interrupt
Status Bit
CAN Bus-Error Interrupt
Status Bit
Nothing is assigned. When write, set to "0".
When read, its content is indeterminate.
mov.b#006h, C0EISTR
c0eistr = 0x06;
Bit Name
(2)
(2)
(2)
Address
0215
16
0: No interrupt is requested
1: Interrupt is requested
0: No interrupt is requested
1: Interrupt is requested
0: No interrupt is requested
1: Interrupt is requested
(1)
.
After Reset
XXXX X000
Function
(1)
2
22. CAN Module
RW
RW
RW
RW

Related parts for m30833fjgp