Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TTP259-ASFN Datasheet(PDF) 24 Page - Tontek Design Technology

Part # TTP259-ASFN
Description  Preliminary
PDF  81 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TONTEK [Tontek Design Technology]
Direct Link  http://www.tontek.com.tw
Logo TONTEK - Tontek Design Technology

TTP259-ASFN Datasheet(HTML) 24 Page - Tontek Design Technology

Back Button TTP259-ASFN Datasheet HTML 20Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 21Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 22Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 23Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 24Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 25Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 26Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 27Page - Tontek Design Technology TTP259-ASFN Datasheet HTML 28Page - Tontek Design Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 81 page
background image
Preliminary
TTP259
TonTouch
TM
2015/05/25
Page 24 of 81
Ver: 1.1
S-12. Interrupts
The CPU provides only 1 interrupt vector ($001H) and no priority, but can
expand to multi-sources. Interrupt source includes external interrupts
(INT0,INT1), timer/counter interrupts (TCP1,TCP2), Time base timer interrupt
(TBxINT) or other peripheral device interrupt request (PERINT). The interrupt
control registers (INTC or INTC1) contain the interrupt control bit to enable and
disable corresponding interrupt request and the corresponding interrupt
request flags in the (INTF or INTF1) registers. Before finishing the INT service
routine, another INT request will keep waiting until program return from
interrupt routine.
If the interrupt request needs service, the programmer may set the
corresponding INT enable bit to allow interrupt active. External interrupts are
triggered by both falling and rising edge trigger and set the related interrupt
request flag (INTFx). The internal timer/counter interrupt is setting the TCPxF
to 1, resulting from the timer/counter overflow. The time base interrupt TBxINT
was provided 2 periodic interrupt request cycles for user operating a periodic
routine.
When the corresponding interrupt enable and flag bit is set to 1, the CPU
will active the interrupt service routine. Then CPU reads the service flag and
check the request priority then proceeds with the relative interrupt service.
After CPU writes the corresponding bit to 0 in the INTFx register, the service
flag will be cleared to 0(using STX #n,$m instruction). The INTF and INTF1
registers’ bit can only write 0 to clear the flag. User writes 1 to flag bit with no
effect.
INT0 input type can select Schmitt or comparator by SPCON1 register, if
comparator select then the comparator reference voltage is the bandgap
voltage(1.12+-10%), it will consumption more current than Schmitt because
bandgap turn on. It can be used to detect VDD voltage for battery low and so
on.



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


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