| Azure Sphere MT3620 M4 API Reference Manual
    | 
This section introduces the enumerations that GPT M-HAL used. More...
This section introduces the enumerations that GPT M-HAL used.
| Enumerations | |
| enum | gpt_num { GPT0 = 0, GPT1 = 1, GPT2 = 2, GPT3 = 3, GPT4 = 4, GPT_MAX_NUM } | 
| GPT timer ID enum definition.  More... | |
| enum | gpt_mode { GPT_ONE_SHOT = 0, GPT_REPEAT } | 
| GPT timer interrupt mode enum definition.  More... | |
| enum | gpt_clk { GPT_SPEED_1K = 0, GPT_SPEED_32K } | 
| GPT timer's clock speeds enum definition.  More... | |
| enum gpt_num | 
GPT timer ID enum definition.
 It can be used to specify the timer ID of the current GPT device unit. 
| enum gpt_mode | 
GPT timer interrupt mode enum definition.
 It can be used to set GPT timer's interrupt mode by mtk_mhal_gpt_config_mode(). 
| Enumerator | |
|---|---|
| GPT_ONE_SHOT | Configure GPT timer as one-shot mode. | 
| GPT_REPEAT | Configure GPT timer as repeat mode. | 
| enum gpt_clk | 
GPT timer's clock speeds enum definition.
 It can be used to set GPT timer's clock speed by mtk_mhal_gpt_config_clk().
| Enumerator | |
|---|---|
| GPT_SPEED_1K | Configure GPT timer's clock speed as 1K mode. | 
| GPT_SPEED_32K | Configure GPT timer's clock speed as 32K mode. |