summaryrefslogtreecommitdiff
path: root/cts/timer/cts.testlist
blob: 9b5da0d6c97ea1f0dbc27f59991fbac65a77fa6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/*
 * Test timer accuracy
 *
 * After sync, DUT and TH start counting down one second. After one second,
 * DUT raises GPIO level, which triggers an interrupt on TH. TH determines
 * whether the test passes or not based on how much more or less time elapsed
 * than one second.
 *
 * Requirements:
 * - Sync connection
 * - GPIO_OUTPUT connection for sending notification from DUT
 * - Calibrated TH timer
 */
CTS_TEST(timer_calibration_test,,,,)