MSC8113 Reference Manual, Rev. 0
Freescale Semiconductor
22-5
When a timer is enabled, there is a delay of not more than eight timer clock cycles from when the
TE bit is set in the Timer Control Register (TCRAx/TCRBx) until the timer counter starts
counting and the appropriate TES bit in the Timer Status Register (TSRA/TSRB) is set. There is
also a delay when TE = 1 is written to clear the timer counter while the timer is operating. The
timer counter continues to count for not more than four timer clock cycles and only then resets to
0. It stays on the value 0 for not more than four timer clock cycles and then resumes counting.
The timer counter gets the clock from one of fifteen different inputs. When the counter reaches
the value in the compare register, the timer generates a pulse or level value (configured in the
Configuration Register), sets the relevant bit in the Event Register, and generates an interrupt if it
is enabled by the Interrupt Enable Register. The clockout from Timer A0, TimerA4, Timer B0,
and Timer B4 also drives the PAD/GPIO, if these timers are configured as outputs in the General
Configuration Register. The clockout from Timer A6 goes to the SIU. You can read the value of
the counter (Count Register) and verify whether the counter is enabled or disabled via the status
register. If the timer counter generates a level interrupt and you write a 0 to TCRAx to disable the
timer, the interrupt does not clear unless a 1 is written to the relevant bit in the TER. When timer
n reaches the compare (TCMP) value, the TER[CFn] bit is set. The CFn bit is cleared only when
a 1 is written to the associated TER[CFn] bit. The CFn bit is unaffected by Stop mode or timer
restarts.
Note:
The TDM can use each of the
TDM0RCLK
,
TDM1RCLK
,
TDM2RCLK
and
TDM3RCLK
signals
as input clocks or data outputs. If the timer uses one of these clocks as an input clock,
the TDM should configure the corresponding signal as an input clock via the GPIO,
(see Chapter 20, TDM Interface and Chapter 23, GPIO).
To save power, the timer modules automatically shut down their clocks when they are not in
use.When each of the 16 timers is disabled, its clock stops. Also, when all the timers are disabled
and there is no access to the module, the main module clock stops, and the module goes into Stop
mode. Each timer module has a status bit in the Stop Acknowledge Status Register (SASR) (see
Section 18.4). The clocks automatically restart when they are required.
Each of the three MSC8113 SC140 cores can configure the timer modules. The configuration
route is from the QBus via the SQBus to the IPBus to the timer modules. The arbitration of the
SQBus occurs on the QBus. The external host and the DSI can also configure the timer modules.
The external host configures the timers via the system bus to the local bus to the IPM via the
IPBus to the timer modules.The DSI configures the timers via the local bus to the IPM via the
IPBus to the timer modules.
Содержание MSC8113
Страница 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Страница 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Страница 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Страница 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Страница 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Страница 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Страница 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Страница 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Страница 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Страница 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Страница 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Страница 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Страница 544: ...MSC8113 Reference Manual Rev 0 16 46 Freescale Semiconductor Direct Memory Access DMA Controller ...
Страница 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Страница 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Страница 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Страница 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Страница 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Страница 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Страница 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Страница 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...