
Rev.2.00 Oct 16, 2006 page 313 of 354
REJ09B0340-0200
M30245 Group
3. CRC Snoop Function Applications
Figure 3.6.2. Setting routine (1) of DMA transfer from RAM to UART using SFR snooping function
b7
b0
0
1
0
1
1
0
0
b7
b0
b7
b0
1
0
1
0
0
1
0
b8
b7
b0
b15
b23
b16
b19
b8
b7
b0
b15
b23
b16
b19
b7
b0
04
16
00
16
0 0 0 0
0 0 0 0
03
16
6A
16
●
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
UART1 transmit / receive control register 1
U1C1 [Address
036D
16
]
DMA0 control register
DM0CON [Address
002C
16
]
DMA0 cause select register
DM0SL [Address 03B8
16
]
DMA0 control register
DM0CON [Address
002C
16
]
DMA0 source pointer
SAR0 [Address
0022
16
to 0020
16
]
DMA0 destination pointer
DAR0 [Address
0026
16
to 0024
16
]
Transmit enable bit
1 : Transmit enable
DMA enable bit
0 : Disabled
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
●
Disable DMA0
●
Setting DMA0 cause select register
●
Setting DMA0 control register
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
●
Setting source pointer(internal RAM address) and destination pointer (UART1 transmit buffer)
Stores the internal RAM address (0400
16
)
Nothing is assigned. Write “0” when writing to these bits.
Stores the address of UART1 transmit buffer register (036A
16
)
Nothing is assigned. Write “0” when writing to these bits.
Continued to the next page
Содержание 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...