Software APIs
usbdev_suspend_full_test.c
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
6 #include "sw/device/tests/usbdev_suspend.h"
7 
8 OTTF_DEFINE_TEST_CONFIG();
9 
10 bool test_main(void) {
11  // Execute the entire test sequence; all test phases.
12  // Note: This is impractical in simulation, and should be used only on FPGA
13  // with a physical host.
14  return usbdev_suspend_test(kSuspendPhaseSuspend, kSuspendPhaseShutdown, 1u,
15  false);
16 }