feat(twai): c5 twaifd low level support and deprecate old types header

This commit is contained in:
wanckl
2024-08-15 19:22:13 +08:00
parent 05db66bf78
commit fe48cbc3c0
19 changed files with 1366 additions and 308 deletions

View File

@@ -172,7 +172,7 @@ static void s_test_sleep_retention(bool allow_pd)
// check if the sleep happened as expected
TEST_ASSERT_EQUAL(0, sleep_ctx.sleep_request_result);
#if SOC_TWAI_SUPPORT_SLEEP_RETENTION
#if SOC_TWAI_SUPPORT_SLEEP_RETENTION && CONFIG_PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP
// check if the power domain also is powered down
TEST_ASSERT_EQUAL(allow_pd ? PMU_SLEEP_PD_TOP : 0, (sleep_ctx.sleep_flags) & PMU_SLEEP_PD_TOP);
#endif