
R01UH0336EJ0102 Rev.1.02
Page 1252 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 22 Synchronous/Asynchronous Serial Interface H (UARTH)
22.6.5
Extension bit Detection/ID Compare-Match Detection
For extension bit detection, the extension bit is enabled
(URTHnOPT0.URTHnEBE = 1) and extension bit detection interrupts are
enabled (URTHnOPT0.URTHnEGE = 1). On detection of an extension bit
during reception, an extension bit detection interrupt is generated if the
condition for extension bit detection set in URTHnOPT0.URTHnEJL is
matched and the extension bit detection flag (URTHnSTR1.URTHnEBD) is set
to 1.
The extension bit detection flag (URTHnSTR1.URTHnEBD) is set to 1 when
the extension bit is 0 if the setting of the condition for extension bit detection is
URTHnOPT0.URTH0EJL=0 (URTHnOPT1.URTHnIDCN = 0) and when the
extension bit is 1 if the setting is URTHnOPT0.URTHnEJL = 1
(URTHnOPT1.URTHnIDCN = 0) (however, if ID comparison is selected as a
condition, i.e. if URTHnOPT1.URTHnIDCN = 1, the extension bit will only be
detected if ID comparison also produces a match).
URTHnSTR1.URTHnEBD is cleared when 1 is written to
URTHnSTC.URTHnCLEB.
When the ID and settings for ID comparison match while ID matching is
selected as a condition (URTHnOPT1.URTH0IDCN = 1),
URTHnSTR1.URTHnIDM is set to 1. When an extension bit is detected and
the ID matches the settings for ID comparison in extension bit detection while
URTHnOPT1.URTHnIDCN = 1, the ID comparison match flag is set to
URTHnSTR1.URTHnIDM = 1, which enables data reception. Data are not
received if the ID does not match the settings for ID comparison. Moreover,
bits for which the corresponding URTHnOPT2.URTHnMID[7:0] bit is 1 are not
included in ID comparison (i.e. these bits are masked).
URTHnSTR1.URTHnIDM is cleared when 1 is written to
URTHnSTC.URTHnCLIM.
(a)
Timing of extension bit detection and ID compare-match detection
Data being transferred
(URTHnTRXD)
• If the condition for extension bit detection is “0” (The numerals following DATA0 to DATA5 in the data being transferred indicate
the values of the extension bits.)
URTH0IDM
URTH0EBD
Data for ID comparison
(URTHnIDCD)
URTHnTIR interrupt
URTHnTIS interrupt
Match with the conditions
for extension bit detection
Detection of match
with ID settings disabled
1
Writing 1 to URTHnCLIM
Detection of match with ID
DATA1
Detection of match
with ID settings enabled
Reception
shift register
Detection
of extension bit
URTH0IDCN
DATA2
DATA3
Detection of match
with ID settings enabled
Writing 1 to URTHnCLEB
Writing 1 to URTHnCLEB
Match with the conditions
for extension bit detection
Non-match
in extension bit
Detection
of extension bit
Non-match
in extension bit
Non-match in ID comparison
Value for ID comparison
DATA0
DATA1
DATA2
DATA3
DATA4
DATA5
0
1
0
1
0
Value for ID comparison
No ID comparison
No ID comparison
Value for ID comparison
Value for ID comparison
Match in ID comparison
DATA00
*
1
*
2
*
6
*
5
*
4
*
3
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...