28 #if (HAL_USE_GPT == TRUE) || defined(__DOXYGEN__) 86 #define gptChangeIntervalI(gptp, interval) { \ 87 gpt_lld_change_interval(gptp, interval); \ 99 #define gptGetIntervalX(gptp) gpt_lld_get_interval(gptp) 112 #define gptGetCounterX(gptp) gpt_lld_get_counter(gptp)
void gptStopTimerI(GPTDriver *gptp)
Stops the timer.
void gptStartContinuous(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in continuous mode.
void gptStopTimer(GPTDriver *gptp)
Stops the timer.
Structure representing a GPT driver.
void gptInit(void)
GPT Driver initialization.
void gptStart(GPTDriver *gptp, const GPTConfig *config)
Configures and activates the GPT peripheral.
Driver configuration structure.
const GPTConfig * config
Current configuration data.
void gptStop(GPTDriver *gptp)
Deactivates the GPT peripheral.
uint16_t gptcnt_t
GPT counter type.
void gptChangeInterval(GPTDriver *gptp, gptcnt_t interval)
Changes the interval of GPT peripheral.
PLATFORM GPT subsystem low level driver header.
void gptObjectInit(GPTDriver *gptp)
Initializes the standard part of a GPTDriver structure.
void(* gptcallback_t)(GPTDriver *gptp)
GPT notification callback type.
void gptPolledDelay(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode and waits for completion.
void gptStartOneShotI(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode.
gptstate_t
Driver state machine possible states.
void gptStartContinuousI(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in continuous mode.
void gptStartOneShot(GPTDriver *gptp, gptcnt_t interval)
Starts the timer in one shot mode.