DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

CDP68HC68W1 데이터 시트보기 (PDF) - Intersil

부품명
상세내역
제조사
CDP68HC68W1 Datasheet PDF : 9 Pages
1 2 3 4 5 6 7 8 9
CDP68HC68W1
00054* [6] 0108
00055 [2] 010A
00056* [6] 010C
00057 [2] 010E
00058* [6] 0110
00059
00060
00061 [5] 0112
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071 [5] 0114
00072* [6] 0116
00073
00074
00075 [2] 0118
00076* [6] 011A
00077 [2] 011C
00078* [6] 011E
00079
00080
00081 [5] 0120
00082
00083
00084
00085
00086
00087
00088
00089
00090 [5] 0122
00091* [6] 0124
00092
00093
00094 [2] 0126
00095* [6] 0128
00096
00097
00098 [5] 012A
00099
00100
00101 [3] 012C
00102
00103
00104
00105
00106
00107
012E
00108
00109
00110 [2] 012E
00111 [4] 0130
00112 [6] 0132
00113
00114 [4] 0133
00115
00116 [5] 0135
00117 [6] 0138
00118
00119
00120 [5] 0139
00121 [5] 013B
AD29
A663
AD25
A61D
AD21
1000
1100
AD16
A631
AD17
A609
AD13
1000
1100
AD08
A611
AD09
1000
20FE
A650
B70A
81
B70C
0F0BFD
81
1000
1004
jsr
SPI_xmit
lda
#99
jsr
SPI_xmit
lda
#29
jsr
SPI_xmit
;set frequency to divide by 2000
;set pulse width to 30% duty cycle
DeselectW1_1
bset
W1,PortA
;deselect the W1 which loads registers
; with values transmitted
;
; Here the CDP68HC05C8B would generally
; attend to other processing issues
;
******* Modify Frequency and Pulse Width
bclr
jsr
W1,PortA
Set_SPI_Mode
SendCommands2
lda
jsr
lda
jsr
#49
SPI_xmit
#9
SPI_xmit
;select W1 (CE is active low)
;Setup the CDP68HC05 SPI Control....
;to talk to the W1
;set frequency to divide by 100 (the
;divide by 2 is still in effect)
;set pulse width to 20% duty cycle
DeselectW1_2
bset
W1,PortA
;deselect the W1 which loads registers
;
; Here the CDP68HC05C8B would again
; attend to other processing issues
;
******* Modify Pulse Width
bclr
jsr
SendCommands3
lda
jsr
W1,PortA
Set_SPI_Mode
#17
SPI_xmit
;select W1 (CE is active low)
;Setup the 68HC05 SPI control...
;to talk to the W1
;set pulse width to 38% duty cycle
DeselectW1_3
bset
Finish
bra
W1,PortA
*
;deselect the W1 which loads registers
;with values transmitted
;loop forever
***********************************************************************
*
Common Subroutines
***********************************************************************
Section Subroutines, *
Set_SPI_Mode
lda
sta
rts
SPI_Xmit
sta
SPI_wait
brclr
rts
#(2!SPE+2!MSTR) ;Enable SPI as a Master with....
SPCR
;CPHA=CPOL=0,
SPDR
;send A to SPI device
SPIF,SPSR,SPI_wait ;wait until transmit complete
Init_W1
bset
bset
W1,PortA
W1,DDRA
;disable the W1 (CE is active low)
;by activating PA0 as a high
8

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]