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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Parameters<br />

AH<br />

DX<br />

BX<br />

CX<br />

Must be 0x83.<br />

data applied to PIO[0..13]<br />

where DX bit 0 maps to PIO[0]<br />

and DX bit 13 maps to PIO[13]<br />

wAND<br />

wXOR<br />

Return Value<br />

none<br />

Comments<br />

& = bit wise AND<br />

^ = bit wise XOR<br />

Before the value is written, the value is combined with the wAND and wXOR parameters as:<br />

PIO[0..13] = (data & wAND) ^ wXOR<br />

To write value in DX to the programmable I/O pins without change, set wAND=0xFFFF and<br />

wXOR=0x0000.<br />

Only PIO pins that are defined as outputs can be written.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Write Specific I/O Pin<br />

Read Programmable I/O Pins<br />

PFE: Enable Programmable I/O Pins<br />

Interrupt 0xA1 service 0x84: HAL: Install Interrupt Service Routine<br />

Parameters<br />

AH<br />

DH<br />

Install user interrupt service routine to be invoked by system interrupt handler.<br />

Must be 0x84.<br />

Bit mask for the ISR type:<br />

BIT0..6 must be 0<br />

Page 295 / 400

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

Saved successfully!

Ooh no, something went wrong!