代码搜索:PWM驱动
找到约 10,000 项符合「PWM驱动」的源代码
代码结果 10,000
www.eeworm.com/read/192509/5155434
dep pwm_mcb2300.dep
Dependencies for Project 'pwm', Target 'MCB2300': (DO NOT MODIFY !)
F (..\Common\src\irq.c)(0x4547F7FC)(-c --device DARMP -g -O0 --apcs=interwork -I..\Common\inc -I "C:\Keil\ARM\INC\Philips" -D__DEBU
www.eeworm.com/read/180739/5280996
c lpc_lib_pwm.c
#include "lpc_lib_pwm.h"
void pwm_init (INT8U edge,pwm_sel channel,INT8U onoff) //initialize the pwm channels
{
INT32U p0_pwm_en,p0_pwm_mask; //edge: 0:single edge 1:double e
www.eeworm.com/read/180739/5280997
h lpc_lib_pwm.h
// (--------------------- compiler condition --------------------------
#ifndef lpc_lib_pwm_h
#define lpc_lib_pwm_h
#include "..\..\com\type_redefine.h"
#include "..\..\com\lpc22x
www.eeworm.com/read/180739/5281031
c lpc_lib_pwm.c
#include "lpc_lib_pwm.h"
void pwm_init (INT8U edge,pwm_sel channel,INT8U onoff) //initialize the pwm channels
{
INT32U p0_pwm_en,p0_pwm_mask; //edge: 0:single edge 1:double e
www.eeworm.com/read/180739/5281032
h lpc_lib_pwm.h
// (--------------------- compiler condition --------------------------
#ifndef lpc_lib_pwm_h
#define lpc_lib_pwm_h
#include "..\..\com\type_redefine.h"
#include "..\..\com\lpc22x
www.eeworm.com/read/169604/5418948
o oc2pwm.o
XL
H 1 areas 2 global symbols
M OC2PWM.C
A text size 18 flags 0
dbfile E:\ProductPro\M16SD\ICCAVR\PWM\OC2PWM\OC2PWM.C
dbfunc e timer2_init 0 fV
dbline FFFFFFFF 0
dbline 5 0
dbline 6 0
dbline
www.eeworm.com/read/169604/5418949
_c oc2pwm._c
#include
#include
void timer2_init(void)
{
TCCR2 = (1
www.eeworm.com/read/169604/5418950
hex oc2pwm.hex
:040000000C942A0032
:14005400CFE5D4E0CDBFDEBFC051D0400AEA08830024E0E67D
:14006800F0E010E0E036F10711F00192FBCF0083E4E5F0E03C
:14007C00A0E6B0E010E0E435F10721F0C89531960D92F9CFBD
:140090000E945200FFC
www.eeworm.com/read/169604/5418951
mak oc2pwm.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -DATMEGA -l -g -Mavr_enhanced
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bdata:0x60.0x4
www.eeworm.com/read/169604/5418953
lst oc2pwm.lst
__start:
__text_start:
002A E5CF LDI R28,0x5F
002B E0D4 LDI R29,4
002C BFCD OUT 0x3D,R28
002D BFDE OUT 0x3E,R29
002E 51C0 SUBI R28,0x10
002F 40D