Renesas M16C/6NK Informações Técnicas Página 177

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 176
Rev.2.10 Apr 14, 2006 page 153 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 15. Serial Interface
Figure 15.5 Registers U0TB to U2TB, U0RB to U2RB, and U0BRG to U2BRG
Nothing is assigned. If necessary, set to 0.
When read, the content is undefined.
-
(b15-b9)
-
(b8-b0)
b7 b0 b0b7
Function
UARTi Transmit Buffer Register (i = 0 to 2)
(1)
Bit
Symbol
Symbol Address After Reset
U0TB 03A3h to 03A2h
Undefined
U1TB 03ABh to 03AAh
Undefined
U2TB 01FBh to 01FAh
Undefined
RW
Transmit data
WO
-
NOTE:
1. Use the MOV instruction to write to this register.
(b15) (b8)
-
(b7-b0)
Assuming that set value = n, UiBRG
divides the count source by n + 1
00h to FFh
WO
b7 b0
Function Setting Range
UARTi Bit Rate Register (i = 0 to 2)
(1) (2) (3)
Bit
Symbol
Symbol Address After Reset
U0BRG 03A1h
Undefined
U1BRG 03A9h
Undefined
U2BRG 01F9h
Undefined
RW
NOTES:
1. Write to this register while serial interface is neither transmitting nor receiving.
2. Use the MOV instruction to write to this register.
3. Write to this register after setting bits CLK1 to CLK0 in the UiC0 register.
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
-
(b10-b9)
-
(b7-b0)
-
(b8)
b7 b0
(b15) (b8)
b7 b0
Function
UARTi Receive Buffer Register (i = 0 to 2)
Bit Name
Bit
Symbol
Symbol Address After Reset
U0RB 03A7h to 03A6h
Undefined
U1RB 03AFh to 03AEh
Undefined
U2RB 01FFh to 01FEh
Undefined
RW
-
-
ABT
Arbitration lost
detecting flag
(1)
Receive data (
D7 to D0)
Receive data (
D8)
0 : Not detected
1 : Detected
RO
RO
-
RW
Error sum flag
(2) (3)
SUM
0 : No error
1 : Error found
RO
Parity error flag
(2) (3)
PER
0 : No parity error
1 : Parity error found
RO
Framing error
flag
(2) (3)
FER
0 : No framing error
1 : Framing error found
RO
Overrun error flag
(2)
OER
0 : No overrun error
1 : Overrun error found
RO
NOTES:
1. The ABT bit is set to 0 by writing 0 in a program. (Writing 1 has no effect.)
2. When bits SMD2 to SMD0 in the UiMR register = 000b (serial interface disabled) or the RE bit in the UiC1 register = 0
(reception disabled), all of bits SUM, PER, FER, and OER are set to 0 (no error). The SUM bit is set to 0 (no error) when
all of the PER, FER and OER bits are = 0 (no error).
Also, the PER and FER bits are set to 0 by reading the lower byte of the UiRB register.
3. These error flags are disabled when bits SMD2 to SMD0 in the UiMR register are set to 001b (clock synchronous serial
I/O mode) or to 010b (I
2
C mode). When read, the content is undefined.
Vista de página 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 411 412

Comentários a estes Manuais

Sem comentários