Rev.2.00 Oct 16, 2006 page 93 of 354
REJ09B0340-0200
M30245 Group
2. Serial Interface Special Function
Figure 2.5.7. Serial interface special function-related registers (6)
R W
STSPSEL
ACKD
ACKC
SCLHI
STAREQ
STPREQ
RSTAREQ
SWC9
b7
b6
b5
b4
b3
b2
b1
b0
UARTi special mode register 4 (i= 0 to 3)
Symbol
Address
When reset
UiSMR4 (i=0 to 3) 03A4
16
, 0364
16
, 0334
16
, 0324
16
00
16
Bit Symbol
Function
Bit Name
Start condition
generate bit (Note 1)
Restart condition
generate bit (Note 1)
Stop condition
generate bit (Note 1)
SCL, SDA output
select bit
ACK data bit
ACK data output
enable bit
SCL output stop
enable bit
SCL wait output bit 3
0 : Clear
1 : Start
0 : Clear
1 : Start
0 : Clear
1 : Start
0 : Ordinal block
1 : Start/stop condition generate block
0 : ACK
1 : NACK
0 : SI/O data output
1 : ACKD output
0 : Disabled
1 : Enabled
0 : SCL “L” hold disabled
1 : SCL “L” hold enabled (Note 2)
Note 1: These bits automatically become “0” when a start condition is generated.
Note 2: This bit is unavailable when SCLi is external clock.
IFSR0
IFSR1
IFSR2
IFSR6
IFSR7
R W
b7
b6
b5
b4
b3
b2
b1
b0
Bit Symbol
Bit name
Function
Interrupt request cause select register
Symbol
Address
When
reset
IFSR
035F
16
,
00
16
INT0 interrupt polarity
swiching bit
0 : One edge
1 : Two edges
Nothing is assigned.
Write “0” when writing to this bit. The value is indeterminate when read.
Bus collision interrupt
request cause select bit 0
Bus collision interrupt
request cause select bit 1
0 : One edge
1 : Two edges
0 : One edge
1 : Two edges
INT1 interrupt polarity
swiching bit
INT2 interrupt polarity
swiching bit
0 : UART0 Bus collision /
Start/stop condition detection /
Trouble error detection
1 : UART2 Bus collision /
Start/stop condition detection /
Trouble error detection
0 : UART1 Bus collision /
Start/stop condition detection /
Trouble error detection
1 : UART3 Bus collision /
Start/stop condition detection /
Trouble error detection
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...