代码搜索结果
找到约 10,000 项符合
0 的代码
timer0.c
#include "timer0.h"
static void delay(int x)
{
int i;
while (x--)
{
for (i = 65536 ; i > 0; i--);
}
}
void timer0_init(void)
{
// unmask the timer0 interrupt ...........
timer0.h
#ifndef TIMER0_H
#define TIMER0_H
#ifdef __cplusplus
extern "C" {
#endif
#include "define.h"
#include "led.h"
#include "uart.h"
#include "mystdio.h"
extern void timer0_init(void);
extern
int0.h
#ifndef INT0_H
#define INT0_H
#ifdef __cplusplus
extern "C" {
#endif
#include "define.h"
#include "led.h"
#include "uart.h"
#include "mystdio.h"
extern void int0_init(void);
extern void
int0.c
#include "int0.h"
static void delay(int x)
{
int i;
while (x--)
{
for (i = 65536 ; i > 0; i--);
}
}
void int0_init(void)
{
// set gpio's direction: set IOPMOD register mode b
project.ab0
module project
LED_1 PIN 78; "GP I/O
LED_2 PIN 80; "GP I/O
tdo PIN 6; "TDO
tdi PIN 7; "TDI
tck PIN 16; "TCK
tms PIN 20; "TMS
ale PIN 4; "ALE output
a11 PIN 57; "Address line
a10 PIN 55; "Add
queue_error_0
while GetSendBuffer
project.ab0
module project
pa7 PIN 21; "Reserved for Peripheral I/O mode
pa6 PIN 22; "Reserved for Peripheral I/O mode
pa5 PIN 24; "Reserved for Peripheral I/O mode
pa4 PIN 26; "Reserved for Peripheral I/
cont0.htm
A:link {
TEXT-DECORATION: underline
}
.105V {
FONT-FAMILY: 宋体; FONT-SIZE: 10.5pt
}
td {
FONT-FAMILY: 宋体;