| Electronic Components Datasheet Search |
|
HT48CU80 Datasheet(PDF) 20 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48CU80 Datasheet(HTML) 20 Page - Holtek Semiconductor Inc |
|
20 / 54 page ![]() HT48RU80/HT48CU80 Rev. 1.00 20 April 12, 2006 V D D P A 0 ~ P A 7 P B 0 ~ P B 7 P C 2 ~ P C 7 P D 0 ~ P D 7 P E 0 ~ P E 7 P F 0 ~ P F 7 P G 0 ~ P G 7 M U X W a k e - u p O p t i o n S y s t e m W a k e - u p ( P A o n l y ) R e a d D a t a R e g i s t e r C o n t r o l B i t P u l l - h i g h D a t a B u s W r i t e C o n t r o l R e g i s t e r C h i p R e s e t R e a d C o n t r o l R e g i s t e r W r i t e D a t a R e g i s t e r D a t a B i t M U X ( P B 0 , P B 1 O n l y ) P B 0 B Z B u z z e r O p t i o n ( P B 0 , P B 1 O n l y ) E X T = B Z f o r P B 0 o n l y , E X T = B Z f o r P B 1 o n l y , c o n t r o l = P B 0 d a t a r e g i s t e r D Q C K S Q D Q C K S Q PA, PB, PC2~PC7, PD, PE, PF, PG Input/Output Ports Input/Output Ports There are 56 bidirectional input/output lines in the microcontroller, labeled from PA to PG, which are mapped to the data memory of [12H], [14H], [16H], [18H], [1AH], [1CH] and [25H] respectively. All of these I/O ports can be used for input and output operations. For input operation, these ports are non-latching, that is, the inputs must be ready at the T2 rising edge of instruction ²MOV A,[m]² (m=12H, 14H, 16H, 18H, 1AH, 1CH or 25H). For output operation, all the data is latched and remains unchanged until the output latch is rewrit- ten. Each I/O line has its own control register (PAC, PBC, PCC, PDC, PEC, PFC, PGC) to control the input/output configuration. With this control register, CMOS output or Schmitt trigger input with or without pull-high resistor structures can be reconfigured dynamically under soft- ware control. To function as an input, the corresponding latch of the control register must write ²1². The input source also depends on the control register. If the con- trol register bit is ²1², the input will read the pad state. If the control register bit is ²0², the contents of the latches will move to the internal bus. The latter is possible in the ²read-modify-write² instruction. For output function, CMOS is the only configuration. These control registers are mapped to locations 13H, 15H, 17H, 19H, 1BH, 1DH and 26H. After a chip reset, these input/output lines remain at high levels or floating state (depending on the pull-high op- tions). Each bit of these input/output latches can be set or cleared by ²SET [m].i² and ²CLR [m].i² (m=12H, 14H, 16H, 18H, 1AH, 1CH or 25H) instructions. Some instructions first input data and then follow the output operations. For example, ²SET [m].i², ²CLR [m].i ², ²CPL [m]², ²CPLA [m]² read the entire port states into the CPU, execute the defined operations (bit-operation), and then write the results back to the latches or the accumulator. Each line of Port A has the capability of waking-up the device. There is a pull-high option available for all I/O lines (port option). Once the pull-high option of an I/O line is se- lected, the I/O line has a pull-high resistor. Otherwise, the pull-high resistor is absent. It should be noted that a non-pull-high I/O line operating in input mode will cause a floating state. |
|
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 |