代码搜索结果
找到约 10,000 项符合
Control System 的代码
system.h
//system.h
// Initialize processor speed
void FrecInit(void);
// Get cclk
unsigned int GetCclk(void);
system.c
#include
#include "system.h"
// 根据电路板上晶振设置振荡器频率
#define OSCILLATOR_CLOCK_FREQUENCY 12000000 //in MHz
unsigned int GetCclk(void) { // 获得实际处理器时钟频率
return OSCILLATOR_CLOCK_
system.h
//system.h
// Initialize processor speed
void FrecInit(void);
// Get cclk
unsigned int GetCclk(void);
system.c
//system.c
#include
#include "system.h"
#define VIC_TIMER0_bit (1
system.h
//system.h
// Initialize processor speed
void FrecInit(void);
// Get cclk
unsigned int GetCclk(void);
system.c
//system.c
#include
#include "system.h"
#define VIC_TIMER0_bit (1
system.h
//System.h
//bits
#define BIT0 0x00000001
#define BIT1 0x00000002
#define BIT2 0x00000004
#define BIT3 0x00000008
#define BIT4 0x00000010
#define
system.c
#include "system.h"
#include "AT91SAM7S64.h"
extern void Delay_s (unsigned long a);
AT91PS_PMC pPMC = AT91C_BASE_PMC;
// 定义主要指针
AT91PS_PIO p_pPio = AT91C_BASE_PIOA;
AT91PS_PMC p_
system.h
//System.h
//bits
#define BIT0 0x00000001
#define BIT1 0x00000002
#define BIT2 0x00000004
#define BIT3 0x00000008
#define BIT4 0x00000010
#define
system.c
#include "system.h"
#include "AT91SAM7S64.h"
extern void Delay_s (unsigned long a);
AT91PS_PMC pPMC = AT91C_BASE_PMC;
AT91PS_PIO p_pPio = AT91C_BASE_PIOA;
AT91PS_PMC p_pPMC = AT91