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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 412
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 215
Rev.2.10 Apr 14, 2006 page 192 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 15. Serial Interface
Table 15.18 Registers to Be Used and Settings in SIM Mode
Register Bit Function
U2TB
(1)
0 to 7 Set transmit data
U2RB
(1)
0 to 7 Receive data can be read
OER,FER,PER,SUM Error flag
U2BRG 0 to 7 Set a bit rate
U2MR SMD2 to SMD0 Set to 101b
CKDIR Select the internal clock or external clock
STPS Set to 0
PRY Set this bit to 1 for direct format or 0 for inverse format
PRYE Set to 1
IOPOL Set to 0
U2C0 CLK1 to CLK0 Select the count source for the U2BRG register
CRS Invalid because the CRD bit = 1
TXEPT Transmit register empty flag
CRD Set to 1
NCH Set to 0
CKPOL Set to 0
UFORM Set this bit to 0 for direct format or 1 for inverse format
U2C1 TE Set this bit to 1 to enable transmission
TI Transmit buffer empty flag
RE Set this bit to 1 to enable reception
RI Reception complete flag
U2IRS Set to 1
U2RRM Set to 0
U2LCH Set this bit to 0 for direct format or 1 for inverse format
U2ERE Set to 1
U2SMR
(1)
0 to 3 Set to 0
U2SMR2 0 to 7 Set to 0
U2SMR3 0 to 7 Set to 0
U2SMR4 0 to 7 Set to 0
NOTE:
1. Not all register bits are described above. Set those bits to 0 when writing to the registers in SIM mode.
Vista de página 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 411 412

Comentários a estes Manuais

Sem comentários