libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Modules | |
Timer Register Values | |
Macros | |
#define | TIMER_CTRL(x) MMIO32(x + 0x0) |
Timer control register. More... | |
#define | TIMER_TARVAL(x) MMIO32(x + 0x4) |
The target value(s). More... | |
#define | TIMER_CURVAL(x) MMIO32(x + 0x8) |
Current count value in modes 0, 2, and 3. More... | |
#define | TIMER_CAPW(x) MMIO32(x + 0xC) |
Cycle width in mode 3. More... | |
#define | TIMER_CAPLH(x) MMIO32(x + 0x10) |
Pulse width in modes 2 and 3. More... | |
#define | TIMER_MOD2LF(x) MMIO32(x + 0x14) |
PWM state in mode 1. More... | |
#define | TIMER_OUTPVAL(x) MMIO32(x + 0x80) |
Timer output pin value. More... | |
#define | TIMER_INTCTL(x) MMIO32(x + 0x84) |
Interrupt enable and mask. More... | |
#define | TIMER_INTSTAT(x) MMIO32(x + 0x88) |
Interrupt status before masking. More... | |
#define | TIMER_INTMSKSTAT(x) MMIO32(x + 0x8C) |
Interrupt status after masking. More... | |
#define | TIMER_INTFLAG(x) MMIO32(x + 0x90) |
Interrupt overflow; 1 if interrupt occurs again without being cleared. More... | |
#define TIMER_CAPLH | ( | x | ) | MMIO32(x + 0x10) |
#define TIMER_CAPW | ( | x | ) | MMIO32(x + 0xC) |
#define TIMER_CTRL | ( | x | ) | MMIO32(x + 0x0) |
#define TIMER_CURVAL | ( | x | ) | MMIO32(x + 0x8) |
#define TIMER_INTCTL | ( | x | ) | MMIO32(x + 0x84) |
#define TIMER_INTFLAG | ( | x | ) | MMIO32(x + 0x90) |
#define TIMER_INTMSKSTAT | ( | x | ) | MMIO32(x + 0x8C) |
#define TIMER_INTSTAT | ( | x | ) | MMIO32(x + 0x88) |
#define TIMER_MOD2LF | ( | x | ) | MMIO32(x + 0x14) |
#define TIMER_OUTPVAL | ( | x | ) | MMIO32(x + 0x80) |