blob: b97e669858b4e66261b8faebe242b8eedc6d2868 (
plain)
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
38
39
40
41
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
Initializes the ISR lock.
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
default:
attributes: null
body: |
${/score/isr/if/lock-initialize:/name}( ${.:/params[0]/name}, ${.:/params[1]/name} )
params:
- ${lock:/name} *${.:/params[0]/name}
- const char *${.:/params[1]/name}
return: void
variants: []
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: group
name: rtems_interrupt_lock_initialize
notes: |
ISR locks may also be statically defined by ${lock-define:/name} or
statically initialized by ${lock-initializer:/name}.
params:
- description: |
is the ISR lock to initialize.
dir: out
name: _lock
- description: |
is the ISR lock name. It shall be a string. The name is only used where
the system was built with profiling support enabled.
dir: null
name: _name
return: null
type: interface
|