/* SPDX-License-Identifier: GPL-2.0 */ /* * ARM timer implementation, found in Integrator, Versatile and Realview * platforms. Not all platforms support all registers and bits in these * registers, so we mark them with A for Integrator AP, C for Integrator * CP, V for Versatile and R for Realview. * * Integrator AP has 16-bit timers, Integrator CP, Versatile and Realview * can have 16-bit or 32-bit selectable via a bit in the control register. * * Every SP804 contains two identical timers.
*/ #define NR_TIMERS 2 #define TIMER_1_BASE 0x00 #define TIMER_2_BASE 0x20
struct sp804_timer { int load; int load_h; int value; int value_h; int ctrl; int intclr; int ris; int mis; int bgload; int bgload_h; int timer_base[NR_TIMERS]; int width;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.