hello iam using MCXA153 in this there is no mrt what is the repalcement of mrt ?this is my code and i want to build this in MXCA153 what is the replacemnet of MRT?
void Timing_StartCardClk(uint32_t cardClk) {
startTimer(CARD_CLK_DIV * cardClk);
}
static inline void startTimer(uint32_t value) {
MRT_StartTimer(MRT0, 0, MRT_CHANNEL_INTVAL_LOAD_MASK | value);
triggered = false;
}
void Timing_Init() {
// Setup MRT in One-Shot mode
RESET_PeripheralReset(kMRT_RST_SHIFT_RSTn);
const mrt_config_t conf = {false};
MRT_Init(MRT0, &conf);
MRT_SetupChannelMode(MRT0, 0, kMRT_OneShotMode);
MRT_EnableInterrupts(MRT0, 0, kMRT_TimerInterruptEnable);
NVIC_EnableIRQ(MRT0_IRQn);
}