URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [uart.c] - Diff between revs 416 and 422
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 416 |
Rev 422 |
Line 484... |
Line 484... |
|
|
void Led(int mask, int value)
|
void Led(int mask, int value)
|
{
|
{
|
mask &= 0xff;
|
mask &= 0xff;
|
MemoryWrite(GPIO0_CLEAR, mask); //clear
|
MemoryWrite(GPIO0_CLEAR, mask); //clear
|
MemoryWrite(GPIO0_OUT, value & mask); //set LEDs
|
MemoryWrite(GPIO0_SET, value & mask); //set LEDs
|
}
|
}
|
|
|
|
|
/******************************************/
|
/******************************************/
|
int OS_puts(const char *string)
|
int OS_puts(const char *string)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.