Electronic Components Datasheet Search
  English  ▼

X  

FS98O21 Datasheet(PDF) 66 Page - Fortune Semiconductor Corp.

Part # FS98O21
Description  8-bit MCU with 2k program EPROM, 128-byte RAM
PDF  136 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FORTUNE [Fortune Semiconductor Corp.]
Direct Link  https://www.ic-fortune.com/eng/index.asp
Logo FORTUNE - Fortune Semiconductor Corp.

FS98O21 Datasheet(HTML) 66 Page - Fortune Semiconductor Corp.

Back Button FS98O21 Datasheet HTML 62Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 63Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 64Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 65Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 66Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 67Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 68Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 69Page - Fortune Semiconductor Corp. FS98O21 Datasheet HTML 70Page - Fortune Semiconductor Corp. Next Button
Zoom Inzoom in Zoom Outzoom out
 66 / 136 page
background image
FS98O21
Rev. 1.7
66/136
Read data Operation
1.
Clear the PT1EN[n]
9 register flags. The PT1[n] will be defined as an input port.
2.
Set the PT1PU[n] register as required. The PT1[n] will be connected to an internal pull up resistor.
3.
Set the AIENB[n] register flags if the input signals are analog signals.(n = 7 to 0)
4.
Clear the AIENB[n] register flags if the input signals are analog signals. (n = 5 to 0
10)
5.
The VDDA Regulator must be enabled first, and then the AIN0~AIN5 can work correctly. (Please refer to
Chapter 4)
6.
After the signal input from outside, users can get the data through PT1[n]
Write data Operation
1.
Set the PT1EN[n] register flags. The PT1[n] will be defined as an output port.
2.
Set the PT1PU[n] register as required. The PT1[n] will be connected to an internal pull up resistor.
3.
Set the PT1[n] to output the data. The embedded D Flip Flop will latch the data till PT1[n] is changed.
Notice Operation
1.
To keep low operation current in SLEEP mode, set AIENB[7:0] to let the PT1 be floating.
2.
Parallel a small resistor (about 10k ohm) between ports and VDD to increase the possible output current
when the PT1PU[n] is set.
Digital I/O Port and External Interrupt Input : PT2[0], PT2[1]
PT2PU[1:0]
PT2EN[1:0]
PT2[1:0]
D
Q
CK
LOAD
Write
AR==PT2
READ&AR==PT2
Databus[7:0]
Figure 7-2 PT2[0] PT2[1] function block
GPIO Port 2 Bit1 and Bit 0 (PT2[1:0]) function block is shown in Figure 7-2. The main function of the GPIO is
input and output data between the Data bus and the ports. Users could control the PT2EN[1:0] register flags to
decide the input output direction. The input and output function and the related functions are explained as
follows:
9 n means the bits indexes user want to control
10 PT1 bit6 and bit7 could only be defined as digital signal input.



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