| Electronic Components Datasheet Search |
|
FS98O22 Datasheet(PDF) 80 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS98O22 Datasheet(HTML) 80 Page - Fortune Semiconductor Corp. |
|
80 / 146 page ![]() FS98O22 Rev. 1.6 80/146 Table 7-4 PT2 register table Address Name Detail on Chapter Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Value on Power on Reset 24H PT2 7 PT2 [7:0] uuuuuuuu 25H PT2EN 7 PT2EN [7:0] 00000000 26H PT2PU 7 PT2PU [7:0] 00000000 27H PT2MR 7.2/7.5/8 -- PM2EN PM1EN -- -- 00000000 Read data Operation 1. Clear the PT2EN[n] 15 register flags. The PT2[n] will be defined as an input port. 2. Set the PT2PU[n] register as required. The PT2[n] will be connected to an internal pull up resistor. 3. After the signal input from outside, user could get the data through PT2[n] Write data Operation 1. Set the PT2EN[n] register flags. The PT2[n] will be defined as an output port. 2. Set the PT2PU[n] register as required. The PT2[n] will be connected to an internal pull up resistor. 3. Set the PT2[n] to output the data. The embedded D Flip Flop will latch the data till user change PT2[n]. Notice Operation 1. Parallel a small resistor (about 10k ohm) between ports and VDD to increase the possible output current when the PT2PU[n] is set. 7.4. Digital I/O Port or I2C Serial Port : PT2[3]/SDA, PT2[4]/SCL Figure 7-4 PT2[3] PT2[4] function block GPIO Port 2 Bit4 and Bit 3 (PT2[4:3]) function block is shown in Figure 7-4. The main function of the GPIO is input and output data between the Data bus and the ports. Users could control the PT2EN[4:3] register flags to decide the input output direction. The input and output function and the related functions are explained as follows: 15 n means the bits indexes user want to control |
|
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 |
| 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 |