c8051f330 C程序源代碼
;$include (c8051f330.inc)??? ;IDE 環(huán)境使用???
;$include (c8051f330my.inc)??? ;KEIL 環(huán)境使用
;$include (c8051f330my.inc)??? ;KEIL 環(huán)境使用
LED??equ?p2.0?????????? ?;LED='0' means ON
timebuf??equ?30h???????
timebuf??equ?30h???????
;?????????????? Programma Initiation
;***********************************************************
??org?0000h
??ljmp?main
??org?000bh
??ljmp?tmr_int0
??
??org?0030h
main:??
??anl?PCA0MD,?#10111111b?????? ?; WDTE = 0 (clear watchdog timer enable)
;***********************************************************
??org?0000h
??ljmp?main
??org?000bh
??ljmp?tmr_int0
??
??org?0030h
main:??
??anl?PCA0MD,?#10111111b?????? ?; WDTE = 0 (clear watchdog timer enable)
blank:??mov?@r0,?#0
??djnz?r0,?blank
;***********************************************************
;?????????????? Programma Initiation
;***********************************************************
??mov?sp,?#60h
??djnz?r0,?blank
;***********************************************************
;?????????????? Programma Initiation
;***********************************************************
??mov?sp,?#60h
??mov?P1SKIP,?#00h
??setb?LED
??mov?P2MDOUT,?#00h
??mov?XBR0,?#00h?;Enable UART on P0.4(TX) and P0.5(RX)????????????????????
??mov?XBR1,?#40h?;Enable crossbar and weak pull-ups
??
??mov?OSCICN,?#83h?;Configure internal oscillator for its maximum frequency 24.5MHz
??mov?RSTSRC,?#04h?;Enable missing clock detector
??setb?LED
??mov?P2MDOUT,?#00h
??mov?XBR0,?#00h?;Enable UART on P0.4(TX) and P0.5(RX)????????????????????
??mov?XBR1,?#40h?;Enable crossbar and weak pull-ups
??
??mov?OSCICN,?#83h?;Configure internal oscillator for its maximum frequency 24.5MHz
??mov?RSTSRC,?#04h?;Enable missing clock detector
??mov?TMOD,?#01h
??mov?CKCON,?#01h
??mov?TL0,?#0beh
??mov?TH0,?#10h
??clr?TR0
??mov?CKCON,?#01h
??mov?TL0,?#0beh
??mov?TH0,?#10h
??clr?TR0
??mov?IP,?#02h
??mov?timebuf,?#00h
??setb?TR0
??
??jmp?$
??mov?timebuf,?#00h
??setb?TR0
??
??jmp?$
;***********************************************************
;?????????????? time 0 intrrupt ,10ms
;***********************************************************
tmr_int0:
??mov?TL0,?#0beh
??mov?TH0,?#10h
?
??inc?timebuf
??mov?a,?#50
??cjne?a,?timebuf,?tmr_out
??mov?timebuf,?#00h
??cpl?LED
tmr_out:?
??setb?TR0
??reti
;?????????????? time 0 intrrupt ,10ms
;***********************************************************
tmr_int0:
??mov?TL0,?#0beh
??mov?TH0,?#10h
?
??inc?timebuf
??mov?a,?#50
??cjne?a,?timebuf,?tmr_out
??mov?timebuf,?#00h
??cpl?LED
tmr_out:?
??setb?TR0
??reti
?
;
; FILE NAME: C8051F330MY.INC
; TARGET MCUs: C8051F330, F331
; DESCRIPTION: Register/bit definitions for the C8051F330 product family.
;
; REVISION 1.0
;
;---------------------------------------------------------------------------
; FILE NAME: C8051F330MY.INC
; TARGET MCUs: C8051F330, F331
; DESCRIPTION: Register/bit definitions for the C8051F330 product family.
;
; REVISION 1.0
;
;---------------------------------------------------------------------------
;
;P0???????????? DATA 080H??? ; PORT 0 LATCH
;SP???????????? DATA 081H??? ; STACK POINTER
;DPL??????????? DATA 082H??? ; DATA POINTER LOW
;DPH??????????? DATA 083H??? ; DATA POINTER HIGH
;PCON?????????? DATA 087H??? ; POWER CONTROL
;TCON?????????? DATA 088H??? ; TIMER/COUNTER CONTROL
;TMOD?????????? DATA 089H??? ; TIMER/COUNTER MODE
;TL0??????????? DATA 08AH??? ; TIMER/COUNTER 0 LOW
;TL1??????????? DATA 08BH??? ; TIMER/COUNTER 1 LOW
;TH0??????????? DATA 08CH??? ; TIMER/COUNTER 0 HIGH
;TH1??????????? DATA 08DH??? ; TIMER/COUNTER 1 HIGH
CKCON????????? DATA 08EH??? ; CLOCK CONTROL
PSCTL????????? DATA 08FH??? ; PROGRAM STORE R/W CONTROL
;P1???????????? DATA 090H??? ; PORT 1 LATCH
TMR3CN???????? DATA 091H??? ; TIMER/COUNTER 3 CONTROL
TMR3RLL??????? DATA 092H??? ; TIMER/COUNTER 3 RELOAD LOW
TMR3RLH??????? DATA 093H??? ; TIMER/COUNTER 3 RELOAD HIGH
TMR3L????????? DATA 094H??? ; TIMER/COUNTER 3 LOW
TMR3H????????? DATA 095H??? ; TIMER/COUNTER 3 HIGH
IDA0L????????? DATA 096H??? ; CURRENT MODE DAC0 LOW
IDA0H????????? DATA 097H??? ; CURRENT MODE DAC0 HIGH
SCON0????????? DATA 098H??? ; UART0 CONTROL
SBUF0????????? DATA 099H??? ; UART0 DATA BUFFER
CPT0CN???????? DATA 09BH??? ; COMPARATOR0 CONTROL
CPT0MD???????? DATA 09DH??? ; COMPARATOR0 MODE SELECTION
CPT0MX???????? DATA 09FH??? ; COMPARATOR0 MUX SELECTION
;P2???????????? DATA 0A0H??? ; PORT 2 LATCH
SPI0CFG??????? DATA 0A1H??? ; SPI CONFIGURATION
SPI0CKR??????? DATA 0A2H??? ; SPI CLOCK RATE CONTROL
SPI0DAT??????? DATA 0A3H??? ; SPI DATA
P0MDOUT??????? DATA 0A4H??? ; PORT 0 OUTPUT MODE CONFIGURATION
P1MDOUT??????? DATA 0A5H??? ; PORT 1 OUTPUT MODE CONFIGURATION
P2MDOUT??????? DATA 0A6H??? ; PORT 2 OUTPUT MODE CONFIGURATION
;IE???????????? DATA 0A8H??? ; INTERRUPT ENABLE
CLKSEL???????? DATA 0A9H??? ; CLOCK SELECT
EMI0CN???????? DATA 0AAH??? ; EXTERNAL MEMORY INTERFACE CONTROL
OSCXCN???????? DATA 0B1H??? ; EXTERNAL OSCILLATOR CONTROL
OSCICN???????? DATA 0B2H??? ; INTERNAL OSCILLATOR CONTROL
OSCICL???????? DATA 0B3H??? ; INTERNAL OSCILLATOR CALIBRATION
FLSCL????????? DATA 0B6H??? ; FLASH SCALE
FLKEY????????? DATA 0B7H??? ; FLASH LOCK AND KEY
;IP???????????? DATA 0B8H??? ; INTERRUPT PRIORITY
IDA0CN???????? DATA 0B9H??? ; CURRENT MODE DAC0 CONTROL
AMX0N????????? DATA 0BAH??? ; AMUX0 NEGATIVE CHANNEL SELECT
AMX0P????????? DATA 0BBH??? ; AMUX0 POSITIVE CHANNEL SELECT
ADC0CF???????? DATA 0BCH??? ; ADC0 CONFIGURATION
ADC0L????????? DATA 0BDH??? ; ADC0 LOW
ADC0H????????? DATA 0BEH??? ; ADC0 HIGH
SMB0CN???????? DATA 0C0H??? ; SMBUS CONTROL
SMB0CF???????? DATA 0C1H??? ; SMBUS CONFIGURATION
SMB0DAT??????? DATA 0C2H??? ; SMBUS DATA
ADC0GTL??????? DATA 0C3H??? ; ADC0 GREATER-THAN COMPARE LOW
ADC0GTH??????? DATA 0C4H??? ; ADC0 GREATER-THAN COMPARE HIGH
ADC0LTL??????? DATA 0C5H??? ; ADC0 LESS-THAN COMPARE WORD LOW
ADC0LTH??????? DATA 0C6H??? ; ADC0 LESS-THAN COMPARE WORD HIGH
TMR2CN???????? DATA 0C8H??? ; TIMER/COUNTER 2 CONTROL
TMR2RLL??????? DATA 0CAH??? ; TIMER/COUNTER 2 RELOAD LOW
TMR2RLH??????? DATA 0CBH??? ; TIMER/COUNTER 2 RELOAD HIGH
TMR2L????????? DATA 0CCH??? ; TIMER/COUNTER 2 LOW
TMR2H????????? DATA 0CDH??? ; TIMER/COUNTER 2 HIGH
;PSW??????????? DATA 0D0H??? ; PROGRAM STATUS WORD
REF0CN???????? DATA 0D1H??? ; VOLTAGE REFERENCE CONTROL
P0SKIP???????? DATA 0D4H??? ; PORT 0 SKIP
P1SKIP???????? DATA 0D5H??? ; PORT 1 SKIP
PCA0CN???????? DATA 0D8H??? ; PCA CONTROL
PCA0MD???????? DATA 0D9H??? ; PCA MODE
PCA0CPM0?????? DATA 0DAH??? ; PCA MODULE 0 MODE REGISTER
PCA0CPM1?????? DATA 0DBH??? ; PCA MODULE 1 MODE REGISTER
PCA0CPM2?????? DATA 0DCH??? ; PCA MODULE 2 MODE REGISTER
;ACC??????????? DATA 0E0H??? ; ACCUMULATOR
XBR0?????????? DATA 0E1H??? ; PORT I/O CROSSBAR CONTROL 0
XBR1?????????? DATA 0E2H??? ; PORT I/O CROSSBAR CONTROL 1
OSCLCN???????? DATA 0E3H??? ; LOW-FREQUENCY OSCILLATOR CONTROL
IT01CF???????? DATA 0E4H??? ; INT0/INT1 CONFIGURATION
EIE1?????????? DATA 0E6H??? ; EXTENDED INTERRUPT ENABLE 1
ADC0CN???????? DATA 0E8H??? ; ADC0 CONTROL
PCA0CPL1?????? DATA 0E9H??? ; PCA CAPTURE 1 LOW
PCA0CPH1?????? DATA 0EAH??? ; PCA CAPTURE 1 HIGH
PCA0CPL2?????? DATA 0EBH??? ; PCA CAPTURE 2 LOW
PCA0CPH2?????? DATA 0ECH??? ; PCA CAPTURE 2 HIGH
RSTSRC???????? DATA 0EFH??? ; RESET SOURCE CONFIGURATION/STATUS
;B????????????? DATA 0F0H??? ; B REGISTER
P0MDIN???????? DATA 0F1H??? ; PORT 0 INPUT MODE CONFIGURATION
P1MDIN???????? DATA 0F2H??? ; PORT 1 INPUT MODE CONFIGURATION
EIP1?????????? DATA 0F6H??? ; EXTENDED INTERRUPT PRIORITY 1
SPI0CN???????? DATA 0F8H??? ; SPI CONTROL
PCA0L????????? DATA 0F9H??? ; PCA COUNTER LOW
PCA0H????????? DATA 0FAH??? ; PCA COUNTER HIGH
PCA0CPL0?????? DATA 0FBH??? ; PCA CAPTURE 0 LOW
PCA0CPH0?????? DATA 0FCH??? ; PCA CAPTURE 0 HIGH
VDM0CN???????? DATA 0FFH??? ; VDD MONITOR CONTROL
;P0???????????? DATA 080H??? ; PORT 0 LATCH
;SP???????????? DATA 081H??? ; STACK POINTER
;DPL??????????? DATA 082H??? ; DATA POINTER LOW
;DPH??????????? DATA 083H??? ; DATA POINTER HIGH
;PCON?????????? DATA 087H??? ; POWER CONTROL
;TCON?????????? DATA 088H??? ; TIMER/COUNTER CONTROL
;TMOD?????????? DATA 089H??? ; TIMER/COUNTER MODE
;TL0??????????? DATA 08AH??? ; TIMER/COUNTER 0 LOW
;TL1??????????? DATA 08BH??? ; TIMER/COUNTER 1 LOW
;TH0??????????? DATA 08CH??? ; TIMER/COUNTER 0 HIGH
;TH1??????????? DATA 08DH??? ; TIMER/COUNTER 1 HIGH
CKCON????????? DATA 08EH??? ; CLOCK CONTROL
PSCTL????????? DATA 08FH??? ; PROGRAM STORE R/W CONTROL
;P1???????????? DATA 090H??? ; PORT 1 LATCH
TMR3CN???????? DATA 091H??? ; TIMER/COUNTER 3 CONTROL
TMR3RLL??????? DATA 092H??? ; TIMER/COUNTER 3 RELOAD LOW
TMR3RLH??????? DATA 093H??? ; TIMER/COUNTER 3 RELOAD HIGH
TMR3L????????? DATA 094H??? ; TIMER/COUNTER 3 LOW
TMR3H????????? DATA 095H??? ; TIMER/COUNTER 3 HIGH
IDA0L????????? DATA 096H??? ; CURRENT MODE DAC0 LOW
IDA0H????????? DATA 097H??? ; CURRENT MODE DAC0 HIGH
SCON0????????? DATA 098H??? ; UART0 CONTROL
SBUF0????????? DATA 099H??? ; UART0 DATA BUFFER
CPT0CN???????? DATA 09BH??? ; COMPARATOR0 CONTROL
CPT0MD???????? DATA 09DH??? ; COMPARATOR0 MODE SELECTION
CPT0MX???????? DATA 09FH??? ; COMPARATOR0 MUX SELECTION
;P2???????????? DATA 0A0H??? ; PORT 2 LATCH
SPI0CFG??????? DATA 0A1H??? ; SPI CONFIGURATION
SPI0CKR??????? DATA 0A2H??? ; SPI CLOCK RATE CONTROL
SPI0DAT??????? DATA 0A3H??? ; SPI DATA
P0MDOUT??????? DATA 0A4H??? ; PORT 0 OUTPUT MODE CONFIGURATION
P1MDOUT??????? DATA 0A5H??? ; PORT 1 OUTPUT MODE CONFIGURATION
P2MDOUT??????? DATA 0A6H??? ; PORT 2 OUTPUT MODE CONFIGURATION
;IE???????????? DATA 0A8H??? ; INTERRUPT ENABLE
CLKSEL???????? DATA 0A9H??? ; CLOCK SELECT
EMI0CN???????? DATA 0AAH??? ; EXTERNAL MEMORY INTERFACE CONTROL
OSCXCN???????? DATA 0B1H??? ; EXTERNAL OSCILLATOR CONTROL
OSCICN???????? DATA 0B2H??? ; INTERNAL OSCILLATOR CONTROL
OSCICL???????? DATA 0B3H??? ; INTERNAL OSCILLATOR CALIBRATION
FLSCL????????? DATA 0B6H??? ; FLASH SCALE
FLKEY????????? DATA 0B7H??? ; FLASH LOCK AND KEY
;IP???????????? DATA 0B8H??? ; INTERRUPT PRIORITY
IDA0CN???????? DATA 0B9H??? ; CURRENT MODE DAC0 CONTROL
AMX0N????????? DATA 0BAH??? ; AMUX0 NEGATIVE CHANNEL SELECT
AMX0P????????? DATA 0BBH??? ; AMUX0 POSITIVE CHANNEL SELECT
ADC0CF???????? DATA 0BCH??? ; ADC0 CONFIGURATION
ADC0L????????? DATA 0BDH??? ; ADC0 LOW
ADC0H????????? DATA 0BEH??? ; ADC0 HIGH
SMB0CN???????? DATA 0C0H??? ; SMBUS CONTROL
SMB0CF???????? DATA 0C1H??? ; SMBUS CONFIGURATION
SMB0DAT??????? DATA 0C2H??? ; SMBUS DATA
ADC0GTL??????? DATA 0C3H??? ; ADC0 GREATER-THAN COMPARE LOW
ADC0GTH??????? DATA 0C4H??? ; ADC0 GREATER-THAN COMPARE HIGH
ADC0LTL??????? DATA 0C5H??? ; ADC0 LESS-THAN COMPARE WORD LOW
ADC0LTH??????? DATA 0C6H??? ; ADC0 LESS-THAN COMPARE WORD HIGH
TMR2CN???????? DATA 0C8H??? ; TIMER/COUNTER 2 CONTROL
TMR2RLL??????? DATA 0CAH??? ; TIMER/COUNTER 2 RELOAD LOW
TMR2RLH??????? DATA 0CBH??? ; TIMER/COUNTER 2 RELOAD HIGH
TMR2L????????? DATA 0CCH??? ; TIMER/COUNTER 2 LOW
TMR2H????????? DATA 0CDH??? ; TIMER/COUNTER 2 HIGH
;PSW??????????? DATA 0D0H??? ; PROGRAM STATUS WORD
REF0CN???????? DATA 0D1H??? ; VOLTAGE REFERENCE CONTROL
P0SKIP???????? DATA 0D4H??? ; PORT 0 SKIP
P1SKIP???????? DATA 0D5H??? ; PORT 1 SKIP
PCA0CN???????? DATA 0D8H??? ; PCA CONTROL
PCA0MD???????? DATA 0D9H??? ; PCA MODE
PCA0CPM0?????? DATA 0DAH??? ; PCA MODULE 0 MODE REGISTER
PCA0CPM1?????? DATA 0DBH??? ; PCA MODULE 1 MODE REGISTER
PCA0CPM2?????? DATA 0DCH??? ; PCA MODULE 2 MODE REGISTER
;ACC??????????? DATA 0E0H??? ; ACCUMULATOR
XBR0?????????? DATA 0E1H??? ; PORT I/O CROSSBAR CONTROL 0
XBR1?????????? DATA 0E2H??? ; PORT I/O CROSSBAR CONTROL 1
OSCLCN???????? DATA 0E3H??? ; LOW-FREQUENCY OSCILLATOR CONTROL
IT01CF???????? DATA 0E4H??? ; INT0/INT1 CONFIGURATION
EIE1?????????? DATA 0E6H??? ; EXTENDED INTERRUPT ENABLE 1
ADC0CN???????? DATA 0E8H??? ; ADC0 CONTROL
PCA0CPL1?????? DATA 0E9H??? ; PCA CAPTURE 1 LOW
PCA0CPH1?????? DATA 0EAH??? ; PCA CAPTURE 1 HIGH
PCA0CPL2?????? DATA 0EBH??? ; PCA CAPTURE 2 LOW
PCA0CPH2?????? DATA 0ECH??? ; PCA CAPTURE 2 HIGH
RSTSRC???????? DATA 0EFH??? ; RESET SOURCE CONFIGURATION/STATUS
;B????????????? DATA 0F0H??? ; B REGISTER
P0MDIN???????? DATA 0F1H??? ; PORT 0 INPUT MODE CONFIGURATION
P1MDIN???????? DATA 0F2H??? ; PORT 1 INPUT MODE CONFIGURATION
EIP1?????????? DATA 0F6H??? ; EXTENDED INTERRUPT PRIORITY 1
SPI0CN???????? DATA 0F8H??? ; SPI CONTROL
PCA0L????????? DATA 0F9H??? ; PCA COUNTER LOW
PCA0H????????? DATA 0FAH??? ; PCA COUNTER HIGH
PCA0CPL0?????? DATA 0FBH??? ; PCA CAPTURE 0 LOW
PCA0CPH0?????? DATA 0FCH??? ; PCA CAPTURE 0 HIGH
VDM0CN???????? DATA 0FFH??? ; VDD MONITOR CONTROL
;------------------------------------------------------------------------------
;BIT DEFINITIONS
;
; TCON 088H
;TF1??????????? BIT 08FH???? ; TIMER 1 OVERFLOW FLAG
;TR1??????????? BIT 08EH???? ; TIMER 1 ON/OFF CONTROL
;TF0??????????? BIT 08DH???? ; TIMER 0 OVERFLOW FLAG
;TR0??????????? BIT 08CH???? ; TIMER 0 ON/OFF CONTROL
;IE1??????????? BIT 08BH???? ; EXT. INTERRUPT 1 EDGE FLAG
;IT1??????????? BIT 08AH???? ; EXT. INTERRUPT 1 TYPE
;IE0??????????? BIT 089H???? ; EXT. INTERRUPT 0 EDGE FLAG
;IT0??????????? BIT 088H???? ; EXT. INTERRUPT 0 TYPE
;BIT DEFINITIONS
;
; TCON 088H
;TF1??????????? BIT 08FH???? ; TIMER 1 OVERFLOW FLAG
;TR1??????????? BIT 08EH???? ; TIMER 1 ON/OFF CONTROL
;TF0??????????? BIT 08DH???? ; TIMER 0 OVERFLOW FLAG
;TR0??????????? BIT 08CH???? ; TIMER 0 ON/OFF CONTROL
;IE1??????????? BIT 08BH???? ; EXT. INTERRUPT 1 EDGE FLAG
;IT1??????????? BIT 08AH???? ; EXT. INTERRUPT 1 TYPE
;IE0??????????? BIT 089H???? ; EXT. INTERRUPT 0 EDGE FLAG
;IT0??????????? BIT 088H???? ; EXT. INTERRUPT 0 TYPE
S0MODE???????? BIT 09FH???? ; UART 0 MODE
MCE0?????????? BIT 09DH???? ; UART 0 MCE
REN0?????????? BIT 09CH???? ; UART 0 RX ENABLE
TB80?????????? BIT 09BH???? ; UART 0 TX BIT 8
RB80?????????? BIT 09AH???? ; UART 0 RX BIT 8
TI0??????????? BIT 099H???? ; UART 0 TX INTERRUPT FLAG
RI0??????????? BIT 098H???? ; UART 0 RX INTERRUPT FLAG
MCE0?????????? BIT 09DH???? ; UART 0 MCE
REN0?????????? BIT 09CH???? ; UART 0 RX ENABLE
TB80?????????? BIT 09BH???? ; UART 0 TX BIT 8
RB80?????????? BIT 09AH???? ; UART 0 RX BIT 8
TI0??????????? BIT 099H???? ; UART 0 TX INTERRUPT FLAG
RI0??????????? BIT 098H???? ; UART 0 RX INTERRUPT FLAG
;EA???????????? BIT 0AFH???? ; GLOBAL INTERRUPT ENABLE
ESPI0????????? BIT 0AEH???? ; SPI0 INTERRUPT ENABLE
ET2??????????? BIT 0ADH???? ; TIMER 2 INTERRUPT ENABLE
ES0??????????? BIT 0ACH???? ; UART0 INTERRUPT ENABLE
;ET1??????????? BIT 0ABH???? ; TIMER 1 INTERRUPT ENABLE
;EX1??????????? BIT 0AAH???? ; EXTERNAL INTERRUPT 1 ENABLE
;ET0??????????? BIT 0A9H???? ; TIMER 0 INTERRUPT ENABLE
;EX0??????????? BIT 0A8H???? ; EXTERNAL INTERRUPT 0 ENABLE
ESPI0????????? BIT 0AEH???? ; SPI0 INTERRUPT ENABLE
ET2??????????? BIT 0ADH???? ; TIMER 2 INTERRUPT ENABLE
ES0??????????? BIT 0ACH???? ; UART0 INTERRUPT ENABLE
;ET1??????????? BIT 0ABH???? ; TIMER 1 INTERRUPT ENABLE
;EX1??????????? BIT 0AAH???? ; EXTERNAL INTERRUPT 1 ENABLE
;ET0??????????? BIT 0A9H???? ; TIMER 0 INTERRUPT ENABLE
;EX0??????????? BIT 0A8H???? ; EXTERNAL INTERRUPT 0 ENABLE
PSPI0????????? BIT 0BEH???? ; SPI0 PRIORITY
PT2??????????? BIT 0BDH???? ; TIMER 2 PRIORITY
PS0??????????? BIT 0BCH???? ; UART0 PRIORITY
;PT1??????????? BIT 0BBH???? ; TIMER 1 PRIORITY
;PX1??????????? BIT 0BAH???? ; EXTERNAL INTERRUPT 1 PRIORITY
;PT0??????????? BIT 0B9H???? ; TIMER 0 PRIORITY
;PX0??????????? BIT 0B8H???? ; EXTERNAL INTERRUPT 0 PRIORITY
PT2??????????? BIT 0BDH???? ; TIMER 2 PRIORITY
PS0??????????? BIT 0BCH???? ; UART0 PRIORITY
;PT1??????????? BIT 0BBH???? ; TIMER 1 PRIORITY
;PX1??????????? BIT 0BAH???? ; EXTERNAL INTERRUPT 1 PRIORITY
;PT0??????????? BIT 0B9H???? ; TIMER 0 PRIORITY
;PX0??????????? BIT 0B8H???? ; EXTERNAL INTERRUPT 0 PRIORITY
MASTER???????? BIT 0C7H???? ; SMBUS 0 MASTER/SLAVE
TXMODE???????? BIT 0C6H???? ; SMBUS 0 TRANSMIT MODE
STA??????????? BIT 0C5H???? ; SMBUS 0 START FLAG
STO??????????? BIT 0C4H???? ; SMBUS 0 STOP FLAG
ACKRQ????????? BIT 0C3H???? ; SMBUS 0 ACKNOWLEDGE REQUEST
ARBLOST??????? BIT 0C2H???? ; SMBUS 0 ARBITRATION LOST
ACK??????????? BIT 0C1H???? ; SMBUS 0 ACKNOWLEDGE FLAG
SI???????????? BIT 0C0H???? ; SMBUS 0 INTERRUPT PENDING FLAG
TXMODE???????? BIT 0C6H???? ; SMBUS 0 TRANSMIT MODE
STA??????????? BIT 0C5H???? ; SMBUS 0 START FLAG
STO??????????? BIT 0C4H???? ; SMBUS 0 STOP FLAG
ACKRQ????????? BIT 0C3H???? ; SMBUS 0 ACKNOWLEDGE REQUEST
ARBLOST??????? BIT 0C2H???? ; SMBUS 0 ARBITRATION LOST
ACK??????????? BIT 0C1H???? ; SMBUS 0 ACKNOWLEDGE FLAG
SI???????????? BIT 0C0H???? ; SMBUS 0 INTERRUPT PENDING FLAG
TF2H?????????? BIT 0CFH???? ; TIMER 2 HIGH BYTE OVERFLOW FLAG
TF2L?????????? BIT 0CEH???? ; TIMER 2 LOW BYTE OVERFLOW FLAG
TF2LEN???????? BIT 0CDH???? ; TIMER 2 LOW BYTE INTERRUPT ENABLE
TF2CEN???????? BIT 0CCH???? ; TIMER 2 LFO CAPTURE ENABLE
T2SPLIT??????? BIT 0CBH???? ; TIMER 2 SPLIT MODE ENABLE
TR2??????????? BIT 0CAH???? ; TIMER 2 ON/OFF CONTROL
T2XCLK???????? BIT 0C8H???? ; TIMER 2 EXTERNAL CLOCK SELECT
TF2L?????????? BIT 0CEH???? ; TIMER 2 LOW BYTE OVERFLOW FLAG
TF2LEN???????? BIT 0CDH???? ; TIMER 2 LOW BYTE INTERRUPT ENABLE
TF2CEN???????? BIT 0CCH???? ; TIMER 2 LFO CAPTURE ENABLE
T2SPLIT??????? BIT 0CBH???? ; TIMER 2 SPLIT MODE ENABLE
TR2??????????? BIT 0CAH???? ; TIMER 2 ON/OFF CONTROL
T2XCLK???????? BIT 0C8H???? ; TIMER 2 EXTERNAL CLOCK SELECT
;CY???????????? BIT 0D7H???? ; CARRY FLAG
;AC???????????? BIT 0D6H???? ; AUXILIARY CARRY FLAG
;F0???????????? BIT 0D5H???? ; USER FLAG 0
;RS1??????????? BIT 0D4H???? ; REGISTER BANK SELECT 1
;RS0??????????? BIT 0D3H???? ; REGISTER BANK SELECT 0
;OV???????????? BIT 0D2H???? ; OVERFLOW FLAG
F1???????????? BIT 0D1H???? ; USER FLAG 1
;P????????????? BIT 0D0H???? ; ACCUMULATOR PARITY FLAG
;AC???????????? BIT 0D6H???? ; AUXILIARY CARRY FLAG
;F0???????????? BIT 0D5H???? ; USER FLAG 0
;RS1??????????? BIT 0D4H???? ; REGISTER BANK SELECT 1
;RS0??????????? BIT 0D3H???? ; REGISTER BANK SELECT 0
;OV???????????? BIT 0D2H???? ; OVERFLOW FLAG
F1???????????? BIT 0D1H???? ; USER FLAG 1
;P????????????? BIT 0D0H???? ; ACCUMULATOR PARITY FLAG
CF???????????? BIT 0DFH???? ; PCA 0 COUNTER OVERFLOW FLAG
CR???????????? BIT 0DEH???? ; PCA 0 COUNTER RUN CONTROL BIT
CCF2?????????? BIT 0DAH???? ; PCA 0 MODULE 2 INTERRUPT FLAG
CCF1?????????? BIT 0D9H???? ; PCA 0 MODULE 1 INTERRUPT FLAG
CCF0?????????? BIT 0D8H???? ; PCA 0 MODULE 0 INTERRUPT FLAG
??????????????????????????? ; ADC 0 WINDOW INTERRUPT FLAG
; ADC0CN 0E8H
AD0EN????????? BIT 0EFH???? ; ADC 0 ENABLE
AD0TM????????? BIT 0EEH???? ; ADC 0 TRACK MODE
AD0INT???????? BIT 0EDH???? ; ADC 0 EOC INTERRUPT FLAG
AD0BUSY??????? BIT 0ECH???? ; ADC 0 BUSY FLAG
AD0WINT??????? BIT 0EBH???? ; ADC 0 WINDOW INTERRUPT FLAG
AD0CM2???????? BIT 0EAH???? ; ADC 0 CONVERT START MODE BIT 2
AD0CM1???????? BIT 0E9H???? ; ADC 0 CONVERT START MODE BIT 1
AD0CM0???????? BIT 0E8H???? ; ADC 0 CONVERT START MODE BIT 0
CR???????????? BIT 0DEH???? ; PCA 0 COUNTER RUN CONTROL BIT
CCF2?????????? BIT 0DAH???? ; PCA 0 MODULE 2 INTERRUPT FLAG
CCF1?????????? BIT 0D9H???? ; PCA 0 MODULE 1 INTERRUPT FLAG
CCF0?????????? BIT 0D8H???? ; PCA 0 MODULE 0 INTERRUPT FLAG
??????????????????????????? ; ADC 0 WINDOW INTERRUPT FLAG
; ADC0CN 0E8H
AD0EN????????? BIT 0EFH???? ; ADC 0 ENABLE
AD0TM????????? BIT 0EEH???? ; ADC 0 TRACK MODE
AD0INT???????? BIT 0EDH???? ; ADC 0 EOC INTERRUPT FLAG
AD0BUSY??????? BIT 0ECH???? ; ADC 0 BUSY FLAG
AD0WINT??????? BIT 0EBH???? ; ADC 0 WINDOW INTERRUPT FLAG
AD0CM2???????? BIT 0EAH???? ; ADC 0 CONVERT START MODE BIT 2
AD0CM1???????? BIT 0E9H???? ; ADC 0 CONVERT START MODE BIT 1
AD0CM0???????? BIT 0E8H???? ; ADC 0 CONVERT START MODE BIT 0
SPIF?????????? BIT 0FFH???? ; SPI 0 INTERRUPT FLAG
WCOL?????????? BIT 0FEH???? ; SPI 0 WRITE COLLISION FLAG
MODF?????????? BIT 0FDH???? ; SPI 0 MODE FAULT FLAG
RXOVRN???????? BIT 0FCH???? ; SPI 0 RX OVERRUN FLAG
NSSMD1???????? BIT 0FBH???? ; SPI 0 SLAVE SELECT MODE 1
NSSMD0???????? BIT 0FAH???? ; SPI 0 SLAVE SELECT MODE 0
TXBMT????????? BIT 0F9H???? ; SPI 0 TX BUFFER EMPTY FLAG
SPIEN????????? BIT 0F8H???? ; SPI 0 SPI ENABLE
WCOL?????????? BIT 0FEH???? ; SPI 0 WRITE COLLISION FLAG
MODF?????????? BIT 0FDH???? ; SPI 0 MODE FAULT FLAG
RXOVRN???????? BIT 0FCH???? ; SPI 0 RX OVERRUN FLAG
NSSMD1???????? BIT 0FBH???? ; SPI 0 SLAVE SELECT MODE 1
NSSMD0???????? BIT 0FAH???? ; SPI 0 SLAVE SELECT MODE 0
TXBMT????????? BIT 0F9H???? ; SPI 0 TX BUFFER EMPTY FLAG
SPIEN????????? BIT 0F8H???? ; SPI 0 SPI ENABLE
- 805(15931)
相關推薦
采用C8051F330移動電話防盜報警系統(tǒng)電路設計
本文采用完全集成混合信號片上系統(tǒng)(MCU)的C8051F330和無線收發(fā)器CC2500設計了一套移動電話防盜報警系統(tǒng)。該報警系統(tǒng)利用射頻收發(fā)器可實現(xiàn)近距離的信息傳輸。移動電話防盜報警系統(tǒng)利用高度集成C8051F330器件和RF通訊器件CC2500實現(xiàn)了移動電話與用戶的實時通訊,有效地防止了移動電話的丟失和防盜竊。
2014-11-12 16:16:415141
51單片機淘汰啦? 疑問!
試問有哪一種價格低于十塊大洋的MCU,在下列簡單應用中,性價比超過51(淘寶上價格在6-7大洋的C8051F330)!前言:因玩DIY需要,想整個通用函數(shù)波型發(fā)生器,輸出頻率到100KHz即可,電工
2011-10-24 14:53:29
C8051F330 DAC
= Setvalue; //Setvalue 由外部設置}===================================================================上面是程序的一部分,大部分配置參考的官方例程,但是P0.1口電壓只能是0V或者3.3V,不是想要的變化值,求路過大神解惑
2017-11-16 09:19:40
C8051F330信息處理
哪位大俠幫個忙啦,小弟不勝感激~~基于單片機C8051F330,測量信號的幅值,頻率,哪哪位大俠可以給小弟介紹介紹該怎么做呢還有,能不能幫忙把程序給寫出來呢,萬分感謝~~
2011-05-13 12:18:20
C8051F020DK開發(fā)板資料
;(11)電位器調(diào)節(jié)實現(xiàn)2 路比較器接口使用實驗;(12)外擴總線接口;(13)C8051F020 上的所有資源對用戶開放;(14)+5V 供電; 4.學習板軟件例程(1). Delay:軟件延時程序
2011-06-27 15:35:31
C8051F120 FLASH編程問題
這是我根據(jù)C8051F120 的PDF資料寫的FLASH讀和寫的程序,但是就是讀不對,還把原來程序的內(nèi)容給覆蓋掉了: ////////////FLASH讀寫操作調(diào)試程序
2012-01-02 11:04:26
C8051F120單片機的有關問題
問一下各位朋友,是不是只要是C8051F120單片機,不管后面跟多少字符,功能都是C8051F120。例如我要買C8051F120DCS0SU1050
2011-05-08 00:14:27
C8051F340單片機延時問題
用C8051F340 12Mhz內(nèi)部晶振,想讓LED間隔閃爍2S,但實際用示波器測出來大概間隔為330ms,去掉初始化端口程序間隔約2.7S,是for語句問題還是晶振初始化代碼不對,C代碼如下,求
2019-12-13 17:03:51
C8051F340小燈閃爍程序怎么編輯?
本帖最后由 zhpp 于 2021-8-18 18:32 編輯
各位大佬們好: 最近剛學習C8051F340,P0.4引腳接了一個LED燈,想讓其閃爍。借鑒別人的程序,自己改了幾個程序,但是
2021-08-17 15:59:42
C8051F340的USB如何用
找的官方的程序例子,USb-bulk中的SiBulk.sys和SilabsBulk怎么使用,聽說這個是驅動,我把程序下載到c8051f340中,插在電腦上提示檢測到USB插入但搜索不到驅動,不能識別USB
2013-10-27 19:10:28
C8051F352怎么下載程序?
C8051F352怎么下載程序?說是通過C2口下載程序。但是具體怎么操作,需要接什么外圍電路。搞了三天一點頭緒都沒。pdf文檔看不太懂。ps:剛剛接觸這單片機,畫了個PCB,經(jīng)理說編程口沒有。以前學校學51也只是用過仿真頭。
2012-07-05 17:27:38
C8051F單片機解密方法型號大全
320、C8051F321、C8051F321A、C8051F326、C8051F327、C8051F330、C8051F331、C8051F332、C8051F333、C8051F334、C8051F
2022-03-29 15:25:10
C8051F同時實現(xiàn)AD和串口收發(fā)的程序
本帖最后由 nwx8899 于 2012-8-1 23:42 編輯
C8051F同時實現(xiàn)AD和串口收發(fā)的程序attach: [/attach]
2012-08-01 21:57:50
c8051f340開發(fā)
正在進行基于c8051f340單片機開發(fā),裝了keil c51 v9.00版本和c8051f340驅動,可以在keil中仿真程序,但是想在proteus搭建外設平臺,直接keil+proteus仿真
2014-01-26 11:20:40
c8051f340的a/d轉換程序
本帖最后由 eehome 于 2013-1-5 09:49 編輯
大神們誰有好的c8051f340的a/d轉換的程序,比較好的,c語言的,傳一下唄,我qq921937681,謝了!
2012-08-16 10:37:11
c8051f340的問題
最近得手一款c8051f340最小系統(tǒng)版,但不知怎么下載,急求哪位高手、好心人給發(fā)一份c8051f340驅動。。。{:4_107:}郵箱906550204@qq.com
2013-12-26 21:03:56
c8051f單片機特性
,TQFP100封裝;C8051F330單片機主要特性(1)高速流水線結構的 8051 兼容的 CIP-51 內(nèi)核,最高 25MIPS執(zhí)行速度;(2)全速非侵入式的系統(tǒng)調(diào)試接口(片內(nèi),C2接口);(3)真正 10
2011-07-13 10:45:34
c8051f單片機資料下載
289AN022--C8051F02x系列C程序示例290AN023--使用DAC作為函數(shù)發(fā)生器330AN024--C2接口的引腳共享技術348AN025--在Cygnal IDE中集
2008-07-19 10:36:03
JTAG往c8051f040下程序失敗
我用新買的開關電源給單片機供電時,用JTAG往c8051f040下程序老是失敗,換以前的開關電源則沒事,用數(shù)字示波器檢測紋波也不大,100mv以內(nèi),還有我用測試代碼測試新開關電源供電時的單片機,單片機運行時沒有復位,很奇怪,望高手解答
2019-10-28 07:44:53
[下載]應用c8051f單片機總結出來的經(jīng)驗------大家共同分享一下
應用c8051f單片機總結出來的經(jīng)驗1. c8051f單片機速度快,時鐘頻率可達到25,50甚至100Mhz!內(nèi)部資源豐富!推薦用c8051f330d 芯片,價格便宜
2009-02-11 15:42:40
[原創(chuàng)c8051f單片機應用解析之c8051f330
用仿真器(EC3)就可以進行軟件下載調(diào)試,節(jié)約開發(fā)費用。(3)編寫了完善的軟件例程,基本覆蓋了C8051F330單片機的所有功能。 4》學習板軟件例程(1)Delay: 軟件延時程序
2010-02-01 16:29:02
[原創(chuàng)]c8051f網(wǎng)絡最新推出C8051f700開發(fā)板/實驗板/學習板/開發(fā)工具
,指令集與MCS51兼容,是學習C8051F系列單片機入門級MCU。我們針對C8051F700單片機片上的全部資源,編寫了所有功能的測試程序,對該單片機的性能做了全面的測試評估,使用方便。2.
2009-08-18 13:22:06
[推薦]C8051f單片機芯片服務
程序存儲器和256字節(jié)的內(nèi)部RAM,有些器件內(nèi)部還有位于外部數(shù)據(jù)存儲器空間的RAM,即XRAM。C8051F單片機的主要特點C8051F單片機中有豐富的模擬和數(shù)字資源,并采用了一些在單片機中前所未有
2009-02-24 13:11:08
[討論]c8051f系列單片機最新報價
、復雜的輸入輸出系統(tǒng)集成在一塊芯片上。b) c8051f330 9元/片 c8051f330st 125元/套 原裝EC3
2010-02-01 16:27:22
[轉帖]應用c8051f單片機總結出來的經(jīng)驗------大家共同分享一下
應用c8051f單片機總結出來的經(jīng)驗1. c8051f單片機速度快,時鐘頻率可達到25,50甚至100Mhz!內(nèi)部資源豐富!推薦用c8051f330d 芯片,價格便宜
2009-02-13 09:02:05
siliconc8051f Silicon C8051F編程器使用出錯怎么解決
siliconc8051f Silicon C8051F編程器使用出錯解決辦法1.根據(jù)下圖先選擇接口類型,通過u***連接電腦就選USB系列,同理選RS232系列。2.載入要燒錄的hex文件3.
2021-12-08 08:30:14
使用C8051F330制成的調(diào)幅電臺實現(xiàn)收音機設計
資料下載地址-1075(百度網(wǎng)盤):點擊下載使用C8051F330制成的調(diào)幅電臺,實現(xiàn)收音機設計用單片機PWM輸出的522K~2M的方波做載波,將方波用二級RC將方波一邊的高頻部分濾掉,再用單管共射
2021-12-06 07:04:11
入門新手 懇請大神C8051F330問題
我是入門新手,懇請大神們能否編一個關于火災報警器的程序,還有需要用到什么元器件,用C8051F330單片機懇請各位大神跪謝{:4_107:}
2014-04-18 10:28:00
全國大學生電子設計競賽大家準備好了嗎?
網(wǎng)絡為了更好的服務于參賽選手,特別推出器件促銷活動如下:1,活動期間凡購買C8051f單片機仿真器或c8051f330學習板:送: USB延長線(1條) 贈品詳見:http
2009-07-21 14:05:52
關于C8051F系列單片機程序的燒錄問題
如題,現(xiàn)有一塊工業(yè)控制電路板,用的芯片是C8051F310,C2接口已經(jīng)引了出來,就是那種10針的間距2.54mm的JTAG口(跟ISP下載線的那種接口一樣),問題是,c8051f系列的單片機能否用
2013-11-12 18:53:22
單片機C8051F353資料推薦
單片機C8051F353資料下載內(nèi)容包括:C8051F353功能和特性C8051F353特點C8051F353引腳功能C8051F353內(nèi)部方框圖
2021-03-25 07:58:38
基于c8051f330的74hc595程序
[] = {0x01,0x03,0x07,0x0f,0x1f,0x3f,0x7f};void HC595SendData(unsigned char SendVal);//發(fā)送數(shù)據(jù)void
2013-01-22 14:11:33
基于CIP-51單片機的溫度采集系統(tǒng)
對溫度信息進行采集,并對結果進行相應的記錄以進一步控制操作(1)。本文中使用CIP-51單片機C8051F330設計了一種利用單總線進行通信的多點分布式溫度測量系統(tǒng)。
2011-03-03 17:54:10
如何去實現(xiàn)一種基于C8051F360的LED顯示程序&獨立按鍵設計
基于C8051F360的 LED顯示程序&獨立按鍵設計一、實驗目的:1、熟悉C8051F360單片機的功能;2、了解74HC595的功能;3、了解獨立按鍵工作原理,軟件消鍵抖;4、熟悉C
2022-01-24 06:57:58
如何設計C8051F330便攜式生理參數(shù)監(jiān)測儀?
隨著人們生活水平的提高,越來越多的人希望通過簡便的方式了解身體基本狀況。因此人體生理監(jiān)護儀開始出現(xiàn)并呈不斷增多的趨勢,已經(jīng)由過去的單一測試儀發(fā)展為現(xiàn)在的多參數(shù)監(jiān)護儀。為什么要設計C8051F330
2019-08-08 06:33:24
微處理器C8051F000資料推薦
微處理器C8051F000資料下載內(nèi)容包括:C8051F000功能C8051F000主要特點C8051F000引腳功能C8051F000內(nèi)部方框圖C8051F000電氣參數(shù)
2021-03-23 07:42:13
無感無刷電機控制無法加載
最近在用ATMEGA8和C8051F330做無刷直流電機無感控制,采用PWM中點采樣和比較器中斷換相電機都可以轉,但問題就是電機無法加載,就是用手捏時電機不正常換相甚至捏停。采用了換相后再經(jīng)過一段時間再檢測過零點,檢測到過零點后再換相,但問題依然無法解決,求指導。謝謝!
2019-06-28 04:35:55
求一種基于C8051F023的軟件注入實現(xiàn)方案
采用軟件注入技術的優(yōu)勢和可行性,針對采用C8051F023的嵌入式系統(tǒng),討論了基于C8051F023的軟件注入實現(xiàn)方案和相關的一些問題,并編寫了V2程序以完善C8051F023集成開發(fā)環(huán)境在實現(xiàn)軟件注入方面的功能。
2021-04-22 06:11:54
求助c8051f330ad數(shù)碼顯示的問題
c8051f330的開發(fā)板上做了個ad轉換的實驗,配置ADP1.4為模擬輸入,同時P1.4也接到了數(shù)碼管。顯示的時候該段確不亮,說明P1.4的輸入和輸出相互受到了影響,希望知道的朋友能給我個解決方法,在此表示萬分感謝?。?/div>
2011-06-16 10:06:02
請問AD7674與C8051F060的接口是如何設計的?
AD7674和C8051060分別是什么?AD7674與C8051F060的接口是如何設計的?怎樣去設計AD7674與C8051F060的軟件?
2021-04-20 06:27:31
請問單片機中的ADC問題
比如我學習的C8051F330的單片機中,有一個ADC模塊。然后又很多IO口可以設置為模擬輸入,那么明明只有一個ADC模塊。為什么可以有多個IO設置為模擬輸入。ADC0H:ADC0L中的值如何辨別是那個IO口的輸出呢?謝謝
2017-02-17 21:30:16
c8051f330/c8051f331中文資料
C8051F330/1 器件是完全集成的混合信號片上系統(tǒng)型MCU 下面列出了一些主要特性有關某一產(chǎn)品的具體特性參見表1.1 高速流水線結構的8051 兼容的CIP-51 內(nèi)核可達25MIPS
2008-07-19 21:57:34261
c8051f330/c8051f331 pdf datash
C8051F330/1/2/3/4/5 devices are fully integrated mixed-signal System-on-a-Chip MCUs. Highlighted
2008-07-19 22:07:4339
c8051f330 C程序源代碼
//------------------------------------------------------------------------------------//此程序為ADC轉換程序
2008-07-19 22:26:31139
C8051F33x中文資料pdf
C8051F330/1混合信號ISP FLASH微控制器數(shù) 據(jù) 手 冊
C8051F330/1器件是完全集成的混合信號片上系統(tǒng)型MCU。下面列出了一些主要特性,有關某一產(chǎn)品的具體特性參見表1.1。
2008-07-20 20:48:0093
基于C8051F330單片機的多路溫濕度測控系統(tǒng)
介紹了一種高速、高性能的單片機C8051F330,該單片機內(nèi)部集成了眾多的功能部件,是真正的混合信號在片系統(tǒng)。本文對單片機的功能和特點做了詳細的介紹,并以一個實際的多路
2009-08-05 10:46:4270
89 單片機到底是啥?C8051F和S M32哪單片機到底是啥?C8051F和S M32哪個更香? 抖音小助手
單片機C8051C8051F020C8051FCORTEX-A9
車同軌,書同文,行同倫發(fā)布于 2022-08-04 15:16:01
基于C8051F330單片機的雙模高度表測高分析
本文介紹了一種高速、高性能的混合信號在片系統(tǒng): C8051F330 它在雙模式高度表測高系統(tǒng)中的應用,從測量方法和測試精度上分析較其他單片機更為精確。
2009-09-01 15:01:2325
C8051F330低成本智能單相交流電壓表方案(取代傳統(tǒng)動圈
C8051F330低成本智能單相交流電壓表方案(取代傳統(tǒng)動圈表)
該方案采用的單片機集成度高,資源豐富。與其它類型的單片機相比,所需要外加的
2010-04-19 14:27:5791
混合信號微型控制器C8051F330D中文數(shù)據(jù)手冊
1 . 系統(tǒng)概述C8051F330/1器件是完全集成的混合信號片上系統(tǒng)型MCU。下面列出了一些主要特性,有關某一產(chǎn)品的具體特性參見表1.1。 高速、流水線結構的8051兼容的CIP-51內(nèi)核
2010-07-16 17:47:2462
兼有AD采集_DA輸出_數(shù)碼管顯示的C8051F330程序的RTX51版
兼有AD采集_DA輸出_數(shù)碼管顯示的C8051F330程序的RTX51版
公司項目程序
內(nèi)含C8051F330的幾乎所有程序,包括定時器、ad、da、24c02、數(shù)碼管、最重要的是包含可用的RTX51tiny系統(tǒng),完全可用,可以作為C51或者51芯片的開發(fā),改改即能用
2016-02-23 18:22:500
采用C8051F330的電池電量監(jiān)測儀
設計了一種基于C8051F330的蓄電池電量在線監(jiān)測儀。該監(jiān)測儀硬件主要由CPU主模塊、模擬量采集模塊、LED顯示模塊和蜂鳴器告警模塊等組成。
2017-09-21 17:03:317
采用C8051F330單片機和J2ME模塊設計脈搏波測量系統(tǒng)
系統(tǒng)由指端采集器和具有藍牙傳輸數(shù)據(jù)功能的手機構成。指端采集器由Silcon Labs公司的C8051F330作為主控芯片,采集端使用940 nm紅外發(fā)射管和光敏電阻,傳輸模塊采用廣州匯承信息科技有限公司生產(chǎn)的HC-05藍牙串口通訊模塊,顯示與存儲設備為含有藍牙模塊的手機。
2018-09-23 09:39:004286
C8051F330系列混合信號系統(tǒng)片上MCU的數(shù)據(jù)手冊免費下載
C8051F330/1/2/3/4/5器件為全集成混合信號系統(tǒng)片上MCU。突出顯示的功能如下所示。具體產(chǎn)品特性選擇見表1.1。
2019-09-02 08:00:003
使用C8051F330單片機應用NRF24L01的使用文檔詳細說明
本文檔的主要內(nèi)容詳細介紹的是使用C8051F330單片機應用NRF24L01的使用文檔詳細說明。
2020-03-13 08:00:004
C8051F330和C8051F331微控制器的數(shù)據(jù)手冊
本文檔的主要內(nèi)容詳細介紹的是C8051F330和C8051F331微控制器的數(shù)據(jù)手冊免費下載。
2021-03-03 17:29:0914
C8051F330ST單片機學習板使用手冊
C8051F330ST是為在校學生和單片機愛好者開發(fā)的一款單片機學習板,也可作為工程人員開發(fā)參考之用。本學習板采用美國Silabs公司的C8051F330作為核心控制器,指令集與MCS51兼容,是學習 C8051F系列單片機入門級MCU。
2021-04-15 09:17:064
基于C8051F330DK微控制器的參考設計
View the reference design for C8051F330DK. http://ttokpm.com/soft/ has thousands of reference designs to help bring your project to life.
2021-07-09 20:13:311
評論
查看更多