source: rtems-central/spec/if/rtems/basedefs/align-down.yml @ 724df1c

Last change on this file since 724df1c was 724df1c, checked in by Sebastian Huber <sebastian.huber@…>, on 08/21/20 at 14:04:36

spec: Specify rtems_task_construct()

Previous directive name was rtems_task_create_from_config().

  • Property mode set to 100644
File size: 949 bytes
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2brief: |
3  Returns the specified value aligned down to the specified alignment.
4copyrights:
5- Copyright (C) 2016 embedded brains GmbH (http://www.embedded-brains.de)
6definition:
7  default: |
8    ( ( ${.:/params[0]/name} ) & ~( ( ${.:/params[1]/name} ) - 1 ) )
9  variants: []
10description: null
11enabled-by: true
12interface-type: macro
13links:
14- role: interface-placement
15  uid: header
16- role: interface-ingroup
17  uid: group
18name: RTEMS_ALIGN_DOWN
19notes: null
20params:
21- description: |
22    is the value to align down.
23  dir: null
24  name: _value
25- description: |
26    is the desired alignment in bytes.  The alignment shall be a power of two,
27    otherwise the returned value is undefined.  The alignment parameter is
28    evaluated twice.
29  dir: null
30  name: _alignment
31return:
32  return: |
33    The specified value aligned down to the specified alignment is returned.
34  return-values: []
35type: interface
Note: See TracBrowser for help on using the repository browser.