| Electronic Components Datasheet Search |
|
HT46R016 Datasheet(PDF) 40 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R016 Datasheet(HTML) 40 Page - Holtek Semiconductor Inc |
|
40 / 91 page ![]() Rev. 1.00 40 ���� 1�� �01� Rev. 1.00 41 ���� 1�� �01� HT46R016/HT46R017 Enhanced A/D Type 8-Bit OTP MCU V DD M U X Re ad D at a R egi st er Co nt ro l Bi t Da ta B us Wr it e C ont ro l R egi st er Ch ip R es et Re ad C on tr ol R egi st er Wr it e Da ta R eg is te r Da ta B it A/ D I npu t Po rt AC S1 ~A CS 0 To A /D C onv er te r We ak Pu ll -u p An al og In put Se le ct or D Q CK S Q D Q CK S Q Pu ll- Hi gh Re gi st er Se le ct A/D Input/Output Structure Programming Considerations Within the user program, one of the things first to consider is port initialisation. After a reset, all of the I/O data and port control registers will be set to high. This means that all I/O pins will be defaulted to an input state, the level of which depends on the other connected circuitry and whether pull-high selections have been chosen. If the port control registers are then programmed to setup some pins as outputs, these output pins will have an initial high output value unless the associated port data registers are first programmed. Selecting which pins are inputs and which are outputs can be achieved byte-wide by loading the correct values into the appropriate port control register or by programming individual bits in the port control register using the “SET [m].i” and “CLR [m].i” instructions. Note that when using these bit control instructions, a read-modify-write operation takes place. The microcontroller must first read in the data on the entire port, modify it to the required new bit values and then rewrite this data back to the output ports. System Clock Port Data Read from Port Write to Port T1 T2 T3 T4 T1 T2 T3 T4 Read Modify Write Timing Pins PA0 to PA7 each have a wake-up functions, selected via the PAWK register. When the device is in the Idle/Sleep Mode, various methods are available to wake the device up. One of these is a high to low transition of any of the these pins. Single or multiple pins on Port A can be setup to have this function. |
|
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 |