Oops -- I had assert and deassert backwards.

This commit is contained in:
Doug Brown 2011-11-25 23:12:58 -08:00
parent 407f6831a9
commit 34438a898e

View File

@ -96,30 +96,30 @@ uint32_t ExternalMem_ReadData(void)
void ExternalMem_AssertCS(void)
{
PORTB |= SIMM_CS;
PORTB &= ~SIMM_CS;
}
void ExternalMem_DeassertCS(void)
{
PORTB &= ~SIMM_CS;
PORTB |= SIMM_CS;
}
void ExternalMem_AssertWE(void)
{
PORTB |= SIMM_WE;
PORTB &= ~SIMM_WE;
}
void ExternalMem_DeassertWE(void)
{
PORTB &= ~SIMM_WE;
PORTB |= SIMM_WE;
}
void ExternalMem_AssertOE(void)
{
PORTB |= SIMM_OE;
PORTB &= ~SIMM_OE;
}
void ExternalMem_DeassertOE(void)
{
PORTB &= ~SIMM_OE;
PORTB |= SIMM_OE;
}