Electronic Components Datasheet Search |
|
HT98R068-1 Datasheet(PDF) 46 Page - Holtek Semiconductor Inc |
|
HT98R068-1 Datasheet(HTML) 46 Page - Holtek Semiconductor Inc |
46 / 116 page Rev. 1.10 46 �e���a�� 1�� �01� Rev. 1.10 47 �e���a�� 1�� �01� HT98R068-1 Two Way Radio 8-Bit MCU HT98R068-1 Two Way Radio 8-Bit MCU I/O Pin Structures The diagrams illustrate the I/O pin internal structures. As the exact logical construction of the I/O pin may differ from these drawings, they are supplied as a guide only to assist with the functional understanding of the I/O pins. V DD M U X Wa ke - up Se le ct S yst em W ak e- up R ead Da ta R egi st er D Q CK S D Q CK S Co nt ro l Bi t Da ta B us Wr it e C ont ro l Re gi st er Ch ip R es et Re ad C on tr ol R eg is te r Wr it e Da ta R egi st er Da ta B it I/O p in Q Q PA on ly We ak Pu ll- up Pu ll -H ig h Se le ct PAW K7 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 D Q CK S Q D Q CK S Q PA7 /R ES Sy st em W ak e- up ( PA 7) R ES fo r PA7 o nl y Programming Considerations Within the user program, one of the first things to consider is port initialization. After a reset, the I/O data register and I/O port control register will be set high. This means that all I/O pins will default to an input state, the level of which depends on the other connected circuitry and whether pull-high options have been selected. 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 register is first programmed. Selecting which pins are inputs and which are outputs can be achieved byte-wide by loading the correct value into the 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. |
Similar Part No. - HT98R068-1_13 |
|
Similar Description - HT98R068-1_13 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |