Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PFS154 Datasheet(PDF) 48 Page - PADAUK Technology.

Part # PFS154
Description  8bit MTP Type IO controller
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PADAUK [PADAUK Technology.]
Direct Link  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PFS154 Datasheet(HTML) 48 Page - PADAUK Technology.

Back Button PFS154 Datasheet HTML 44Page - PADAUK Technology. PFS154 Datasheet HTML 45Page - PADAUK Technology. PFS154 Datasheet HTML 46Page - PADAUK Technology. PFS154 Datasheet HTML 47Page - PADAUK Technology. PFS154 Datasheet HTML 48Page - PADAUK Technology. PFS154 Datasheet HTML 49Page - PADAUK Technology. PFS154 Datasheet HTML 50Page - PADAUK Technology. PFS154 Datasheet HTML 51Page - PADAUK Technology. PFS154 Datasheet HTML 52Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 48 / 91 page
background image
PFS154
8bit MTP Type IO Controller
©Copyright 2020, PADAUK Technology Co. Ltd
Page 48 of 91
PDK-DS-PFS154_CN_V105 –Jun. 9, 2020
5.13. 8-bit Timer with PWM generation (Timer2, Timer3)
Two 8-bit hardware timers (Timer2/TM2, Timer3/TM3) with PWM generation are implemented in the PFS154,
Timer2 is used as the example to describe its function due to these two 8-bit timers are the same. Please refer
to Fig. 14 shown its hardware diagram, the clock sources of Timer2 may come from system clock, internal
high RC oscillator (IHRC) or, internal low RC oscillator (ILRC), external crystal oscillator (EOSC), PA0, PA4,
PB0 or comparator. Bit[7:4] of register tm2c are used to select the clock source of Timer2. Please notice that if
IHRC is selected for Timer2 clock source, the clock sent to Timer2 will keep running when using ICE in halt
state. The output of Timer2 can be sent to pin PA3,PB2 or PB4, depending on bit [3-2] of tm2c register ( PB5,
PB6 and PB7 for Timer3). A clock pre-scaling module is provided with divided-by-1, 4, 16, and 64 options,
controlled by bit [6:5] of tm2s register; one scaling module with divided-by-1~31 is also provided and
controlled by bit [4:0] of tm2s register. In conjunction of pre-scaling function and scaling function, the
frequency of Timer2 clock (TM2_CLK) can be wide range and flexible.
The Timer2 counter performs 8-bit up-counting operation only; the counter values can be set or read back by
tm2ct register. The 8-bit counter will be clear to zero automatically when its values reach for upper bound
register, the upper bound register is used to define the period of timer or duty of PWM. There are two
operating modes for Timer2: period mode and PWM mode; period mode is used to generate periodical output
waveform or interrupt event; PWM mode is used to generate PWM output waveform with optional 6-bit to 8-bit
PWM resolution, Fig. 15 shows the timing diagram of Timer2 for both period mode and PWM mode.
Fig. 14: Timer2 hardware diagram
M
U
X
tm2c[7:4]
CLK,
IHRC,
ILRC,
EOSC,
Cmp,
PA0,
~PA0,
PB0,
~PB0,
PA4,
~PA4
Pre-
scalar
÷
1, 4,
16, 64
tm2s[6:5]
Scalar
÷
1 ~ 31
tm2s[4:0]
8-bit
up
counter
upper
bound
register
tm2b[7:0]
tm2c.1
X
O
R
D
E
M
U
X
PB2
PA3
tm2c[3:2]
tm2c.0
tm2ct[7:0]
edge to
interrupt
tm2s.7
TM2_CLK
PB4



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


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