Table 3: interrupt sources and priority level – Maxim Integrated 73S12xxF Software User Manual
Page 21
UG_12xxF_016
73S12xxF Software User Guide
Rev. 1.50
21
The core provides four interrupt priority levels among six group sources. The 73S12xxF sources are
grouped as shown in
. All sources belonging to a group share the same interrupt priority level.
The LAPI sets up the four priority levels for these groups as shown in
Table 3: Interrupt Sources and Priority Level
Group 6
Group 5
Group 4
Group 3
Group 2
Group 1
I2C
USB
Smart Card
Ext Int 1
Timer 0
Ext Int0
VDD
RTC
Timer 1
Ext Int 3
Ext Int 2
Serial 1
Analog
Keypad
Serial 0
Priorities as set in LAPI.LIB:
Highest
Low
High
Lowest
Lowest
Low
The low-level APIs are listed below. Additional details are in the subsequent subsections.
•
Keyboard Driver API – Available with all 73S12xxF Devices
(page 21).
•
LCD Driver API – Available with all 73S12xxF Devices
(page 23).
•
LED Driver API – Available with all 73S12xxF Devices
(page 24).
•
Real Time Clock API - Available with the 68-pin 73S12xxF
(page 26).
•
Smart Card Interface Driver API – Available with all 73S12xxF Devices
(page 30).
•
SERIAL (RS232) Driver API – Available with all 73S12xxF Devices
(page 39).
•
USB API – Available with 64K Flash version of the 73S12xxF
(page 42).
•
Clock Generator Circuit API – Available with all 73S12xxF Devices
(page 51).
•
Power Management API – Available with all 73S12xxF Devices
(page 52).
•
Analog Threshold Management Driver API – Available with all 73S12xxF Devices
(page 53).
•
Event Management API – Available with all 73S12xxF Devices
(page 55).
•
Timers API – Available with all 73S12xxF Devices
(page 57).
•
User IO API – Available with all 73S12xxF Devices
(page 58).
•
External Interrupts API – Available with all 73S12xxF Devices
(page 60).
•
Special Function Register API – Available with all 73S12xxF Devices
(page 61).
•
Flash/Memory API – Available with all 73S12xxF Devices
(page 63).
•
Boot Loader and Passcode Management –
Available with the LAPI-*BL.lib
•
Security Mode Management - Available with the LAPI-*BL.lib
•
Other Miscellaneous API Calls – Available with all 73S12xxF Devices
(page 71).
4.2.1 Keyboard Driver API – Available with all 73S12xxF Devices
The Keyboard Driver manages the keystroke acquisition using a scrambled algorithm. It is the High-level
API’s role to manage the scrambling algorithm. Up to 30 keys can be managed in a 6 row by 5 column
configuration. The APIs below are written to use Hardware Scan enabling. An application can be written
to bypass Hardware Scanning to perform its own manual key scan functionality. Refer to the 73S12xxF
Data Sheet for information on the keypad bypass mode.
The Keyboard Driver API includes:
•
(page 22)
•
(page 22)