PX4 Firmware
PX4 Autopilot Software http://px4.io
timer_registers.h File Reference

Get architecture-specific timer register defines. More...

#include <px4_platform_common/px4_config.h>
Include dependency graph for timer_registers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Get architecture-specific timer register defines.

Usage: #define INPUT_TIMER <timer> #include "timer_registers.h"

define _TIMER_BASE TIMER_BASE

define _TIMER_CLOCK TIMER_CLOCK

define _TIMER_POWER_REG TIMER_CLOCK_POWER_REG

define _TIMER_POWER_BIT TIMER_CLOCK_POWER_BIT

define _TIMER_VECTOR TIMER_IRQ_REG

Definition in file timer_registers.h.