Renesas M30245 Series User Manual page 324

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

Advertisement

M30245 Group
Initialization of UART1
(See "2.3.2 Operation of Serial I/O (transmission in clock synchronous serial I/O mode" for detail.)
Enable UART1 transmit
b7
Disable DMA0
b7
0
Setting DMA0 cause select register
b7
0
0
1
Setting DMA0 control register
b7
0
1
0
Setting source pointer(internal RAM address) and destination pointer (UART1 transmit buffer)
b23
b16
b19
0 0 0 0
b23
b16
b19
0 0 0 0
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
b0
UART1 transmit / receive control register 1
1
U1C1 [Address 036D
Transmit enable bit
1 : Transmit enable
b0
DMA0 control register
DM0CON
DMA enable bit
0 : Disabled
b0
DMA0 cause select register
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
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
b15
b8 b7
00
04
16
16
b15
b8 b7
03
6A
16
16
Continued to the next page
page 313 of 354
]
16
[Address 002C
]
16
]
16
[Address 002C
]
16
b0
DMA0 source pointer
SAR0 [Address 0022
16
Stores the internal RAM address (0400
Nothing is assigned. Write "0" when writing to these bits.
b0
DMA0 destination pointer
DAR0 [Address 0026
16
Stores the address of UART1 transmit buffer register (036A
Nothing is assigned. Write "0" when writing to these bits.
3. CRC Snoop Function Applications
to 0020
]
16
)
16
to 0024
]
16
)
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents