FreeRTOS/Demo/CORTEX_LM3S6965_GCC_QEMU/LocalDemoFiles/osram128x64x4.c
//*****************************************************************************
//
//! \internal
//!
//! Write a sequence of data bytes to the SSD0323 controller.
//!
//! The data is written in a polled fashion; this function will not return
//! until the entire byte sequence has been written to the controller.
//!
//! \return None.
//
//*****************************************************************************
\internal
Write a sequence of data bytes to the SSD0323 controller.

The data is written in a polled fashion; this function will not return
until the entire byte sequence has been written to the controller.

\return None.
\ internal Write a sequence of data bytes to the SSD0323 controller . The data is written in a polled fashion ; this function will not return until the entire byte sequence has been written to the controller . \ return None .
static void
OSRAMWriteData(const unsigned char *pucBuffer, unsigned long ulCount)
{
    unsigned long ulTemp;
     Return iff SSI port is not enabled for OSRAM.
    if(!g_bSSIEnabled)
    {
        return;
    }
     Set the command/control bit to enable data mode.
    GPIOPinWrite(GPIO_PORTC_BASE, GPIO_PIN_7, GPIO_PIN_7);
     Loop while there are more bytes left to be transferred.
    while(ulCount != 0)
    {
         Write the next byte to the controller.
        SSIDataPut(SSI0_BASE, *pucBuffer++);
         Dummy read to drain the fifo and time the GPIO signal.
        SSIDataGet(SSI0_BASE, &ulTemp);
         Decrement the BYTE counter.
        ulCount--;
    }
}
static void OSRAMWriteData ( const unsigned char * pucBuffer , unsigned long ulCount ) { unsigned long ulTemp ; if ( ! g_bSSIEnabled ) { return ; } GPIOPinWrite ( GPIO_PORTC_BASE , GPIO_PIN_7 , GPIO_PIN_7 ) ; while ( ulCount != 0 ) { SSIDataPut ( SSI0_BASE , * pucBuffer ++ ) ; SSIDataGet ( SSI0_BASE , & ulTemp ) ; ulCount -- ; } }
\internal
Write a sequence of data bytes to the SSD0323 controller.
\ internal Write a sequence of data bytes to the SSD0323 controller .
// // Return iff SSI port is not enabled for OSRAM. // // // Set the command/control bit to enable data mode. // // // Loop while there are more bytes left to be transferred. // // // Write the next byte to the controller. // // // Dummy read to drain the fifo and time the GPIO signal. // // // Decrement the BYTE counter. //