MCUSW
Gpt_ChannelConfigType Struct Reference

Detailed Description

Configuration per channel.

Data Fields

Gpt_ChannelMode channelMode
 
uint32 tickValueMax
 
uint8 enableWakeupFlag
 
Gpt_NotifyType fnPtrNotifyFunction
 
EcuM_WakeupSourceType wakeupSourceRef
 
uint32 prescale
 

Field Documentation

◆ channelMode

Gpt_ChannelMode Gpt_ChannelConfigType::channelMode

Channel mode

◆ tickValueMax

uint32 Gpt_ChannelConfigType::tickValueMax

Maximum value in ticks, the timer channel is able to count. With the next tick, the timer rolls over to zero

◆ enableWakeupFlag

uint8 Gpt_ChannelConfigType::enableWakeupFlag

Enables wakeup capability of MCU for a channel

◆ fnPtrNotifyFunction

Gpt_NotifyType Gpt_ChannelConfigType::fnPtrNotifyFunction

Function pointer to callback function (for non-wakeup notification)

◆ wakeupSourceRef

EcuM_WakeupSourceType Gpt_ChannelConfigType::wakeupSourceRef

Channel wakeup source, in case the wakeup-capability is true this value is transmitted to the EcuState Manager

◆ prescale

uint32 Gpt_ChannelConfigType::prescale

The input GPT clock will be divided by this value