28 #if (HAL_USE_GPT == TRUE) || defined(__DOXYGEN__) 47 #if !defined(PLATFORM_GPT_USE_GPT1) || defined(__DOXYGEN__) 48 #define PLATFORM_GPT_USE_GPT1 FALSE 101 #if defined(GPT_DRIVER_EXT_FIELDS) 102 GPT_DRIVER_EXT_FIELDS
124 #define gpt_lld_change_interval(gptp, interval) { \ 133 #if (PLATFORM_GPT_USE_GPT1 == TRUE) && !defined(__DOXYGEN__) void gpt_lld_polled_delay(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode and waits for completion.
void gpt_lld_init(void)
Low level GPT driver initialization.
GPTDriver GPTD1
GPTD1 driver identifier.
void gpt_lld_stop(GPTDriver *gptp)
Deactivates the GPT peripheral.
void gpt_lld_start(GPTDriver *gptp)
Configures and activates the GPT peripheral.
Structure representing a GPT driver.
gptcallback_t callback
Timer callback pointer.
Driver configuration structure.
const GPTConfig * config
Current configuration data.
uint32_t gptfreq_t
GPT frequency type.
uint16_t gptcnt_t
GPT counter type.
gptstate_t state
Driver state.
void gpt_lld_start_timer(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in continuous mode.
void(* gptcallback_t)(GPTDriver *gptp)
GPT notification callback type.
gptstate_t
Driver state machine possible states.
void gpt_lld_stop_timer(GPTDriver *gptp)
Stops the timer.
gptfreq_t frequency
Timer clock in Hz.