Technical information
Packages Overview
5-12 G24 KJAVA User’s Guide July 15, 2008
Figure 5-2: GPIO Counter Mechanism
Interrupt and Counter performance
1. Interrupt latency - notification to UM.
• Idle - 10 ms.
• While HTTP download session - 15 ms.
• While UDP download session - 20ms.
Note: For both HTTP and UDP, thread yielding must occur. See “GPIO Interrupt Latency” for
more information.
2. Counter frequency:
• Idle - 2 KHz.
• While HTTP download session - 500 Hz.
For additional GPIO information refer to “GPIO Lines”.
GPIO Classes
1. GpioInput - GPIO configuration as input, interrupt or counter.
Actions: read status, enable/disable interrupt/counter
2. GpioOutput - GPIO configuration as output.
Actions: write
3. GpioInterruptConfig - is container of interrupt GPIO.
Configuration: notification type, debounce type, and notifications listener.
Default configuration values:
a. Debounce: 40ms (Normal).
b. Notifications: both edges.
Note: Gpio interrupt performance are detailed in “GPIO Interrupt Latency”.
4. GpioCounterConfig - is container of counter GPIO.
Configuration: notification type, counter type, counter expiry, and notifications listener.
Default configuration values:
a. Debounce: disabled (Can not be changed).
Set GPIO counter
Notify java VM
Is counter expiry?
YES
NO
Java
Midlet
platform
Counter++