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

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.
;**********************************************************************
;
;
;
;
;
;
;
;
;
;**********************************************************************
;
;
;
;
;
;**********************************************************************
;
;
;
;
;
;
;
;**********************************************************************
; ‘__CONFIG’ directive is used to embed configuration data within .asm file.
; The labels following the directive are located in the respective .inc file.
; See respective data sheet for additional information on configuration word.
;constants
;increase led_xxx_on to increase intensity ( value must be less than period value)
;increase period to reduce PWM frequency and increase PWM resolution
led_hi_on
led_hi_off
by the program (10)
led_medhi_on
led_medhi_off = 0x11
led_med_on
led_med_off
led_low_on
led_low_off
period
max_time
;variables
mode
counter
debounce
flag
10f204/ 10f206 PWM to control LED driver
list p=10f206
#include <p10f206.inc>
__CONFIG _CP_OFF & _WDT_OFF & _MCLRE_OFF & _IntRC_OSC
Filename:
Date:
File Version:
Author:
Company: MCHP
Files required:
Notes: Changed file name, added led_medhi routine,
adjusted intensity of various modes.
00016R1.ASM
M Waldron
= 0x16
= 0x11
= 0x08
= 0x06
= 0x11
= 0x05
= 0x12
= 0x0E
= 0xff
= 0x13
= 0x14
= 0x15
= 0x16
00016R1.asm
31aug04
pp1
;on loops for high brightness mode
;off loops for high brightness mode, value will be calculated
;on loops for medium_high brightness mode
;off loops for high brightness mode (11)
;on loops for medium brightness mode
;off loops for high brightness mode (11)
;on loops for low brightness mode
;off loops for high brightness mode (12)
;total loops per PWM period
;on time before unit swithces back to sleep
;current mode ( high, med, lo )
;hi and low time counter
;debounce counter
;debounce control flags
; list directive to define processor
; processor specific variable definitions
00016R1.asm Source Code
PB 3/29/05
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
DS51551A-page 20

Related parts for MCP1252DM-BKLT