source: rtems/cpukit/sapi/src/delaynano.c @ 3db9c820

Last change on this file since 3db9c820 was 3db9c820, checked in by Sebastian Huber <sebastian.huber@…>, on 11/28/20 at 10:16:28

sapi: Canonicalize @defgroup and @file comments

Adjust group identifier and names to be in line with a common pattern.
Use common phrases for the group and file brief descriptions.

Update #3706.

  • Property mode set to 100644
File size: 757 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup RTEMSAPICounter
5 *
6 * @brief This source file contains the implementation of
7 *   rtems_counter_delay_nanoseconds().
8 */
9
10/*
11 * Copyright (c) 2014 embedded brains GmbH.  All rights reserved.
12 *
13 *  embedded brains GmbH
14 *  Dornierstr. 4
15 *  82178 Puchheim
16 *  Germany
17 *  <rtems@embedded-brains.de>
18 *
19 * The license and distribution terms for this file may be
20 * found in the file LICENSE in this distribution or at
21 * http://www.rtems.org/license/LICENSE.
22 */
23
24#ifdef HAVE_CONFIG_H
25#include "config.h"
26#endif
27
28#include <rtems/counter.h>
29
30void rtems_counter_delay_nanoseconds( uint32_t nanoseconds )
31{
32  rtems_counter_ticks ticks =
33    rtems_counter_nanoseconds_to_ticks( nanoseconds );
34
35  rtems_counter_delay_ticks( ticks );
36}
Note: See TracBrowser for help on using the repository browser.