Data Structures |
| struct | CSL_Config |
| | Configuration structure. More...
|
| struct | CSL_GptObj |
| | Object structure. More...
|
Defines |
| #define | CSL_IAFR_TIMER_FLAG_0_RESETVAL (0x0001u) |
| #define | CSL_IAFR_TIMER_FLAG_1_RESETVAL (0x0002u) |
| #define | CSL_IAFR_TIMER_FLAG_2_RESETVAL (0x0004u) |
| #define | CSL_IAFR_TIMER_FLAG_0_1_2_RESETVAL (0x0007u) |
Typedefs |
|
typedef CSL_GptObj * | CSL_Handle |
| | GPT CSL handle.
|
Enumerations |
| enum | CSL_Instance {
GPT_0 = 0,
GPT_1,
GPT_2,
GPT_INVALID
} |
| | Instance number. More...
|
| enum | CSL_AutoReLoad {
GPT_AUTO_DISABLE = 0,
GPT_AUTO_ENABLE
} |
| | Autoload Timer Mode. More...
|
| enum | CSL_CtrlTimer {
GPT_TIMER_DISABLE = 0,
GPT_TIMER_ENABLE
} |
| | Timer enable/disable. More...
|
| enum | CSL_PreScale {
GPT_PRE_SC_DIV_0 = 0,
GPT_PRE_SC_DIV_1,
GPT_PRE_SC_DIV_2,
GPT_PRE_SC_DIV_3,
GPT_PRE_SC_DIV_4,
GPT_PRE_SC_DIV_5,
GPT_PRE_SC_DIV_6,
GPT_PRE_SC_DIV_7,
GPT_PRE_SC_DIV_8,
GPT_PRE_SC_DIV_9,
GPT_PRE_SC_DIV_10,
GPT_PRE_SC_DIV_11,
GPT_PRE_SC_DIV_12,
GPT_PRE_SC_DIV_RESERVE
} |
| | Pre-Scale division. More...
|
Functions |
| CSL_Handle | GPT_open (CSL_Instance instance, CSL_GptObj *gptObj, CSL_Status *status) |
| CSL_Status | GPT_reset (CSL_Handle hGpt) |
| CSL_Status | GPT_close (CSL_Handle hGpt) |
| CSL_Status | GPT_start (CSL_Handle hGpt) |
| CSL_Status | GPT_stop (CSL_Handle hGpt) |
| CSL_Status | GPT_getCnt (CSL_Handle hGpt, Uint32 *timeCnt) |
| CSL_Status | GPT_config (CSL_Handle hGpt, CSL_Config *hwConfig) |
Functional layer API header file for GPT CSL.
Path: \(CSLPATH)/inc