summaryrefslogblamecommitdiffstats
path: root/spec/rtems/timer/if/get-information.yml
blob: b4a414eaa0a21deda84e573b33c9c3609cfe2ea3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     

                                   




                                                                          
                    

              
                                                    
                                                
                                         
              

                                                     
                
                 




                           
            
                                 

                                                                 
       
                                       

           



                                                                              


                










                                                                    
               
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Gets information about the timer.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
- Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
definition:
  default:
    attributes: null
    body: null
    params:
    - ${../../type/if/id:/name} ${.:/params[0]/name}
    - ${information:/name} *${.:/params[1]/name}
    return: ${../../status/if/code:/name}
  variants: []
description: |
  This directive returns information about the timer.
enabled-by: true
index-entries: []
interface-type: function
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: rtems_timer_get_information
notes: |
  This directive will not cause the running task to be preempted.
params:
- description: is the timer identifier.
  dir: null
  name: id
- description: |
    is the pointer to a timer information variable.  The information about the
    timer will be stored in this variable, in case of a successful operation.
  dir: out
  name: the_info
return:
  return: null
  return-values:
  - description: |
      The requested operation was successful.
    value: ${../../status/if/successful:/name}
  - description: |
      The ${.:/params[1]/name} parameter was ${/c/if/null:/name}.
    value: ${../../status/if/invalid-address:/name}
  - description: |
      There was no timer associated with the identifier specified by
      ${.:/params[0]/name}.
    value: ${../../status/if/invalid-id:/name}
type: interface