English
Language : 

SH7205 Datasheet, PDF (1003/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 20 Controller Area Network (RCAN-TL1)
(5) Interrupt Mask Register (IMR)
The interrupt mask register is a 16 bit register that protects all corresponding interrupts in the
Interrupt Request Register (IRR) from generating an output signal on the IRQ. An interrupt
request is masked if the corresponding bit position is set to ‘1’. This register can be read or written
at any time. The IMR directly controls the generation of IRQ, but does not prevent the setting of
the corresponding bit in the IRR.
• IMR (Address = H'00A)
Bit: 15 14 13 12 11 10 9
IMR15 IMR14 IMR13 IMR12 IMR11 IMR10 IMR9
Initial value: 1
1
1
1
1
1
1
R/W: R/W R/W R/W R/W R/W R/W R/W
8
IMR8
1
R/W
7
IMR7
1
R/W
6
IMR6
1
R/W
5
IMR5
1
R/W
4
IMR4
1
R/W
3
IMR3
1
R/W
2
IMR2
1
R/W
1
IMR1
1
R/W
0
IMR0
1
R/W
Bit 15 to 0: Maskable interrupt sources corresponding to IRR[15:0] respectively. When a bit is set,
the interrupt signal is not generated, although setting the corresponding IRR bit is still performed.
Bit[15:0]: IMRn
0
1
Description
Corresponding IRR is not masked (IRQ is generated for interrupt conditions)
Corresponding interrupt of IRR is masked (Initial value)
(6) Transmit Error Counter (TEC) and Receive Error Counter (REC)
The Transmit Error Counter (TEC) and Receive Error Counter (REC) is a 16-bit read/(write)
register that functions as a counter indicating the number of transmit/receive message errors on the
CAN Interface. The count value is stipulated in the CAN protocol specification Refs. [1], [2], [3]
and [4]. When not in (Write Error Counter) test mode this register is read only, and can only be
modified by the CAN Interface. This register can be cleared by a Reset request (MCR0) or
entering to bus off.
In Write Error Counter test mode (i.e. TST[2:0] = 3'b100), it is possible to write to this register.
The same value can only be written to TEC/REC, and the value written into TEC is set to TEC
and REC. When writing to this register, RCAN-TL1 needs to be put into Halt Mode. This feature
is only intended for test purposes.
Rev. 1.00 Mar. 25, 2008 Page 971 of 1868
REJ09B0372-0100