代码搜索:PWM5
找到约 15 项符合「PWM5」的源代码
代码结果 15
www.eeworm.com/read/207613/15266820
c main.c
//该程序令PWM5输出的矩形波每隔一定时间改变一次占空比
//By CM 2007-4-19
#include /* common defines and macros */
#include /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc
www.eeworm.com/read/360276/10104928
c pwmdac_test.c
#define LPCEB2000_I
/*********************************************************************************************
* File: pwmdac_test.c
* Author: Embest w.h.xie
* Desc: test pwmdac
* History:
www.eeworm.com/read/346140/11765511
vhd pwm5.vhd
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity pwm5 is
port(dout:in std_logic_vector(7 downto 0);
pwm5:out std_logic);
end;
architecture one of pwm5 is
be
www.eeworm.com/read/206959/15284920
c main.c
/****************************************************************************
* 文 件 名:main.c
* 功 能:使用PWM5控制电机转速,共4档。
* 说 明:将跳线JP4,JP9短接。
*****************************************************
www.eeworm.com/read/303081/13821888
c pwm.c
#include
void PWM_Init(void)
{
PINSEL0 |= 0x000A800A; // select PWM1-4 and PWM6
PINSEL1 |= 0x00000400; // select PWM5
PWMPR = 20; //
www.eeworm.com/read/250141/12428179
c pwm.c
#include
void PWM_Init(void)
{
PINSEL0 |= 0x000A800A; // select PWM1-4 and PWM6
PINSEL1 |= 0x00000400; // select PWM5
PWMPR = 20; //
www.eeworm.com/read/164254/5498185
c main.c
/****************************************************************************
* 文 件 名: main.c
* 功 能: 用PWM5控制BUZZER,连续按压KEY1减小响声,连续按压KEY2增加响声。
* 说 明: 将跳线器JP4,JP14全部短接。
***********************
www.eeworm.com/read/192771/8273014
c pwm.c
#include "PWM.h"
#include "io.h"
#include "DSP240x_Device.h"
void init_ev(void)
{
int TEMPREG;
TEMPREG = MCRA;
TEMPREG |=(PWM1 | PWM2 | PWM3 | PWM4 |PWM5 | PWM6);
MCRA
www.eeworm.com/read/359892/10117669
h 2407bit.h
//MCRA
#define QEP1 3
#define QEP2 4
#define PWM1 6
#define PWM2 7
#define PWM3 8
#define PWM4 9
#define PWM5 10
#define PWM6 11
#define T1PWM 12
#
www.eeworm.com/read/467799/7001534
h 2407bit.h
//MCRA
#define QEP1 3
#define QEP2 4
#define PWM1 6
#define PWM2 7
#define PWM3 8
#define PWM4 9
#define PWM5 10
#define PWM6 11
#define T1PWM 12
#