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 />

Interrupt 0xA1 service 0x8A: HAL: Get Frequencies<br />

Parameters<br />

AH<br />

AL<br />

Get the system frequencies.<br />

Must be 0x8A.<br />

Which frequency to get:<br />

0 = Return processor frequency<br />

1 = Return timer base frequency<br />

2 = Return maximum baud rate<br />

3 = Return PWD timer frequency<br />

Return Value<br />

Comments<br />

DX:AX frequency [Hz]<br />

Use the timer base frequency to compute the correct timer clock divider value, where:<br />

Output frequency = timer base frequency / clock divider<br />

Use the maximum baud rate compute the correct baud rate for the processor specific baud rate initialize<br />

function (See Fossil Extended line control initialization function).<br />

Related Topics<br />

Top of list<br />

Index page<br />

Baud rate = maximum baud rate / baud rate divider<br />

HAL Initialize Timer Settings<br />

Interrupt 0xA1 service 0x8B: HAL: Set Timer Duty Cycle Waveform<br />

Parameters<br />

AH<br />

AL<br />

Set the duty cycle waveform of specified timer.<br />

Must be 0x8B.<br />

Page 301 / 400

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

Saved successfully!

Ooh no, something went wrong!