| Electronic Components Datasheet Search |
|
SN8P2743KB Datasheet(PDF) 74 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SN8P2743KB Datasheet(HTML) 74 Page - SONiX Technology Company |
|
74 / 136 page ![]() SN8P2740 Series ADC, OP-amp, Comparator 8-Bit Micro-Controller SONiX TECHNOLOGY CO., LTD Page 74 Version 2.0 Example: Set P4.0 to be general purpose output. EVHENB and P4CON.0 bits must be set as “0”. ; Check AVREFH status. B0BTS0 FAVREFH ; Check AVREFH = 0. B0BCLR FAVREFH ; AVREFH = 1, clear it to disable external ADC high reference input. ; AVREFH = 0, execute next routine. ; Check GCHS and CHS[2:0] status. B0BCLR FGCHS ;If CHS[2:0] point to P4.0 (CHS[2:0] = 000B), set GCHS=0 ;If CHS[2:0] don’t point to P4.0 (CHS[2:0] ≠ 000B), don’t care GCHS status. ; Clear P4CON. B0BCLR P4CON.0 ; Enable P4.0 digital function. ; Set P4.0 output buffer to avoid glitch. B0BSET P4.0 ; Set P4.0 buffer as “1”. ; or B0BCLR P4.0 ; Set P4.0 buffer as “0”. ; Enable P4.0 output mode. B0BSET P4M.0 ; Set P4.0 as input mode. |
|
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 |