| 数据搜索系统,热门电子元器件搜索 |
|
HT45R35 数据表(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45R35 数据表(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 59 page ![]() HT45R35 Rev. 1.30 21 May 14, 2010 V D D P A 0 ~ P A 7 P B 0 ~ P B 7 M U X O P 0 ~ O P 7 T M R f o r P A 2 o n l y I N T 0 f o r P A 0 o n l y I N T 1 f o r P A 1 o n l y 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 D Q C K S Q D Q C K S Q Input/Output Ports Input/Output Ports There are 16 bidirectional input/output lines in the microcontroller, all located within port PA and PB. All of these I/O ports can be used for input and output opera- tions. For input operation, these ports are non-latching, that is, the inputs must be ready at the T2 rising edge of the ²MOV A,[m]² instruction. For output operation, all the data is latched and remains unchanged until the output latch is rewritten. Each I/O line has its own control register, known as PAC and PBC, to control the input/output configuration. With this control register, the pin status is either a CMOS out- put or a Schmitt trigger input, but can be reconfigured dynamically, under software control. To function as an input, the corresponding bit in the control register must be written with a ²1². The input source also depends on the control register. If the control 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. When setup as an output the output types are CMOS. After a device reset, the I/O ports will be initially all setup as inputs, and will therefore be in a high state if the configuration options have selected pull-high resistors, otherwise they will be in a floating condition. Each bit of these input/output latches can be set or cleared by the ²SET [m].i² and ²CLR [m].i² 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. Each line of port A and port B has a pull-high option. Once the pull-high option is selected, the I/O line will have a pull-high resistor connected. Otherwise, the pull-high resistors are absent. It should be noted that a non-pull-high I/O line operating in an input mode will be in a floating state. The PA0, PA1 and PA2 are pin-shared with INT0, INT1 and TMR pins, respectively. Pins PA0~PA3 and PA4~PA7 are pin-shared with RC1~RC4 and RC9~RC12, respectively. If configuration options select PA0~PA7 to be RC input pins, then the corresponding bits in the PA data register and PA control register will be unimplemented. It is recommended that unused or not bonded out I/O lines should be set as output pins using software in- struction to avoid consuming power under input floating state. Low Voltage Reset - LVR The microcontroller provides a low voltage reset circuit in order to monitor the supply voltage of the device. If the supply voltage of the device is within the range 0.9V~VLVR, such as when changing a battery, the LVR will automatically reset the device internally. The LVR includes the following specifications: · The low voltage (0.9V~V LVR) has to remain in its origi- nal state for longer than tLVR. If the low voltage state does not exceed tLVR, the LVR will ignore it and will not perform a reset function. · The LVR uses an ²OR² function with the external RES signal to perform a chip reset. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |