Crate mwatch_sdk

Crate mwatch_sdk 

Source

Modules§

prelude

Structs§

UserSpace
User space api abstraction

Statics§

ENTRY_POINT
First 4 bytes of the binary as a function ptr The pointer the watch calls to start running this application.
INPUT_POINT
Final 4 byte function ptr The pointer the watch calls to handle input
UPDATE_POINT
Second 4 byte function ptr The pointer the watch calls to start running this application.

Functions§

entry_point
The function called by the host to start us up. Does some setup, then jumps to a function called main defined by the actual application using this crate.
input_point
Calls the user update function
update_point
Calls the user update function