Continue work on MCF52233 demo.

This commit is contained in:
Richard Barry 2008-11-16 17:10:27 +00:00
parent 31606543da
commit 18f84c805f
32 changed files with 3949 additions and 438 deletions

View file

@ -110,3 +110,20 @@ void vParTestToggleLED( unsigned portBASE_TYPE uxLED )
}
/*-----------------------------------------------------------*/
unsigned portBASE_TYPE uxParTestGetLED( unsigned portBASE_TYPE uxLED )
{
unsigned portBASE_TYPE uxReturn = pdFALSE;
if( uxLED < partstNUM_LEDs )
{
if( ( MCF_GPIO_PORTTC & ( 1 << uxLED ) ) != 0 )
{
uxReturn = pdTRUE;
}
}
return uxReturn;
}