You can find here two example codes for API timer.
G240-API-CW51.ZIP contains example code for trimming API timer to 10kHz (API isn't factory trimmed).
G240-API+STOP-CW51.ZIP contains example code for enter to stop mode and periodical wakeup by API interrupt
Original Attachment has been moved to: G240-API+STOP-CW51.ZIP
Original Attachment has been moved to: G240-API-CW51.ZIP