RTEMS 6.1-rc6
|
This header file defines the GPTIMER register block interface. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | gptimer_timer |
This structure defines the GPTIMER TIMER register block memory map. More... | |
struct | gptimer |
This structure defines the GPTIMER register block memory map. More... | |
Macros | |
#define | GPTIMER_TCNTVAL_TCVAL_SHIFT 0 |
#define | GPTIMER_TCNTVAL_TCVAL_MASK 0xffffffffU |
#define | GPTIMER_TCNTVAL_TCVAL_GET(_reg) |
#define | GPTIMER_TCNTVAL_TCVAL_SET(_reg, _val) |
#define | GPTIMER_TCNTVAL_TCVAL(_val) |
#define | GPTIMER_TRLDVAL_TRLDVAL_SHIFT 0 |
#define | GPTIMER_TRLDVAL_TRLDVAL_MASK 0xffffffffU |
#define | GPTIMER_TRLDVAL_TRLDVAL_GET(_reg) |
#define | GPTIMER_TRLDVAL_TRLDVAL_SET(_reg, _val) |
#define | GPTIMER_TRLDVAL_TRLDVAL(_val) |
#define | GPTIMER_TCTRL_WS 0x100U |
#define | GPTIMER_TCTRL_WN 0x80U |
#define | GPTIMER_TCTRL_DH 0x40U |
#define | GPTIMER_TCTRL_CH 0x20U |
#define | GPTIMER_TCTRL_IP 0x10U |
#define | GPTIMER_TCTRL_IE 0x8U |
#define | GPTIMER_TCTRL_LD 0x4U |
#define | GPTIMER_TCTRL_RS 0x2U |
#define | GPTIMER_TCTRL_EN 0x1U |
#define | GPTIMER_TLATCH_LTCV_SHIFT 0 |
#define | GPTIMER_TLATCH_LTCV_MASK 0xffffffffU |
#define | GPTIMER_TLATCH_LTCV_GET(_reg) |
#define | GPTIMER_TLATCH_LTCV_SET(_reg, _val) |
#define | GPTIMER_TLATCH_LTCV(_val) |
#define | GPTIMER_SCALER_SCALER_SHIFT 0 |
#define | GPTIMER_SCALER_SCALER_MASK 0xffffU |
#define | GPTIMER_SCALER_SCALER_GET(_reg) |
#define | GPTIMER_SCALER_SCALER_SET(_reg, _val) |
#define | GPTIMER_SCALER_SCALER(_val) |
#define | GPTIMER_SRELOAD_SRELOAD_SHIFT 0 |
#define | GPTIMER_SRELOAD_SRELOAD_MASK 0xffffU |
#define | GPTIMER_SRELOAD_SRELOAD_GET(_reg) |
#define | GPTIMER_SRELOAD_SRELOAD_SET(_reg, _val) |
#define | GPTIMER_SRELOAD_SRELOAD(_val) |
#define | GPTIMER_CONFIG_EV 0x2000U |
#define | GPTIMER_CONFIG_ES 0x1000U |
#define | GPTIMER_CONFIG_EL 0x800U |
#define | GPTIMER_CONFIG_EE 0x400U |
#define | GPTIMER_CONFIG_DF 0x200U |
#define | GPTIMER_CONFIG_SI 0x100U |
#define | GPTIMER_CONFIG_IRQ_SHIFT 3 |
#define | GPTIMER_CONFIG_IRQ_MASK 0xf8U |
#define | GPTIMER_CONFIG_IRQ_GET(_reg) |
#define | GPTIMER_CONFIG_IRQ_SET(_reg, _val) |
#define | GPTIMER_CONFIG_IRQ(_val) |
#define | GPTIMER_CONFIG_TIMERS_SHIFT 0 |
#define | GPTIMER_CONFIG_TIMERS_MASK 0x7U |
#define | GPTIMER_CONFIG_TIMERS_GET(_reg) |
#define | GPTIMER_CONFIG_TIMERS_SET(_reg, _val) |
#define | GPTIMER_CONFIG_TIMERS(_val) |
#define | GPTIMER_LATCHCFG_LATCHSEL_SHIFT 0 |
#define | GPTIMER_LATCHCFG_LATCHSEL_MASK 0xffffffffU |
#define | GPTIMER_LATCHCFG_LATCHSEL_GET(_reg) |
#define | GPTIMER_LATCHCFG_LATCHSEL_SET(_reg, _val) |
#define | GPTIMER_LATCHCFG_LATCHSEL(_val) |
Typedefs | |
typedef struct gptimer_timer | gptimer_timer |
This structure defines the GPTIMER TIMER register block memory map. | |
typedef struct gptimer | gptimer |
This structure defines the GPTIMER register block memory map. | |
This header file defines the GPTIMER register block interface.