/* Sets the IOS FIFO pointer to the specified LRAM offset.  */
void am_hal_ios_fifo_ptr_set(uint32_t ui32Offset)
/* Sets the IOS FIFO pointer to the specified LRAM offset.  */
void am_hal_ios_fifo_ptr_set(uint32_t ui32Offset)
{
    uint32_t ui32Primask;
    ui32Primask = am_hal_interrupt_master_disable();
    AM_REG(IOSLAVE, FUPD) = 0x1;
    AM_REG(IOSLAVE, FIFOPTR) = ui32Offset;
    AM_REG(IOSLAVE, FUPD) = 0x0;
    g_pui8FIFOPtr = (uint8_t *) (REG_IOSLAVE_BASEADDR + ui32Offset);
    am_hal_interrupt_master_set(ui32Primask);
}