Electronic Components Datasheet Search
  English  ▼

X  

PFS123 Datasheet(PDF) 44 Page - PADAUK Technology.

Part # PFS123
Description  8bit MTP Type MCU with 12-bit R-Type ADC
PDF  104 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  PADAUK [PADAUK Technology.]
Direct Link  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PFS123 Datasheet(HTML) 44 Page - PADAUK Technology.

Back Button PFS123 Datasheet HTML 40Page - PADAUK Technology. PFS123 Datasheet HTML 41Page - PADAUK Technology. PFS123 Datasheet HTML 42Page - PADAUK Technology. PFS123 Datasheet HTML 43Page - PADAUK Technology. PFS123 Datasheet HTML 44Page - PADAUK Technology. PFS123 Datasheet HTML 45Page - PADAUK Technology. PFS123 Datasheet HTML 46Page - PADAUK Technology. PFS123 Datasheet HTML 47Page - PADAUK Technology. PFS123 Datasheet HTML 48Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 104 page
background image
PFS123
8bit MTP MCU with 12-bit R-Type ADC
©Copyright 2020, PADAUK Technology Co. Ltd
Page 44 of 104
PDK-DS-PFS123-EN_V000-Aug. 26, 2020
5.7 16-bit Timer (Timer16)
A 16-bit hardware timer (Timer16) is implemented in the PFS123, the clock sources of Timer16 may come from
system clock (CLK), clock of external crystal oscillator (EOSC), internal high RC oscillator (IHRC), internal low
RC oscillator (ILRC), PA4 and PA0, a multiplex is used to select clock output for the clock source. Before
sending clock to the counter16, a pre-scaling logic with divided-by-1, 4, 16, and 64 is used for wide range
counting. The 16-bit counter performs up-counting operation only, the counter initial values can be stored from
memory by stt16 instruction and the counting values can be loaded to memory by ldt16 instruction. A selector is
used to select the interrupt condition of Timer16, whenever overflow occurs, the Timer16 interrupt can be
triggered. The hardware diagram of Timer16 is shown as Fig.10. The interrupt source of Timer16 comes from
one of bit 8 to 15 of 16-bit counter, and the interrupt type can be rising edge trigger or falling edge trigger which
is specified in the bit 5 of integs register (IO address 0x0C).
Fig.10: Hardware diagram of Timer16
When using the Timer16, the syntax for Timer16 has been defined in the .INC file. There are three parameters
to define the Timer16; 1
st parameter is used to define the clock source of Timer16, 2nd parameter is used to
define the pre-scalar and the last one is to define the interrupt source. The detail description is shown as
below:
T16M
IO_RW
0x06
$ 7~5: STOP, SYSCLK, X, PA4_F, IHRC, EOSC, ILRC, PA0_F
// 1
st par.
$ 4~3: /1, /4, /16, /64
// 2
nd par.
$ 2~0: BIT8, BIT9, BIT10, BIT11, BIT12, BIT13, BIT14, BIT15
// 3
rd par.
PA4
PA4



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