Multifunctional DMA transmission method and device and storage medium
A transmission method and multi-functional technology, applied in the field of DMA data transmission, which can solve problems such as single function
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] refer to figure 1 As shown, the embodiment of the present invention provides a multifunctional DMA transmission method, including:
[0044] S100, the CPU configures corresponding DMA descriptor parameters in the descriptor register according to DMA service requirements, wherein the DMA descriptor parameters include mode parameters, and the mode parameters include a first mode, a second mode, a third mode, and a fourth mode; In the specific implementation process, refer to Figure 4 As shown, the CPU supports at least four descriptor registers, and supports parallel configuration of DMA descriptor parameters including four mode parameters through four different descriptor registers.
[0045] During the specific implementation process, the DMA descriptor parameters including the first mode also include: source address, destination address and transmission data length.
[0046] The DMA descriptor parameters including the second mode also include: data pattern, data patte...
Embodiment 2
[0066] refer to image 3 As shown, the embodiment of the present invention provides a device for realizing multi-function DMA transmission, including:
[0067] A first configuration module, the first configuration module is configured to configure DMA descriptor parameters of the DMA descriptor according to DMA service requirements;
[0068] A second configuration module, the second configuration module is used to configure the data capacity of the burst mode;
[0069] Specifically, see Figure 4 As shown, the first configuration module includes a CPU and a descriptor register, and the second configuration module includes a CPU and a burst mode transmission capacity register. According to the DMA service requirements, the CPU configures the corresponding DMA descriptor parameters in the descriptor register, and configures the data capacity of the burst mode according to the memory bit width or the bus bit width. The data capacity of the burst mode does not exceed the memory ...
Embodiment 3
[0076] An embodiment of the present invention provides a storage medium for implementing a multifunctional DMA transmission method, wherein the storage medium for implementing a multifunctional DMA transmission method stores at least one instruction, and reads and executes the instruction to implement the multifunctional DMA transmission method.
[0077] In the present invention, control the DMA controller to execute different data processing strategies by including the DMA descriptor of different mode parameters; when the mode parameter of the DMA descriptor is the first mode, the DMA controller transmits the data of the source address to the destination address, Realize data movement; when the mode parameter of the DMA descriptor is the second mode, the DMA controller repeatedly transmits the data pattern to the destination address to realize the setting of the data pattern; when the mode parameter of the DMA descriptor is the third mode, the DMA control The controller perfo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com