/* Check to see how many transactions are in the queue.  */
uint32_t am_hal_iom_queue_length_get(uint32_t ui32Module)
/* Check to see how many transactions are in the queue.  */
uint32_t am_hal_iom_queue_length_get(uint32_t ui32Module)
{
    if ( ui32Module >= AM_REG_IOMSTR_NUM_MODULES )
    {
        return 0;
    }
    return am_hal_queue_data_left(&g_psIOMQueue[ui32Module]);
}