mbed_controller / Mbed 2 deprecated mbed_controller_demo

Dependencies:   CMDB EthernetInterface HTTPD dconfig mbed-rpc mbed-rtos mbed storage_on_flash

Embed: (wiki syntax)

« Back to documentation index

main.h File Reference

main.h File Reference

message and interface for main task. More...

Go to the source code of this file.

Enumerations

enum  MainMessageId { , MSG_IFDOWN, MSG_IFSTAT }
 

Command Message ID of main task.

More...

Functions

bool send_main_message (MainMessageId msg_id, uint32_t msg_p1, uint32_t msg_p2)
 Send message to main task.

Variables

MainConfig _config
 Global configuration instance.

Detailed Description

message and interface for main task.

Definition in file main.h.


Enumeration Type Documentation

Command Message ID of main task.

Enumerator:
MSG_IFDOWN 

Start Ethernet.

MSG_IFSTAT 

Stop Ethernet.

Definition at line 15 of file main.h.


Function Documentation

bool send_main_message ( MainMessageId  msg_id,
uint32_t  msg_p1,
uint32_t  msg_p2 
)

Send message to main task.

Definition at line 66 of file main.cpp.


Variable Documentation

MainConfig _config

Global configuration instance.

Definition at line 31 of file main.cpp.