| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT9480 bảng dữ liệu(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT9480 bảng dữ liệu(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 47 page ![]() HT9480 Rev. 1.20 17 July 31, 2002 Q D C K S Q Q D C K S Q M U X 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 I / O R e a d I / O S y s t e m W a k e - U p ( P A o n l y ) W E A K P u l l - u p P B 0 ~ P B 7 P C 0 , P C 1 M a s k O p t i o n V D D V D D M a s k O p t i o n Input/output ports The PB and PC (PC0, PC1) I/O lines have their own con- trol registers (PBC, PCC) to control the input/output con- figuration. These control registers, tri-state (control register=1) or CMOS (control register=0) with pull-high (option) structures can be reconfigured dynamically (i.e., on-the-fly) by software control. To function as an in- put, the corresponding I/O latch and related bit of the control register should be written ²1² to avoid external logical violation. These control registers are mapped to location 15H, and 17H (bit 0 and bit 1 of 17H). After a chip reset, these input/output lines stay at high levels or floating (by mask option). They are defined as input types by writing ²1² to the control registers and as output types by writing ²0² to the control registers. Each bit of these input/output latches can be set or cleared by ²SET [m].i² and ²CLR [m].i² (m=14H only) 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 operation (bit-operation), and then write the results back to the latches or the accumulator. Each line of port A is capable of waking up the device (when a falling edge occurs) and is determined by mask option. The highest four bits of port C are not physically implemented. Reading them gets a ²0², but writing them leads to no operation. Bit 7 of port A connects a battery fall interrupt and a wake-up function. Bit 7 of port A wakes up the MCU each time a battery is changed. Bit 2 of port C is used for internal subsystem oscillator low-power function control (1: non-active; 0 : active). The value of bit 2 of port C is set as ²1² at an initial power on. Bit 3 of port C is used for LCD power control (1: LCD turn-on; 0 : LCD turn-off). The value of bit 3 of port C is also set as ²1² at the initial power on. LCD display The LCD display memory is embedded in the data memory (mapped to the addresses C0H~E2H of bank 27). It can be read and written to as a normal data mem- ory. The following figure illustrates the mapping be- tween the display memory and the LCD pattern. To turn the display on/off, the programmer writes 1 or 0 to the corresponding bit of the display memory. The LCD display module can be of any form as long as the number of the common doesn ¢t exceed 4 and the num- ber of the segment is not over 35. The entire number of the LCD driver output is 35 ´4. The LCD driver can directly drive an LCD of 1/4 duty cycle and 1/3 bias. All of the LCD segments are random at the initial clear mode. The frequency of the LCD driving clock is fixed at about 256Hz, and cannot be changed. It is set by HOLTEK ac- cording to the application. The following is an example of an 8-segment digit dis- play, which shows a waveform of ²5². C O M 3 C O M 2 C O M 1 C O M 0 S E G 1 S E G 0 C O M 2 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |