ODeV framework
v2
|
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"
Go to the source code of this file.
Data Structures | |
struct | _HelloWorldTask |
Typedefs | |
typedef struct _HelloWorldTask | HelloWorldTask |
Functions | |
AManagedTask * | HelloWorldTaskAlloc () |
IDriver * | HelloWorldTaskGetDriver (HelloWorldTask *this) |
Blink the user LED of the NUCLEO board.
This managed task is responsible to blink the user LED with a fixed period of 1 second and a duty cycle of 50%.
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 struct _HelloWorldTask HelloWorldTask |
Create type name for _HelloWorldTask.
AManagedTask* HelloWorldTaskAlloc | ( | ) |
Allocate an instance of HelloWorldTask.
|
inline |
Get a pointer to the driver used by the task.
this | [IN] specifies a pointer to a task object. |