13.07.2015 Views

Integrator/CP User Guide - ARM Information Center

Integrator/CP User Guide - ARM Information Center

Integrator/CP User Guide - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripherals and InterfacesReading from the TimerXLoad register at any time after the two writes have occurredwill retrieve the value written to TimerXBGLoad. That is, the value read fromTimerXLoad is always the value that will take effect for Periodic mode after the nexttime the counter reaches zero.Timer x background loadThis is a 32-bit register containing the value from which the counter is to decrement.This is the value used to reload the counter when Periodic mode is enabled, and thecurrent count reaches zero.This register provides an alternative method of accessing theTimerXLoad register. The difference is that writes to TimerXBGLoad will not cause thecounter immediately to restart from the new value.Reading from this register returns thesame value returned from TimerXLoad.Timer x current value registerThe timer value register contains the current count value for the timer. The upper 16 bits(of 32 bits) are undefined.Timer x control registerThe timer control registers are 8-bit read/write registers that control the operation oftheir associated counter/timers. The format of these three registers is similar.31 8 7 6 5 4 3 2 1 0ReservedRENABLEMODEIEPRESCALETIMER_SIZEONESHOTFigure 4-20 Timer control register<strong>ARM</strong> DUI 0159B Copyright © 2002 <strong>ARM</strong> Limited. All rights reserved. 4-45

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!