## /*****************************************GPT HW-SW MAP*****************************************/

Table 1: Api Usage and SFR access
API Name | SFRs Used | Remarks
--- | --- | ---
Gpt_Init | TOMi_CHx_CTRL,ATOMi_CHx_CTRL | Where i refers to TOM/ATOM module number and x refers to channel number
Gpt_StartTimer | TOMi_CHx_CN0,TOMi_CHx_CM0,TOMi_CHx_SR0,ATOMi_CHx_CN0,ATOMi_CHx_CM0, ATOMi_CHx_SR0,TOMi_TGCy_ENDIS_CTRL,ATOMi_AGC_ENDIS_CTRL, TOMi_TGCy_ENDIS_STAT,ATOMi_AGC_ENDIS_STAT | Where i refers to TOM/ATOM module number, x refers to channel number and y refers to the TGC number(0 or 1)
Gpt_StopTimer | TOMi_TGCy_ENDIS_CTRL,ATOMi_AGC_ENDIS_CTRL,TOMi_TGCy_ENDIS_STAT, ATOMi_AGC_ENDIS_STAT | Where i refers to TOM/ATOM module number, x refers to channel number nad y refers to the TGC number(0 or 1)
Gpt_GetTimeElapsed | TOMi_CHx_CN0,TOMi_CHx_CM0,ATOMi_CHx_CN0,ATOMi_CHx_CM0 | Where i refers to TOM/ATOM module number and x refers to channel number
Gpt_EnableNotification | TOMi_CHx_IRQ_NOTIFY,TOMi_CHx_IRQ_EN,ATOMi_CHx_IRQ_NOTIFY, ATOMi_CHx_IRQ_EN | Where i refers to TOM/ATOM module number and x refers to channel number
Gpt_DisableNotification | TOMi_CHx_IRQ_NOTIFY,TOMi_CHx_IRQ_EN,ATOMi_CHx_IRQ_NOTIFY, ATOMi_CHx_IRQ_EN | Where i refers to TOM/ATOM module number and x refers to channel number

Table 2: GPT Configured Channels
GPT Channel | GTM Module | Module no | Channel no
GPT_Channel_0 | ATOM | 0 | 0

##