MCP1252DM-BKLT Microchip Technology, MCP1252DM-BKLT Datasheet - Page 27

BOARD DEMO FOR MCP1252

MCP1252DM-BKLT

Manufacturer Part Number
MCP1252DM-BKLT
Description
BOARD DEMO FOR MCP1252
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP1252DM-BKLT

Current - Output / Channel
120mA
Outputs And Type
1, Non-Isolated
Features
Short-Circuit and Thermal Protection, Shutdown
Voltage - Input
2 ~ 5.5V
Utilized Ic / Part
MCP1252
Processor To Be Evaluated
MCP1252
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Voltage - Output
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
TABLE C-1:
© 2005 Microchip Technology Inc.
led_full
led_high
led_medhi bsf GPIO, pwm
bsf GPIO, pwm
bsf GPIO, pwm
00016R1.ASM (CONTINUED)
movlw 0x04
subwf mode, w
btfsc STATUS, Z
goto led_medhi
;
movlw 0x05
subwf mode, w
btfsc STATUS, Z
goto led_high
;
movlw 0x06
subwf mode, w
btfsc STATUS, Z
goto led_full
;
movlw 0x01
movwf mode
goto mode_select
;full on
movlw 0x0F
call delay
call bounce
btfss flag, new_mode
goto led_full
goto mode_select
;high brightness routine
movlw led_hi_on
call delay
bcf GPIO, pwm
movf led_hi_off, w
call delay
call bounce
btfss flag, new_mode
goto led_high
goto mode_select
;medium-high brightness routine
movlw led_medhi_on
call delay
bcf GPIO, pwm
movf led_medhi_off, w
call delay
call bounce
btfss flag, new_mode
goto led_medhi
goto mode_select
;medium brightness routine
;on mode rollover reset to low brightness mode
;used as debounce
;turn on LED(s) for a set time
;turn off LED(s) fo a set time
;turn on LED(s) for a set time
;turn off LED(s) fo a set time
00016R1.asm Source Code
DS51551A-page 23

Related parts for MCP1252DM-BKLT