-
公开(公告)号:US11860804B2
公开(公告)日:2024-01-02
申请号:US17364924
申请日:2021-07-01
Applicant: REALTEK SEMICONDUCTOR CORPORATION
Inventor: Chen-Tung Lin , Yue-Feng Chen
IPC: G06F13/30
CPC classification number: G06F13/30 , G06F2211/002 , G06F2213/28
Abstract: A direct memory access (DMA) controller, an electronic device that uses the DMA controller, and a method of operating the DMA controller are provided. The DMA controller is configured to access a memory that contains a privilege area and a normal area. The method of operating the DMA controller includes the following steps: searching for a DMA channel that is in an idle state in the DMA controller; setting a register value of a mode register of the DMA channel such that the DMA channel operates in a privilege mode; setting a memory address register and a byte count register of the DMA channel; and controlling the DMA channel to transfer data based on the memory address register and the byte count register.
-
公开(公告)号:US11829310B2
公开(公告)日:2023-11-28
申请号:US17488637
申请日:2021-09-29
Applicant: REALTEK SEMICONDUCTOR CORPORATION
Inventor: Chen-Tung Lin , Yue-Feng Chen
CPC classification number: G06F13/28 , G06F9/30101 , G06F13/4282
Abstract: A direct memory access (DMA) controller, an electronic device that uses the DMA controller, and a method of operating the DMA controller are provided. The DMA controller is configured to access a memory that contains a secure area and a non-secure area. The method of operating the DMA controller includes the following steps: searching for a DMA channel that is in an idle state in the DMA controller; setting a register value of a mode register of the DMA channel such that the DMA channel operates in a secure mode; setting a memory address register and a byte count register of the DMA channel; and controlling the DMA channel to transfer data based on the memory address register and the byte count register.
-