| Electronic Components Datasheet Search |
|
UPD17P136ACT Datasheet(PDF) 151 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17P136ACT Datasheet(HTML) 151 Page - NEC |
|
151 / 292 page ![]() CHAPTER 13 PERIPHERAL HARDWARE 132 13.3.3 Setting Values in the 8-bit Data Register (ADCR) A value is set in the 8-bit data register via the data buffer (DBF) using the PUT instruction in the same way as for comparison voltage setting in the single mode. The peripheral address for the 8-bit data register (ADCR) of the A/D converter is assigned to 04H. If a value is sent to ADCR by the PUT instruction, only the low-order 8 bits (DBF1, DBF0) of DBF are valid. DBF3 and DBF2 values do not affect ADCR. Figure 13-15. Setting a Value in the 8-Bit Data Register (ADCR) Example of setting 6CH in ADCR CONTDATL DAT 0CH ; CONTDATL is assigned to 0CH by using a symbol definition instruction. CONTDATH DAT 06H ; CONTDATH is assigned to 06H by using a symbol definition instruction. MOV DBF0, #CONTDATL; MOV DBF1, #CONTDATH; PUT ADCR, DBF ; Data is transferred using reserved words ADCR and DBF. DBF3 DBF2 DBF1 DBF0 01101100 b3 b2 b1 b0 b3 b2 b1 b0 b3 b2 b1 b0 b3 b2 b1 b0 Don’t care Don’t care 01101100 b7 b6 b5 b4 b3 b2 b1 b0 PUT ADCR, DBF Data buffer 8-bit data ADCR (Peripheral address 04H) |
|
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 |