|
ChibiOS/HAL
7.0.3
|
GPT Driver macros and structures. More...
#include "hal_gpt_lld.h"Go to the source code of this file.
Macros | |
| #define | gptChangeIntervalI(gptp, interval) |
| Changes the interval of GPT peripheral. More... | |
| #define | gptGetIntervalX(gptp) gpt_lld_get_interval(gptp) |
| Returns the interval of GPT peripheral. More... | |
| #define | gptGetCounterX(gptp) gpt_lld_get_counter(gptp) |
| Returns the counter value of GPT peripheral. More... | |
Typedefs | |
| typedef struct GPTDriver | GPTDriver |
| Type of a structure representing a GPT driver. More... | |
| typedef void(* | gptcallback_t) (GPTDriver *gptp) |
| GPT notification callback type. More... | |
Enumerations |
Functions | |
| void | gptInit (void) |
| GPT Driver initialization. More... | |
| void | gptObjectInit (GPTDriver *gptp) |
Initializes the standard part of a GPTDriver structure. More... | |
| void | gptStart (GPTDriver *gptp, const GPTConfig *config) |
| Configures and activates the GPT peripheral. More... | |
| void | gptStop (GPTDriver *gptp) |
| Deactivates the GPT peripheral. More... | |
| void | gptStartContinuous (GPTDriver *gptp, gptcnt_t interval) |
| Starts the timer in continuous mode. More... | |
| void | gptStartContinuousI (GPTDriver *gptp, gptcnt_t interval) |
| Starts the timer in continuous mode. More... | |
| void | gptChangeInterval (GPTDriver *gptp, gptcnt_t interval) |
| Changes the interval of GPT peripheral. More... | |
| void | gptStartOneShot (GPTDriver *gptp, gptcnt_t interval) |
| Starts the timer in one shot mode. More... | |
| void | gptStartOneShotI (GPTDriver *gptp, gptcnt_t interval) |
| Starts the timer in one shot mode. More... | |
| void | gptStopTimer (GPTDriver *gptp) |
| Stops the timer. More... | |
| void | gptStopTimerI (GPTDriver *gptp) |
| Stops the timer. More... | |
| void | gptPolledDelay (GPTDriver *gptp, gptcnt_t interval) |
| Starts the timer in one shot mode and waits for completion. More... | |
GPT Driver macros and structures.
Definition in file hal_gpt.h.