ChibiOS/HAL 9.0.0
hal_gpt.c File Reference

GPT Driver code. More...

#include "hal.h"

Go to the source code of this file.

Functions

void gptInit (void)
 GPT Driver initialization.
void gptObjectInit (GPTDriver *gptp)
 Initializes the standard part of a GPTDriver structure.
msg_t gptStart (GPTDriver *gptp, const GPTConfig *config)
 Configures and activates the GPT peripheral.
void gptStop (GPTDriver *gptp)
 Deactivates the GPT peripheral.
void gptChangeInterval (GPTDriver *gptp, gptcnt_t interval)
 Changes the interval of GPT peripheral.
void gptStartContinuous (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in continuous mode.
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.
void gptStartOneShotI (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in one shot mode.
void gptStopTimer (GPTDriver *gptp)
 Stops the timer.
void gptStopTimerI (GPTDriver *gptp)
 Stops the timer.
void gptPolledDelay (GPTDriver *gptp, gptcnt_t interval)
 Starts the timer in one shot mode and waits for completion.

Detailed Description

GPT Driver code.

Definition in file hal_gpt.c.