Renesas M16C Series User Manual page 322

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
(See "2.3.2 Operation of Serial I/O (transmission in clock synchronous serial I/O mode" for detail.)
Enable UART1 transmit
b7
www.DataSheet4U.com
Disable DMA0
b7
Setting DMA0 cause select register
b7
0
Setting DMA0 control register
b7
Setting source pointer(internal RAM address) and destination pointer (UART1 transmit buffer)
b23
b23
Figure 3.6.2. Setting routine (1) of DMA transfer from RAM to UART using SFR snooping function
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Initialization of UART1
b0
UART1 transmit / receive control register 1
1
U1C1 [Address 036D
Transmit enable bit
1 : Transmit enable
b0
DMA0 control register
0
DM0CON
DMA enable bit
0 : Disabled
b0
DMA0 cause select register
0
1
1
1
0
DM0SL [Address 03B8
DMA request cause select bits
0 1 1 1 0 : UART1 transmit
Nothing is assigned. Write "0" when writing to these bits.
Software DMA request bit
0 : Not occurred
b0
DMA0 control register
0
1
0
0
0
1
DM0CON
Transfer unit select bit
1 : 8 bits
Repeat transfer mode select bit
0 : Single transfer
DMA request bit
0 : DMA not requested
DMA enable bit
0 : Disabled
Source address direction select bit
1 : Forward
Destination address direction select bit
0 : Fixed
b16
b15
b8 b7
b19
0 0 0 0
04
16
b16
b15
b8 b7
b19
0 0 0 0
03
16
page 313 of 354
]
16
[Address 002C
]
16
]
16
[Address 002C
]
16
b0
DMA0 source pointer
00
16
SAR0 [Address 0022
Stores the internal RAM address (0400
Nothing is assigned. Write "0" when writing to these bits.
b0
DMA0 destination pointer
6A
16
DAR0 [Address 0026
Stores the address of UART1 transmit buffer register (036A
Nothing is assigned. Write "0" when writing to these bits.
Continued to the next page
3. CRC Snoop Function Applications
to 0020
]
16
16
)
16
to 0024
]
16
16
)
16

Advertisement

Table of Contents
loading

Table of Contents