Table of Contents
- Revision History
- Introduction
- 1. Notification
- 2. API Functions Reference
- 3. Monitoring of device connection/disconnection
- 4. Device Identification and Configuration
- 5. Digital Outputs
- 6. Digital Inputs
- 6.1. Digital Input Event
- 6.2. Phase of Event Generation for Digital Input Pins
- 6.2.1. GPIO_IN_EV_NONE (0x00) – No events are sent
- 6.2.2. GPIO_IN_EV_LEV_0 (0x01) – Sending events when pin has logical "0" on its input
- 6.2.3. GPIO_IN_EV_LEV_1 (0x01) – Sending events when pin has logical "1" on its input
- 6.2.4. GPIO_IN_EV_RISING (0x03) – Sending events when input value changes from logical "0" to "1"
- 6.2.5. GPIO_IN_EV_FALLING (0x04) – Sending events when input value changes from logical "1" to "0"
- 6.2.6. GPIO_IN_EV_CHANGE (0x05) – Sending events when input value of the pin changes
- 6.3. Electrical Characteristics of Digital Inputs
- 6.4. GPIO_SET_IN_CFG (0x05)
- 6.5. GPIO_GET_IN_CFG (0x06)
- 6.6. GPIO_EV_IN (0x82)
- 7. Analog Inputs (ADC Module)
- 7.1. Association between analog input voltage and ADC digital code
- 7.2. ADC Module SW Interface
- 7.3. Analog Reference Voltage
- 7.4. ADC Event
- 7.5. Default Values of ADC Channels
- 7.6. GPIO_SET_ADC_MODULE_CFG (0x20)
- 7.7. GPIO_GET_ADC_MODULE_CFG (0x25)
- 7.8. GPIO_SET_ADC_CHANNEL_CFG (0x21)
- 7.9. GPIO_GET_ADC_CHANNEL_CFG (0x26)
- 7.10. GPIO_GET_ADC_VAL (0x11)
- 7.11. GPIO_SET_ADC_CFG (0x12)
- 7.12. GPIO_GET_ADC_CFG (0x13)
- 7.13. GPIO_EV_ADC (0x83)
- 8. Comparator Module
- 8.1. Modes of operation for comparator module
- 8.1.1. Comparators Off (MODE = 0)
- 8.1.2. One Independent Comparator with Output (MODE = 1)
- 8.1.3. Two Independent Comparators (MODE = 2)
- 8.1.4. Two Independent Comparators with Outputs (MODE = 3)
- 8.1.5. Two Common Reference Comparators (MODE = 4)
- 8.1.6. Two Common Reference Comparators with Outputs (MODE = 5)
- 8.1.7. Four Inputs Multiplexed to Two Comparators (MODE = 6)
- 8.1.8. Comparators Reset (MODE = 7)
- 8.2. Comparator voltage reference module
- 8.3. Comparator module event
- 8.4. GPIO_SET_CMP_CFG (0x0F)
- 8.5. GPIO_GET_CMP_CFG (0x10)
- 8.6. GPIO_GET_CMP_VAL (0x22)
- 8.7. GPIO_EV_CMP (0x84)
- 9. Pulse Width Modulation and Pulse Generation Module
- 10. Frequency Counter Module
- 11. Pulse Counter Module
- 11.1. Pulse Counter Modes
- 11.2. Pulse Counter Event
- 11.3. GPIO_SET_PLS_CNT_CFG (0x1D)
- 11.4. GPIO_GET_PLS_CNT_CFG (0x1E)
- 11.5. GPIO_SET_PLS_CNT_LIMIT (0x28)
- 11.6. GPIO_GET_PLS_CNT_LIMIT (0x29)
- 11.7. GPIO_GET_PLS_CNT_VAL (0x1F)
- 11.8. GPIO_SUSPEND_PLS_CNT (0x2B)
- 11.9. GPIO_RESUME_PLS_CNT (0x2A)
- 11.10. GPIO_RESET_PLS_CNT (0x2C)
- 11.11. GPIO_EV_PLS_CNT
- 12. Weak Pull Up Resistors
- 13. C/C++ Project Integration
- 14. Scripting languages interfaces
- 15. Sample Code
- 16. Electrical Characteristics


2006-2012