摘要 |
A DMA buffer management method using storage space division and an apparatus thereof and a DMA data processing method and an apparatus thereof are provided to separate data reception and data processing, thereby improving reliability of data processing. If a DMA(Direct Memory Access) interrupt is generated, it is determined whether a divided section whose wUseFlag value is 0 exists(S41,S43). One of the divided sections is selected(S45). Related flag information of the selected divided section and another divided section is updated(S46). A start address and a size of the selected divided interval are designated as a buffer where DMA data are stacked(S47).
|