![]() |
MCUSW
|
Configuration per channel.
Data Fields | |
Gpt_ChannelMode | channelMode |
uint32 | tickValueMax |
uint8 | enableWakeupFlag |
Gpt_NotifyType | fnPtrNotifyFunction |
EcuM_WakeupSourceType | wakeupSourceRef |
uint32 | prescale |
Gpt_ChannelMode Gpt_ChannelConfigType::channelMode |
Channel mode
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
uint8 Gpt_ChannelConfigType::enableWakeupFlag |
Enables wakeup capability of MCU for a channel
Gpt_NotifyType Gpt_ChannelConfigType::fnPtrNotifyFunction |
Function pointer to callback function (for non-wakeup notification)
EcuM_WakeupSourceType Gpt_ChannelConfigType::wakeupSourceRef |
Channel wakeup source, in case the wakeup-capability is true this value is transmitted to the EcuState Manager
uint32 Gpt_ChannelConfigType::prescale |
The input GPT clock will be divided by this value