Electronic Components Datasheet Search
  English  ▼

X  

HCS08 Datasheet(PDF) 251 Page - NXP Semiconductors

Part # HCS08
Description  Microcontrollers
PDF  316 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NXP [NXP Semiconductors]
Direct Link  http://www.nxp.com
Logo NXP - NXP Semiconductors

HCS08 Datasheet(HTML) 251 Page - NXP Semiconductors

Back Button HCS08 Datasheet HTML 247Page - NXP Semiconductors HCS08 Datasheet HTML 248Page - NXP Semiconductors HCS08 Datasheet HTML 249Page - NXP Semiconductors HCS08 Datasheet HTML 250Page - NXP Semiconductors HCS08 Datasheet HTML 251Page - NXP Semiconductors HCS08 Datasheet HTML 252Page - NXP Semiconductors HCS08 Datasheet HTML 253Page - NXP Semiconductors HCS08 Datasheet HTML 254Page - NXP Semiconductors HCS08 Datasheet HTML 255Page - NXP Semiconductors Next Button
Zoom Inzoom in Zoom Outzoom out
 251 / 316 page
background image
Timer/PWM Module (S08TPMV3)
MC9S08SG8 MCU Series Data Sheet, Rev. 8
Freescale Semiconductor
251
16.3.5
TPM Channel Value Registers (TPMxCnVH:TPMxCnVL)
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 registers are cleared by
reset.
4
MSnA
Mode select A for TPM channel n. When CPWMS=0 and MSnB=0, MSnA configures TPM channel n for
input-capture mode or output compare mode. Refer to Table 16-9 for a summary of channel mode and setup
controls.
Note: If the associated port pin is not stable for at least two bus clock cycles before changing to input capture
mode, it is possible to get an unexpected indication of an edge trigger.
3–2
ELSnB
ELSnA
Edge/level select bits. Depending upon the operating mode for the timer channel as set by CPWMS:MSnB:MSnA
and shown in Table 16-9, these bits select the polarity of the input edge that triggers an input capture event, select
the level that will be driven in response to an output compare match, or select the polarity of the PWM output.
Setting ELSnB:ELSnA to 0:0 configures the related timer pin as a general purpose I/O pin not related to any timer
functions. This function is typically used to temporarily disable an input capture channel or to make the timer pin
available as a general purpose I/O pin when the associated timer channel is set up as a software timer that does
not require the use of a pin.
Table 16-9. Mode, Edge, and Level Selection
CPWMS
MSnB:MSnA
ELSnB:ELSnA
Mode
Configuration
X
XX
00
Pin not used for TPM - revert to general
purpose I/O or other peripheral control
0
00
01
Input capture
Capture on rising edge
only
10
Capture on falling edge
only
11
Capture on rising or
falling edge
01
01
Output compare
Toggle output on
compare
10
Clear output on
compare
11
Set output on compare
1X
10
Edge-aligned
PWM
High-true pulses (clear
output on compare)
X1
Low-true pulses (set
output on compare)
1
XX
10
Center-aligned
PWM
High-true pulses (clear
output on compare-up)
X1
Low-true pulses (set
output on compare-up)
Table 16-8. TPMxCnSC Field Descriptions (continued)
Field
Description



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