Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-libxively-6eca970 by
comm_layer.h File Reference
Defines _communication layer_ abstraction interface. More...
Go to the source code of this file.
Data Structures | |
| struct | comm_layer_t |
| _The communication layer interface_ - contains function pointers, that's what we expose to the layers above and below More... | |
Functions | |
| const comm_layer_t * | get_comm_layer (void) |
| Initialise an implementation of the _communication layer_. | |
Detailed Description
Defines _communication layer_ abstraction interface.
Definition in file comm_layer.h.
Function Documentation
| const comm_layer_t* get_comm_layer | ( | ) |
Initialise an implementation of the _communication layer_.
This intialiser assigns function pointers to the actual implementations using static function variable trick, hence the intialisation should not give any overhead.
- Returns:
- Structure with function pointers for platform-specific communication methods (see `mbed_comm.h` and `posix_comm.h` for how it's done).
Definition at line 16 of file mbed_comm_layer.c.
Generated on Wed Jul 13 2022 02:16:22 by
1.7.2
