summaryrefslogtreecommitdiffstats
path: root/spec/bsp/sparc/if/grlib-load-16.yml
blob: 2deb5cd3919b554ffbe041092a949845b8bbc94d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Loads the memory-mapped unsigned 16-bit register.
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
definition:
  default:
    attributes: null
    body: |
      return *address;
    params:
    - const volatile ${/c/if/uint16_t:/name} *${.:/params[0]/name}
    return: ${/c/if/uint16_t:/name}
  variants: []
description: null
enabled-by: sparc
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: grlib-io-header
- role: interface-ingroup
  uid: grlib-io-group
- role: proxy-member
  uid: /dev/grlib/if/load-16
name: grlib_load_16
notes: null
params:
- description: |
    is the address of the memory-mapped unsigned 16-bit register to load.
  dir: null
  name: address
return:
  return: |
    Returns the loaded register value.
  return-values: []
type: interface