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.

Hardware API - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index Hardware API News<br />

Hardware API<br />

Here are the interface definitions for access to the <strong>IPC<strong>@CHIP</strong></strong>'s hardware.<br />

Topics<br />

Hardware API LayerModel<br />

Hardware API News<br />

API Functions<br />

The hardware API uses interrupts 0xA2 (PFE functions) and 0xA1 (HAL functions) with a service number in the<br />

high order byte of the AX register (AH). The implemented hardware services are listed below.<br />

For some useful comments see also under Programming notes<br />

● Interrupt_0xA2_function_0x80:_PFE: Enable Data Bus<br />

● Interrupt_0xA2_function_0x81:_PFE: Enable Non-Multiplexed Address Bus<br />

● Interrupt_0xA2_function_0x82:_PFE: Enable Programmable I/O Pins<br />

● Interrupt_0xA2_function_0x83:_PFE: Enable Programmable Chip Selects<br />

● Interrupt_0xA2_function_0x84:_PFE: Enable External Interrupt Requests<br />

● Interrupt_0xA2_function_0x85:_PFE: Enable External Timer Inputs/Outputs<br />

● Interrupt_0xA2_function_0x86:_PFE: Set Edge/Level Interrupt Mode<br />

● Interrupt_0xA2_function_0x87:_PFE: Enable PWD Mode<br />

● Interrupt_0xA2_function_0x88:_PFE: Enable External DMA<br />

● Interrupt_0xA2_function_0x89:_PFE: Enable INT0 / INTA cascade mode<br />

● Interrupt_0xA2_function_0x8A:_PFE: Set wait states for PCS0-3<br />

● Interrupt_0xA2_function_0x90:_PFE: Get Hardware API Function Pointers<br />

● Interrupt_0xA1_function_0x10:_HAL: Set int0 Vector<br />

● Interrupt_0xA1_function_0x80:_HAL: Read Data Bus<br />

● Interrupt_0xA1_function_0x81:_HAL: Write Data Bus<br />

● Interrupt_0xA1_function_0x82:_HAL: Read Programmable I/O Pins<br />

● Interrupt_0xA1_function_0x83:_HAL: Write Programmable I/O Pins<br />

● Interrupt_0xA1_function_0x84:_HAL: Install Interrupt Service Routine<br />

● Interrupt_0xA1_function_0x85:_HAL: Initialize Timer Settings<br />

● Interrupt_0xA1_function_0x86:_HAL: Start Timer<br />

● Interrupt_0xA1_function_0x87:_HAL: Stop timer<br />

Page 281 / 400

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

Saved successfully!

Ooh no, something went wrong!