Electronic Components Datasheet Search
  English  ▼

X  

MPXY8300 Datasheet(PDF) 73 Page - Freescale Semiconductor, Inc

Part # MPXY8300
Description  Tire Pressure Monitor Sensor Product Specification
PDF  164 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPXY8300 Datasheet(HTML) 73 Page - Freescale Semiconductor, Inc

Back Button MPXY8300 Datasheet HTML 69Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 70Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 71Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 72Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 73Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 74Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 75Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 76Page - Freescale Semiconductor, Inc MPXY8300 Datasheet HTML 77Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 164 page
background image
MPXY8300 Series
Sensors
Freescale Semiconductor
73
9.3.5
Timer x Channel Value Registers (TPMCnVH:TPMCnVL)
These read/write registers contain the captured TPM counter value of the input capture function or the output compare value for
the output compare or PWM functions. The channel value registers are cleared by reset.
In input capture mode, reading either byte (TPMCnVH or TPMCnVL) latches the contents of both bytes into a buffer where they
remain latched until the other byte is read. This latching mechanism also resets (becomes unlatched) when the TPMCnSC
register is written.
In output compare or PWM modes, writing to either byte (TPMCnVH or TPMCnVL) latches the value into a buffer. When both
bytes have been written, they are transferred as a coherent 16-bit value into the timer channel value registers. This latching
mechanism may be manually reset by writing to the TPMCnSC register.
This latching mechanism allows coherent 16-bit writes in either order, which is friendly to various compiler implementations.
9.4
Functional Description
All TPM functions are associated with a main 16-bit counter that allows flexible selection of the clock source and prescale divisor.
A 16-bit modulo register also is associated with the main 16-bit counter in the TPM. Each TPM channel is optionally associated
with an MCU pin and a maskable interrupt function.
The TPM has center-aligned PWM capabilities controlled by the CPWMS control bit in TPMSC. When CPWMS is set to 1, timer
counter TPMCNT changes to an up-/down-counter and all channels in the associated TPM act as center-aligned PWM channels.
When CPWMS = 0, each channel can independently be configured to operate in input capture, output compare, or buffered edge-
aligned PWM mode.
The following sections describe the main 16-bit counter and each of the timer operating modes (input capture, output compare,
edge-aligned PWM, and center-aligned PWM). Because details of pin operation and interrupt activity depend on the operating
mode, these topics are covered in the associated mode sections.
9.4.1
Counter
All timer functions are based on the main 16-bit counter (TPMCNTH:TPMCNTL). This section discusses selection of the clock
source, up-counting vs. up-/down-counting, end-of-count overflow, and manual counter reset.
After any MCU reset, CLKSB:CLKSA = 0:0 so no clock source is selected and the TPM is inactive. Normally, CLKSB:CLKSA
would be set to 0:1 so the bus clock drives the timer counter. The clock source for each of the TPM can be independently selected
to be off, the bus clock (BUSCLK), the fixed system clock (XCLK), or an external input. The maximum frequency allowed for the
external clock option is one-fourth the bus rate. Refer to Section 9.3.1 and Table 9-4 for more information about clock source
selection.
When the microcontroller is in active background mode, the TPM temporarily suspends all counting until the microcontroller
returns to normal user operating mode. During stop mode, all TPM clocks are stopped; therefore, the TPM is effectively disabled
until clocks resume. During wait mode, the TPM continues to operate normally.
The main 16-bit counter has two counting modes. When center-aligned PWM is selected (CPWMS = 1), the counter operates in
up-/down-counting mode. Otherwise, the counter operates as a simple up-counter. As an up-counter, the main 16-bit counter
counts from 0x0000 through its terminal count and then continues with 0x0000. The terminal count is 0xFFFF or a modulus value
in TPMMODH:TPMMODL.
7
6
5
4
3
2
1
0
R
Bit 15
14
13
12
11
10
9
Bit 8
W
Reset
0
0
0
0
0
0
0
0
Figure 9-8 Timer x Channel Value Register High (TPMCnVH)
7
6
5
4
3
2
1
0
R
Bit 7
6
5
4
3
2
1
Bit 0
W
Reset
0
0
0
0
0
0
0
0
Figure 9-9 Timer Channel Value Register Low (TPMCnVL)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com