代码搜索:CCP2
找到约 28 项符合「CCP2」的源代码
代码结果 28
www.eeworm.com/read/344957/11849728
c pwm3.c
#include "p18f452.h"
/* ****************************************************************
** 函 数 名: initial()
** 功能描述: 系统初始化子程序,放在程序首部
************************************************************
www.eeworm.com/read/429053/8821985
txt 调试说明.txt
基于《Stellaris外设驱动库》的例程:定时器32位RTC用法示例(32.768kHz振荡信号从<mark>CCP2</mark>管脚输入,RTC时钟从UART2输出)
本实验程序演示了如何使用定时器配置为32为RTC模式,并使用RTC定时器产生匹配中断。每次进入中断函数中由串口发送显示一次当前时间,初始时间假设为9:58:40。
本实验需要一个32.768kHz的RTC时钟源,本范例把TIMER0A配置成 ...
www.eeworm.com/read/472834/6858726
txt 调试说明.txt
基于《Stellaris外设驱动库》的例程:定时器32位RTC用法示例(32.768kHz振荡信号从<mark>CCP2</mark>管脚输入,RTC时钟从UART2输出)
本实验程序演示了如何使用定时器配置为32为RTC模式,并使用RTC定时器产生匹配中断。每次进入中断函数中由串口发送显示一次当前时间,初始时间假设为9:58:40。
本实验需要一个32.768kHz的RTC时钟源,本范例把TIMER0A配置成 ...
www.eeworm.com/read/101167/15842714
c music_1.c
// Program MUSIC_1.C
//
// Plays a musical sequence on speaker on PORTB3.
//
// Uses CCP2 and Timer 3 in the Trigger Special Event mode to toggle PORTB
// at the frequency of the musical note and
www.eeworm.com/read/101167/15842727
c step_3.c
// Program STEP_3.C
//
// Uses a potentiometer on AN0 (term 2) to control the direction and speed of
// a stepper on the lower four bits of PORTB.
//
// Uses Timer 3 in conjuction with the CCP2 m
www.eeworm.com/read/101167/15842826
c out_cmp2.c
// OUT_CMP2.C
//
// Illustrates Use of both CCP1 and CCP2 for Output Compare.
//
// LED on RC2/CCP1 is continually turned off for four seconds and
// then on for 1.25 secs, etc. while processsor
www.eeworm.com/read/101167/15842851
c out_cmp3.c
// OUT_CMP3.C
//
// Illustrates Use of CCP2 for Output Compare - Trigger Special Event.
//
// Performs an A/D conversion on RA0/AN0 (Term 2) every 4.0 seconds.
//
// Peter H. Anderson, Baltimore
www.eeworm.com/read/435895/7781531
c aabb1019.c
//程序的调试可以用"串口调试助手V2.1"辅助完成2008.2.10.20.24
#include "p18cxxx.h"
#include
#pragma config OSC = XT, OSCS = OFF
#pragma config PWRT = OFF
#pragma config WDTPS =32768
#pragma config CCP2
www.eeworm.com/read/435895/7781532
c 复件 av2_matrix.c
//程序的调试可以用"串口调试助手V2.1"辅助完成2008.2.10.20.24
#include "p18cxxx.h"
#include
#pragma config OSC = XT, OSCS = OFF
#pragma config PWRT = OFF
#pragma config WDTPS =32768
#pragma config CCP2
www.eeworm.com/read/435895/7781573
c av3_matrix.c
//程序的调试可以用"串口调试助手V2.1"辅助完成2008.2.10.20.24
#include "p18cxxx.h"
#include
#pragma config OSC = XT, OSCS = OFF
#pragma config PWRT = OFF
#pragma config WDTPS =32768
#pragma config CCP2