Rev.2.00 Oct 16, 2006 page 314 of 354
REJ09B0340-0200
M30245 Group
3. CRC Snoop Function Applications
Figure 3.6.3. Setting routine (2) of DMA transfer from RAM to UART using SFR snooping function
1
b7
b0
0
1
b7
b0
b15
b8 b7
0
1
b7
b0
b0
00
16
00
16
b15
b8 b7
0
1
b0
036A
16
DMA0 control register
DM0CON [Address 002C
16
]
DMA request bit
0 : DMA not requested
DMA enable bit
1 : Enabled
●
Enable DMA0
CRC data register
CRCD [Address 03BD
16
, 03BC
16
]
●
Clear CRC data register
●
Setting CRC mode register
CRC mode polynomial selection bit
0 : CRC-CCITT
CRC mode selection bit 0
1 : MSB first mode
CRC mode register
CRCMR [Address 03B6
16
]
CRC snoop address register
CRCSRA [Address 03B5
16
, 03B4
16
]
SFR snoop address bit
Set address: 036A
16
(UART1 transmit buffer register)
CRCSAR Read
0 : Disabled
CRCSAR Write
1 : Enabled
●
Setting CRC snoop address register
DMA0 cause select register
DM0SL [Address 03B8
16
]
Software DMA request bit
1 : Occurred
1st byte DMA transfer
Transfer to CRC input register at the same
time by SFR snoop function
●
Set Software DMA request bit to “1” in the status that DMA enable bit is “1”
Continued from the previous page
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...