cpu_timer.h File Reference

Timer CPU specific definitions for the STM32 family. More...

Detailed Description

Timer CPU specific definitions for the STM32 family.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file cpu_timer.h.

#include <stdint.h>
#include "cpu.h"
+ Include dependency graph for cpu_timer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  timer_conf_t
 Timer device configuration. More...
 
#define TIMER_CHANNEL_NUMOF   (4U)
 All STM timers have at most 4 capture-compare channels.
 
#define PERIPH_TIMER_PROVIDES_SET
 The driver provides a relative set function.
 
#define TIM_CHAN(tim, chan)   *(&dev(tim)->CCR1 + chan)
 Define a macro for accessing a timer channel.