ODeV framework
v2
|
Handle the Push Button of the NUCLEO board. More...
#include "systp.h"
#include "syserror.h"
#include "AManagedTaskEx.h"
#include "AManagedTaskEx_vtbl.h"
#include "IDriver.h"
#include "IDriverVtbl.h"
Go to the source code of this file.
Data Structures | |
struct | _PushButtonTask |
Typedefs | |
typedef struct _PushButtonTask | PushButtonTask |
Functions | |
AManagedTaskEx * | PushButtonTaskAlloc () |
sys_error_code_t | PushButtonTaskSetDriver (PushButtonTask *this, IDriver *pDxriver) |
Handle the Push Button of the NUCLEO board.
This managed task is responsible to handle the user button and to generate the SysEvent in order to trigger the power mode transactions.
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 _PushButtonTask PushButtonTask |
Create type name for _PushButtonTask.
AManagedTaskEx* PushButtonTaskAlloc | ( | ) |
Allocate an instance of PushButtonTask.
|
inline |
Set the driver used by task to use the push button.
this | [IN] specifies a pointer to a task object. |
pDxriver | [IN] specifies a pointer to a driver of type ::NuceloDriver. |