| Electronic Components Datasheet Search |
|
FS98O21 Datasheet(PDF) 76 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS98O21 Datasheet(HTML) 76 Page - Fortune Semiconductor Corp. |
|
76 / 136 page ![]() FS98O21 Rev. 1.7 76/136 Table 7-7 PT2[7] register table Addr ess Name Referenced Section 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 PT2E N 7 PT2EN [7:0] 00000000 26h PT2P U 7 PT2PU [7:0] 00000000 Read data Operation 1. Clear the PT2EN[n] 20 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 PT2[n] is changed. Buzzer Output Operation 1. Set the PT2EN[7] register flags. The PT2[7] will be defined as an output port. 2. Please refer to Section 5.4 for the Buzzer Clock setting. 3. Set the BZEN register flag. The PT2[7] will become the buzzer output port. 4. Connect a buzzer to PT2 bit7. The Buzzer will work correctly. 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. 20 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 |