代码搜索:KeyDebounce
找到约 15 项符合「KeyDebounce」的源代码
代码结果 15
www.eeworm.com/read/340529/12148994
c simple_sequencer.c
/*******************************************************************************
File: Simple_Sequencer.c
Description:
This file implements the key debouncer example
Creation
Date: November 3
www.eeworm.com/read/447915/7543966
h key.h
#ifndef __KEY_H
#define __KEY_H
unsigned char KeyProcess(void);
void InitKeyPort(void);
void KeyDebounce(unsigned int);
#define KEY_DEBOUNCE_TIME 500
#define KEY_INIT_LED1 0xE2
#define KEY
www.eeworm.com/read/343651/11935621
h key.h
#ifndef __KEY_H
#define __KEY_H
unsigned char KeyProcess(void);
void InitKeyPort(void);
void KeyDebounce(unsigned int);
#define KEY_DEBOUNCE_TIME 500
#define KEY_INIT_LED1 0xE2
#define KEY
www.eeworm.com/read/205728/15308667
h key.h
#include
#define KEY_OUTPUT PORTC
#define OUTPUT_MASK 0x0f
#define KEY_INPUT PIND
#define INPUT_MASK 0xf0
bit KeyDebounce;
bit KeyRelease;
//bit
www.eeworm.com/read/309434/13671451
hier_info dptrafficlight.hier_info
|DPTrafficLight
SensorLED KeyDebounce:inst13.KeyIn
Clock => int_div:inst.clock
Clock => int_div:inst1.clock
Clock => int_div:inst14.clock
ResetLED