| Electronic Components Datasheet Search |
|
SNAD02C Datasheet(PDF) 25 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SNAD02C Datasheet(HTML) 25 Page - SONiX Technology Company |
|
25 / 27 page ![]() SNAD02C 8-CHANNEL 10-BIT ADC ;; Inherit from program 1 ;; Enter Power-down Mode (0) CheckBattery: @Set_Control_Reg #0, #1, #1, #0 ;; Set rf=1, turn-on bandgap @Set_Attrib #1, #1, #1, #0, #0, #0, #1, #1 ;; Switch Ch7 to Analog mov m15 #0 CheckAgain: @Read_ADC #1, #1, #1 ;; Read Ch7 mov a #1000b and a ad_out_h caje #1000b Battery_Low_No ;; if (Value>=128) then Not Battery Low mov a m15 inca mov m15 a caje #3 Battery_Low_Yes ;; if (Value<128) for 3 times, then jmp CheckAgain ;; battery low. Battery_Low_Yes: mov m14 #1 Battery_Low_No: @Set_Control_Reg #0, #1, #0, #0 ;; Set rf=0, turn-off bandgap @Set_Attrib #0, #1, #1, #0, #0, #0, #1, #1;; Switch Ch7 to Digital ;; To save operating current Version: 1.3 July 31, 2003 25 |
|
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 |