01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Top of list<br />

Index page<br />

HAL Stop DMA Transfer<br />

Interrupt 0xA1 service 0xB1: HAL: Stop DMA Transfer<br />

Parameters<br />

AH<br />

AL<br />

Disables the DMA controller. A running DMA transfer will be halted.<br />

Must be 0xB1<br />

DMA channel:<br />

0 = DRQ0<br />

1 = DRQ1<br />

Return Value<br />

Comments<br />

Success: AX = 0<br />

AX = -1 Invalid DMA channel<br />

AX = -2 DMA channel used for serial interface<br />

Stops a DMA transfer (disables the DMA controller). The transfer could be continued by reading the<br />

current DMA values (using function Get DMA Info) and starting the DMA Transfer again with the read<br />

values (using function Start DMA Mode)<br />

Related Topics<br />

Top of list<br />

Index page<br />

Start DMA Transfer<br />

Interrupt 0xA1 service 0xB2: HAL: Get DMA Info<br />

Parameters<br />

AH<br />

AL<br />

Get the state of the DMA channel.<br />

Must be 0xB2<br />

DMA channel:<br />

0 = DRQ0<br />

Page 310 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!