Api_init(), Soft_reset (), E 71) – Maxim Integrated 73S12xxF Software User Manual
Page 71

UG_12xxF_016
73S12xxF Software User Guide
Rev. 1.50
71
4.2.19 Other Miscellaneous API Calls – Available with all 73S12xxF Devices
Several API calls are provided to help with initializing or re-initializing all the registers, interrupts and
events. As a general guideline, API_Init() should always be called at the beginning of the application
main routine. The miscellaneous APIs include:
•
(page 71)
•
(page 71)
API_Init()
Purpose
Enable TIMER0 and TIMER1 interrupts, clear all pending USB interrupts, set the
CPU to run at 3.69 MHz. Always call this routine at the beginning of an embedded
application.
Synopsis
void API_Init ( void );
Parameters
None.
Return Codes None.
Soft_Reset ()
Purpose
Initialize all 73S12xxF specific internal and external SFRs to their hardware power-on
defaults.
Initialize Smart Card SFRs to hard reset default values.
Initialize USB SFRs to hard reset default values.
Initialize most 80515 SFRs.
Synopsis
void Soft_Reset ( void );
Parameters
None.
Return Codes None.