Hello @emerging,
You can see the RRCR1[RR_CH1EN] = 1 and the CCR0[CMP_EN] = 1
after invoking the Icu_EnableEdgeDetection(IcuChannel_LPCMP1) function to enable Round-Robin Trigger mode in LPCMP. In this mode, a trigger event initiates a comparison sequence; and RTC is configured in this example to trigger CMP performing a DAC compare. If the DAC value is greater than the DAC_DATA value then status flags will be set.
Besides, this function also sets the IER[RRF_IE] bit, following the S32K3XX Reference manual: "If IER[RRF_IE] sets, an asynchronous interrupt asserts". when CSR[RRF] is set after detecting when any channel's last comparison result is different from the pre-set value in Trigger mode, it will route to WKPU.
Calling Icu_EnableEdgeDetection(IcuChannel_LPCMP_Wkup); function to configure WKUP registers can receive wakeup trigger from LPCMP (when RRF was set).

Cmp_Ip_GetStatus() is not necessary use in this example because the comparator status flags will route to WKUP.
Best regards,
Dan