/* Disables the TPIU. 
This function disables the ARM TPIU by disabling the TPIU clock source in MCU control register. */
void am_hal_tpiu_disable(void)
/* Disables the TPIU. 
This function disables the ARM TPIU by disabling the TPIU clock source in MCU control register. */
void am_hal_tpiu_disable(void)
{
    AM_REG(MCUCTRL, TPIUCTRL) = AM_REG_MCUCTRL_TPIUCTRL_CLKSEL_0MHz |
                                AM_REG_MCUCTRL_TPIUCTRL_ENABLE_DIS;
}