summaryrefslogtreecommitdiffstats
path: root/spec/rtems/intr/if/server-request-set-vector.yml
blob: 3d9df29effba4f47fd59259c6e07a841f4bf68ce (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Sets the interrupt vector in the interrupt server request.
copyrights:
- Copyright (C) 2017, 2021 embedded brains GmbH & Co. KG
definition:
  default:
    attributes: null
    body: |
      ${.:/params[0]/name}->entry.vector = vector;
    params:
    - ${server-request:/name} *${.:/params[0]/name}
    - ${vector-number:/name} ${.:/params[1]/name}
    return: void
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-not-pre-qualified
- role: constraint
  uid: /constraint/directive-ctx-isr
- role: constraint
  uid: /constraint/directive-ctx-devinit
- role: constraint
  uid: /constraint/directive-ctx-task
- role: constraint
  uid: /constraint/directive-no-preempt
- role: constraint
  uid: ../constraint/server-request-initialized
- role: constraint
  uid: ../constraint/server-request-not-while-set-vector
- role: constraint
  uid: ../constraint/server-request-not-while-submit
- role: constraint
  uid: ../constraint/server-entry-not-while-pending
name: rtems_interrupt_server_request_set_vector
notes: |
  By default, the interrupt vector of an interrupt server request is set to a
  special value which is outside the range of vectors supported by the
  interrupt controller hardware.

  Calls to ${server-request-submit:/name} will disable the interrupt vector of
  the request.  After processing of the request by the interrupt server the
  interrupt vector will be enabled again.
params:
- description: |
    is the interrupt server request to change.
  dir: inout
  name: request
- description: |
    is the interrupt vector number to be used by the request.
  dir: null
  name: vector
return: null
type: interface