ChibiOS/HAL 9.0.0
|
PLATFORM GPT subsystem low level driver header. More...
Go to the source code of this file.
Data Structures | |
struct | GPTConfig |
Driver configuration structure. More... | |
struct | GPTDriver |
Structure representing a GPT driver. More... |
Macros | |
#define | gpt_lld_change_interval(gptp, interval) |
Changes the interval of GPT peripheral. | |
PLATFORM configuration options | |
#define | PLATFORM_GPT_USE_GPT1 FALSE |
GPTD1 driver enable switch. |
Typedefs | |
typedef uint32_t | gptfreq_t |
GPT frequency type. | |
typedef uint16_t | gptcnt_t |
GPT counter type. |
Functions | |
void | gpt_lld_init (void) |
Low level GPT driver initialization. | |
void | gpt_lld_start (GPTDriver *gptp) |
Configures and activates the GPT peripheral. | |
void | gpt_lld_stop (GPTDriver *gptp) |
Deactivates the GPT peripheral. | |
void | gpt_lld_start_timer (GPTDriver *gptp, gptcnt_t interval) |
Starts the timer in continuous mode. | |
void | gpt_lld_stop_timer (GPTDriver *gptp) |
Stops the timer. | |
void | gpt_lld_polled_delay (GPTDriver *gptp, gptcnt_t interval) |
Starts the timer in one shot mode and waits for completion. |
PLATFORM GPT subsystem low level driver header.
Definition in file hal_gpt_lld.h.