전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

SYNPWM 데이터시트(PDF) 33 Page - Feeling Technology Corp.

부품명 SYNPWM
상세설명  EPROM-Based 8-Bit Microcontroller with 10 bit ADC
PDF  57 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  FEELING [Feeling Technology Corp.]
홈페이지  http://www.feeling-tech.com.tw/
Logo FEELING - Feeling Technology Corp.

SYNPWM 데이터시트(HTML) 33 Page - Feeling Technology Corp.

Back Button SYNPWM Datasheet HTML 29Page - Feeling Technology Corp. SYNPWM Datasheet HTML 30Page - Feeling Technology Corp. SYNPWM Datasheet HTML 31Page - Feeling Technology Corp. SYNPWM Datasheet HTML 32Page - Feeling Technology Corp. SYNPWM Datasheet HTML 33Page - Feeling Technology Corp. SYNPWM Datasheet HTML 34Page - Feeling Technology Corp. SYNPWM Datasheet HTML 35Page - Feeling Technology Corp. SYNPWM Datasheet HTML 36Page - Feeling Technology Corp. SYNPWM Datasheet HTML 37Page - Feeling Technology Corp. Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 57 page
background image
FM8P73B
Web site: http://www.feeling-tech.com.tw
Rev1.0 Nov 20, 2013
P.33/FM8P73B
FEELING
TECHNOLOGY
2.7.3
ADC conversion completion interrupt
When the A/D conversion is completed, the flag bit ADCIF (INTFLAG <6>) will be set. And the ADCIF bit can be
cleared by software.
This interrupt can be disabled by clearing ADCIE bit (INTEN<6>).
2.8
Analog to Digital Converter (ADC)
This analog to digital converter has 11 channels 10bits (8+2) resolution. The ADC is controlled by three control
register, ADCON1, ADCON2, and ADCON3.
Example 2.8: Analog to Digital Conversion (Channel0 AD conversion)
Address
Code
NA
#include
<8P73B.ASH>
…
n
BTRSC
ADCON1,ADCEN_B
n+1
GOTO
$-1
;Make Sure no ADC is processing
n+2
MOVIA
0xBF
n+3
MOVAR
INTFLAG
;Clear ADCIF flag(Note)
n+4
MOVIA
0x00
n+5
MOVAR
ADCON1
;Select ADC Channel 0 (IOA0) conversion
n+6
MOVIA
0x03
n+7
MOVAR
ADCON2
;Set AD conversion rate: System clock / 128
n+8
MOVIA
0x01
n+9
MOVAR
ADCON3
;Set AN0 analog input
n+10
BSR
ADCON1,ADCEN_B
;ADC conversion start
n+11
BTRSS
INTFLAG,ADCIF_B
n+12
GOTO
$-1
;Wait AD end of conversion
n+13
MOVR
ADDATH,A
;Read ADC high byte data
n+14
MOVAR
…
n+15
MOVR
ADDATL,A
;Read ADC low byte data
n+16
MOVAR
…
…
Note : BCR instruction is not recommended for Clear interrupt flag (INTFLAG register).
2.9
Oscillator Configurations
FM8P73B can be operated in five different combinations of oscillator modes. Users can program configuration
word (FOSC) to select the appropriate modes. The five different system clock modes are combination of the
following oscillators:
LF: Low Frequency Crystal Oscillator
XT: Crystal/Resonator Oscillator
HF: High Frequency Crystal/Resonator Oscillator
ERC: External Resistor/ Voltage Controlled Oscillator
IRC: Internal Resistor/Capacitor Oscillator
In LF, XT, or HF modes, a crystal or ceramic resonator in connected to the OSCI and OSCO pins to establish
oscillation. When in LF, XT, or HF modes, the devices can have an external clock source drive the OSCI pin.
The ERC device option offers additional cost savings for timing insensitive applications. The RC oscillator
frequency is a function of the supply voltage, the resistor (Rext) and capacitor (Cext), the operating temperature,
and the process parameter.
The IRC option offers largest cost savings for timing insensitive applications.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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