| Electronic Components Datasheet Search |
|
FS98O21 Datasheet(PDF) 68 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS98O21 Datasheet(HTML) 68 Page - Fortune Semiconductor Corp. |
|
68 / 136 page ![]() FS98O21 Rev. 1.7 68/136 Table 7-3 PT2 register table Address Name Referenced Section Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Value on Power on Reset 06h INTF 3/6/7/9/10/11 -- -- - E1IF E0IF 00000000 07h INTE 3/6/7/9/10/11 GIE -- -- - E1IE E0IE 00000000 24h PT2 7 PT2 [7:0] uuuuuuuu 25h PT2E N 7 PT2EN [7:0] 00000000 26h PT2P U 7 PT2PU [7:0] 00000000 27h PT2M R 7.2/7.5/8 -- -- E1M[1:0] E0M[1:0] 00000000 Read data Operation 1. Clear the PT2EN[n] 12 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. External Interrupt Operation (negative edge trigger for example) 1. Clear the PT2EN[n] register flags. The PT2[n] will be defined as an input port. 2. Set the PT2PU[n] register. The PT2[n] will be connected to an internal pull up resistor. 3. Set the E0M[1:0] as 00 to define INT0 interrupt trigger mode as “negative edge trigger”. 4. Set the E1M[1:0] as 00 to define INT1 interrupt trigger mode as “negative edge trigger”. 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. 12 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 |