]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/mpc5606s/config/Gpt_Cfg.c
Restored old default config for Gpt for mpc5606s
[arc.git] / boards / mpc5606s / config / Gpt_Cfg.c
index 0b72e7c143f7865b692647614cdc87248674802e..00db9dd1e0ae8ed57dcdfdd01b6fd71b9eff4237 100644 (file)
 \r
 const Gpt_ConfigType GptConfigData[] =\r
 {\r
+       {\r
+               .GptChannelId = GPT_CHANNEL_PIT_0,\r
+               .GptChannelMode = GPT_MODE_CONTINUOUS,\r
+               .GptChannelClkSrc = 0,\r
+               .GptNotification = &Gpt_Notification_0,\r
+               .GptNotificationPriority = 4,\r
+               .GptChannelPrescale = 0,\r
+               .GptEnableWakeup = TRUE,\r
+       },\r
+       {\r
+               .GptChannelId = GPT_CHANNEL_PIT_1,\r
+               .GptChannelMode = GPT_MODE_CONTINUOUS,\r
+               .GptChannelClkSrc = 0,\r
+               .GptNotification = &Gpt_Notification_1,\r
+               .GptNotificationPriority = 5,\r
+               .GptChannelPrescale = 0,\r
+               .GptEnableWakeup = FALSE,\r
+       },\r
+       {\r
+               .GptChannelId = GPT_CHANNEL_PIT_2,\r
+               .GptChannelMode = GPT_MODE_ONESHOT,\r
+               .GptChannelClkSrc = 0,\r
+               .GptNotification = &Gpt_Notification_2,\r
+               .GptNotificationPriority = 6,\r
+               .GptChannelPrescale = 0,\r
+               .GptEnableWakeup = FALSE,\r
+       },\r
+       {\r
+               .GptChannelId = GPT_CHANNEL_PIT_3,\r
+               .GptChannelMode = GPT_MODE_CONTINUOUS,\r
+               .GptChannelClkSrc = 0,\r
+               .GptNotification = &Gpt_Notification_3,\r
+               .GptNotificationPriority = 7,\r
+               .GptChannelPrescale = 0,\r
+               .GptEnableWakeup = FALSE,\r
+       },\r
        {\r
        // Last channel in list\r
        .GptChannelId = GPT_CHANNEL_ILL,\r