OpenCores
URL https://opencores.org/ocsvn/mips32r1/mips32r1/trunk

Subversion Repositories mips32r1

[/] [mips32r1/] [trunk/] [Software/] [demos/] [XD5_Threads/] [src/] [drivers/] [led.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ayersg
#ifndef __LED_H__
2
#define __LED_H__
3
 
4
#include <stdint.h>
5
 
6
#define LED_ADDRESS     0xC0000000
7
#define LED_MODE_DATA   0x00000000
8
#define LED_MODE_INTR   0x00004000
9
#define LED_CENTER      0x00000100
10
#define LED_WEST        0x00000200
11
#define LED_SOUTH       0x00000400
12
#define LED_EAST        0x00000800
13
#define LED_NORTH       0x00001000
14
#define LED_ERROR       0x00002000
15
 
16
uint32_t LED_read(void);
17
void     LED_write(uint32_t data);
18
void     LED_setMode(uint32_t mode);
19
 
20
#endif
21
 

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.