This header file provides the functions declarations (prototypes) of the set of APIs regarding the management of the following devices:
• GPIO
• I2C
• HW timers
• UART
• USB
In accordance with the module that you are using, refer to document [2]/[5]/[7]/[9]/[10] to get hardware information, as for example GPIO port numbers.
|
The APIs managing GPIO, Hwtimer, msTimerCounter, and msSemaphore use the same internal module resources. The developer must avoid using APIs that make use simultaneously of the same resource. |
NOTE:
The table below shows on which GPIO can occur a configuration conflict between interrupt and Hw Timer functions.
HE910 series. If GPIO_01 is configured to generate an interrupt, HwTimer having timer_id=2 is disabled, and so on.
UE866 series. If GPIO_07 is configured to generate an interrupt, HwTimer having timer_id=3 is disabled, and so on.
|
HE910 |
UE910 |
UE866 |
UL865 |
LE910 |
GE910 |
GPIO_01 |
T2 |
T2 |
- |
- |
T2 |
- |
GPIO_02 |
T3 |
T3 |
- |
- |
T3 |
- |
GPIO_03 |
T4 |
T4 |
- |
- |
T4 |
- |
GPIO_04 |
T5 |
T5 |
- |
- |
T5 |
- |
GPIO_05 |
- |
- |
- |
- |
- |
- |
GPIO_06 |
T6 |
T6 |
T2 |
- |
T6 |
- |
GPIO_07 |
T7 |
T7 |
T3 |
- |
T1 |
- |
GPIO_08 |
- |
- |
- |
- |
- |
- |
GPIO_09 |
- |
- |
- |
- |
- |
- |
GPIO_10 |
- |
- |
- |
- |
- |
- |