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.

Return Value<br />

none<br />

Comments<br />

Call this function on exit from your program and in your NMI (Non-Maskable Interrupt) handler. Your<br />

hardware around the <strong>IPC<strong>@CHIP</strong></strong> must support the Pfail signal, so that the <strong>IPC<strong>@CHIP</strong></strong> can generate an<br />

NMI sufficiently in advance of power loss to the CPU.<br />

Reminder : The DK40 does not support the Pfail signal.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Initialize/Restore Non-Volatile Data<br />

Install Interrupt Service Routine<br />

Interrupt 0xA1 service 0xC2: HAL: Get Reboot Reason<br />

Parameters<br />

AH<br />

Check cause of most recent reboot.<br />

Must be 0xC2<br />

Return Value<br />

Comments<br />

AX = reason:<br />

0 = UNKNOWN<br />

3 = WATCHDOG<br />

4 = POWER FAIL<br />

This function only returns valid results if the init/restore function (0xC0) was called following the reboot.<br />

Related Topics<br />

Top of list<br />

Index page<br />

Initialize/Restore Non-Volatile Data<br />

End of document<br />

Page 313 / 400

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

Saved successfully!

Ooh no, something went wrong!