Patent ID: 11860804
Assignee: REALTEK SEMICONDUCTOR CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A direct memory access (DMA) controller configured to access a memory containing a privilege area and a normal area, the DMA controller comprising:
a DMA channel;
a mode register configured to store a register value, wherein when the register value is a first value, the DMA channel operates in a privilege mode, and when the register value is a second value, the DMA channel operates in a normal mode;
a configuration interface configured to receive a control command; and
a control circuit coupled to the DMA channel and configured to set the register value of the mode register according to the control command;
wherein when the DMA channel is operating in the privilege mode, the DMA channel is able to access the privilege area and the normal area, and when the DMA channel is operating in the normal mode, the DMA channel is able to access the normal area but unable to access the privilege area.