/* Select the cache configuration type. 
This functions only sets the CACHECFG CONFIG field. */
void am_hal_cachectrl_cache_config(uint32_t ui32CacheConfig)
/* Select the cache configuration type. 
This functions only sets the CACHECFG CONFIG field. */
void am_hal_cachectrl_cache_config(uint32_t ui32CacheConfig)
{
    AM_REG(CACHECTRL, CACHECFG) &= ~AM_REG_CACHECTRL_CACHECFG_CONFIG_M;
    AM_REG(CACHECTRL, CACHECFG) |= ui32CacheConfig &
                                   AM_REG_CACHECTRL_CACHECFG_CONFIG_M;
}