1 /* Utility functions to test that APB access is still safe 2 while the other CPU performs some set of DPORT accesses 3 4 (see ECO 3.10 and the standalone esp32 test_dport.c for more). 5 */ 6 7 /* start_apb_access_loop() starts a task reading from APB in a loop on the non-Unity-test CPU. 8 9 Call this before doing something which involes DPORT reads. 10 11 Does nothing in unicore mode. 12 */ 13 void start_apb_access_loop(void); 14 15 /* verify_apb_access_loop() kills the task started by start_apb_access_loop() 16 and verifies that none of the APB reads were corrupted by unsafe DPORT reads. 17 */ 18 void verify_apb_access_loop(void); 19