代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
led.c
//-----------------------------------------------------------------------------
// 版权归新华龙电子公司所有
//-----------------------------------------------------------------------------
//
// 文件名:LEDTEST.c
led.s
@汇编指令实验
@定义端口E寄存器预定义
rGPBCON EQU 0x56000010
rGPBDAT EQU 0x56000014
rGPBUP EQU 0x56000018
ENTRY(_start)
ENTRY(ResetEntryPoint)
@下面这三条语句,主要是用来设置I/O口GPB为输出属性
ldr r0
led.h
void Init_Port(void);
void SHCLK_Hi(void);
void SHCLK_Lo(void);
void STCLK_Hi(void);
void STCLK_Lo(void);
void DataOut(unsigned char nValue);
void Init_CLK(void);
led.c
#include
#include "led.h"
unsigned char seg[]={
0x3f,0x06,0x5b,0x4f, /* 0 1 2 3*/
0x66,0x6d,0x7d,0x07, /* 4 5 6 7 */
0x7f,0x6f,0x77,0x7c, /* 8 9 A B */
0x39,0x5e,0x79,0x71 /*
led.h
/*************************************************************************************
* Copyright (c) 2005 by National ASIC System Engineering Research Center.
* PROPRIETARY RIGHTS of ASIC are invo
led.c
/*************************************************************************************
* Copyright (c) 2005 by National ASIC System Engineering Research Center.
* PROPRIETARY RIGHTS of ASIC are invo
led.c
/*
*********************************************************************************************************
* Embedded Systems Building Blocks
*
led.h
/*
*********************************************************************************************************
* Embedded Systems Building Blocks
*