Function Reference Manual
(English Version)
Supports TWL Manual Tools 3.4

Confidential

This document contains confidential and proprietary information of Nintendo and is also protected under the copyright laws of the United States and foreign countries. No part of this document may be released, distributed, transmitted or reproduced in any form or by any electronic or mechanical means, including information storage and retrieval systems, without permission in writing from Nintendo.

This document contains proprietary information. Please take strict measures to keep this information secret.

Microsoft Internet Explorer 7.0 / Firefox 3.0 or later versions are recommended.


Notes

Multithread Operation

Fundamentally, the TWL Manual Tools libraries are not designed to be thread-safe by supporting multithreading. Consequently, functions from the TWL Manual Tools libraries may not function properly if called from an interrupt handler or a different thread.

Using Dividers

The TWL Manual Tools M2d library makes use of the divider. If you use TWL Manual Tools without backing up and restoring the state of the divider as part of interrupt handling, calculation results prior to the interrupt may be destroyed.

Use the CP_SaveContext and CP_RestoreContext functions to save and restore the divider state, respectively, when TWL Manual Tools is used during interrupts.