ChibiOS/HAL  6.1.0
GPTConfig Struct Reference

Driver configuration structure. More...

#include <hal_gpt_lld.h>

Collaboration diagram for GPTConfig:
Collaboration graph

Data Fields

gptfreq_t frequency
 Timer clock in Hz. More...
 
gptcallback_t callback
 Timer callback pointer. More...
 

Detailed Description

Driver configuration structure.

Note
It could be empty on some architectures.

Definition at line 74 of file hal_gpt_lld.h.

Field Documentation

gptfreq_t GPTConfig::frequency

Timer clock in Hz.

Note
The low level can use assertions in order to catch invalid frequency specifications.

Definition at line 80 of file hal_gpt_lld.h.

gptcallback_t GPTConfig::callback

Timer callback pointer.

Note
This callback is invoked on GPT counter events.

Definition at line 85 of file hal_gpt_lld.h.

Referenced by gptStartOneShotI().