| Electronic Components Datasheet Search |
|
HMS91C8032 Datasheet(PDF) 69 Page - Hynix Semiconductor |
|
|
|||||||||||||||||||||||||||||
HMS91C8032 Datasheet(HTML) 69 Page - Hynix Semiconductor |
|
69 / 157 page ![]() HMS91C8032/97C8032 66 NOV., 2001 Ver 1.02 4.7 Port Structure and Operation Ports 0 to 7 The direction of each port is controlled by the value of PXMOD register and On/Off control of pull-up transistor in ports except P2.0, P2.1, P2.2 and P2.3 is selected by the content of PXCON register. P0DATA, P1DATA, P2DATA, P3DATA, P4DATA, P5DATA, P6DATA and P7DATA are the SFR latches of Ports 0, 1, 2, 3, 4, 5, 6 and 7, respectively. Writing a one to a bit of a port SFR causes the corresponding port output pin to switch high. Writing a zero causes the port output pin to switch low. When used as an input, the external state of a port pin will be held in the port SFR (i.e., if the external state of a pin is low, the correspond- ing port SFR bit will contain a 0, if it is high, the bit will contain a 1). All eight ports in the HMS9XC8032 are bi-directional. All the Port 3, Port 4, Port 5 and Port 7 pins are multifunctional. They are not only port pins, but also serve the functions of various special features as listed below: I/O Configurations Figure 4-27 and Figure 4-28 shows a simplified functional dia- gram in each of the ports. The bit latch (one bit in the port's SFR) is represented as a Type D flip-flop, which will clock in a value from the internal bus in response to a "write to latch" signal from the CPU. The level of the port pin itself is placed on the internal bus in response to a "read pin" signal from the CPU. Some in- structions that read a port activate the "read latch" signal, and oth- ers activate the "read pin" signal. All ports have internal pullups controlled by the user software, except Port2 low nibble. Port2.0 - Port2.3 have open drain out- puts. Each I/O line can be independently used as an input or an output. All the port latches in the HMS9XC8032 have 1s written to them by the reset function. If a 0 is subsequently written to a port latch, it can be reconfigured as an input by writing a 1 to it. Writing to a Port Users, who want to use port as output, must set PXMOD register as output. When a port specify as output mode, attempt to read from the port will not be guaranteed. Port Pin Alternate Function P3.0 T0 (Timer/Counter 0 External Input) P3.1 T1 (Timer/Counter 1 External Input) P3.2 T2 (Timer/Counter 2 External Input) P3.3 T3 (Timer/Counter 3 External Input) P3.4 T4 (Timer/Counter 4 External Input) P3.5 T2EX (Timer/Counter 2 Capture/Reload Trigger) P4.0 /INT0 (External Interrupt 0) P4.1 /INT1 (External Interrupt 1) P4.2 /INT2 (External Interrupt 2) P4.3 /INT3 (External Interrupt 3) P4.4 /INT4 (External Interrupt 4) P4.5 /INT5 (External Interrupt 5) P4.6 /INT6 (External Interrupt 6) P4.7 Beeper Output P5.0 TxD (serial output port) P5.1 RxD (serial input port) P5.2 SCK1 (SIO1 clock port) Port Pin Alternate Function P5.0 TxD (serial output port) P5.1 RxD (serial input port) P5.2 SCK1 (SIO1 clock port) P5.3 SO1 (SIO1 output port) P5.4 SI1 (SIO1 input port) P5.5 SCK2 (SIO2 clock port) P5.6 SO2 (SIO2 output port) P5.7 SI2 (SIO2 input port) P7.0 ANI0 (Analog input channel 0 for ADC) P7.1 ANI1 (Analog input channel 1 for ADC) P7.2 ANI2 (Analog input channel 2 for ADC) P7.3 ANI3 (Analog input channel 3 for ADC) P7.4 ANI4 (Analog input channel 4 for ADC) P7.5 ANI5 (Analog input channel 5 for ADC) P7.6 ANI6 (Analog input channel 6 for ADC) P7.7 ANI7 (Analog input channel 7 for ADC) |
|
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 |