| Datenblatt-Suchmaschine für elektronische Bauteile |
|
FS511 Datenblatt(PDF) 15 Page - Fortune Semiconductor Corp. |
|
|
|||||||||||||||||||||||||||||
FS511 Datenblatt(HTML) 15 Page - Fortune Semiconductor Corp. |
|
15 / 18 page ![]() 11..3.5. Other Control Setting CPVR is the enhancement mode for resistance measuring. It is set to 1 to improve the linearity when measuring resistance. 12. Application sample Example Network setting: Mode NETA NETB NETC NETD ADC 88h 00h 93h 57h OPAMP+ADC 88h E0h 93h 57h Demo Assembly code for Digital Interface: ;=========================== ; FS511_RW.ASM version 0.0 ; FS511 Read/Write use FS9822 ; Edit by Jong 2003/6/27 ;=========================== Addr_bf EQU EAH RW_bf EQU AL Rd_cnt1 EQU counter0 Rd_cnt2 EQU counter1 CS_ EQU 3 ; Port3 bit 3 SK_ EQU 2 ; Port3 bit 2 DI_ EQU 1 ; Port3 bit 1 DO_ EQU 0 ; Port3 bit 0 FS511_PT EQU PT3 FS511_PTEN EQU PT3EN FS511_PTPU EQU PT3PU Status EQU 4 Work EQU 5 C EQU 1 ;------------------------------------------- ; user define macro ;------------------------------------------- dly macro nop endm cs_0 macro bcf FS511_PT,3 dly endm cs_1 macro bsf FS511_PT,3 dly endm sk_0 macro bcf FS511_PT,2 dly endm sk_1 macro ; 3.2us bsf FS511_PT,2 dly endm di_0 macro bcf FS511_PT,1 dly endm di_1 macro bsf FS511_PT,1 dly endm sk_pls macro sk_1 sk_0 endm Wr511 macro d1,d2 movlfd1,Addr_bf movlfd2,RW_bf call _511W endm Rd511 macro d1 movlfd1,Addr_bf call _511R endm ;------------------------------------------- ; Initial of port ;------------------------------------------- 511_ini: bsf FS511_PTEN,CS_ bsf FS511_PTEN,SK_ bsf FS511_PTEN,DI_ bcf FS511_PTEN,DO_ bsf FS511_PTPU,DO_ bsf FS511_PT,CS_ return |
|
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |