ODeV framework  v2
Data Structures | Typedefs | Functions
HelloWorldTask.h File Reference

Blink the user LED of the NUCLEO board. More...

#include "systp.h"
#include "syserror.h"
#include "AManagedTask.h"
#include "AManagedTaskVtbl.h"
#include "IDriver.h"
#include "IDriverVtbl.h"
+ Include dependency graph for HelloWorldTask.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _HelloWorldTask
 

Typedefs

typedef struct _HelloWorldTask HelloWorldTask
 

Functions

AManagedTaskHelloWorldTaskAlloc ()
 
IDriverHelloWorldTaskGetDriver (HelloWorldTask *this)
 

Detailed Description

Blink the user LED of the NUCLEO board.

Author
STMicroelectronics - ST-Korea - MCD Team
Version
1.0.0
Date
Nov 2, 2018

This managed task is responsible to blink the user LED with a fixed period of 1 second and a duty cycle of 50%.

Attention

© COPYRIGHT 2017 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Typedef Documentation

◆ HelloWorldTask

Create type name for _HelloWorldTask.

Function Documentation

◆ HelloWorldTaskAlloc()

AManagedTask* HelloWorldTaskAlloc ( )

Allocate an instance of HelloWorldTask.

Returns
a pointer to the generic obejct AManagedTask if success, or NULL if out of memory error occurs.

◆ HelloWorldTaskGetDriver()

SYS_DEFINE_INLINE IDriver * HelloWorldTaskGetDriver ( HelloWorldTask this)
inline

Get a pointer to the driver used by the task.

Parameters
this[IN] specifies a pointer to a task object.
Returns
a pointer to the driver used by the task.