|
PAL
A Platform Abstraction Layer connects the mbed-client with the underlying platform.
|
#include "mbed.h"#include "rtos.h"Functions | |
| DigitalOut | led1 (LED1) |
| InterruptIn | sw2 (SW2) |
| void | sw2_press (void) |
| void | led_thread (void const *argument) |
| void | button_thread (void const *argument) |
| int | UnityMain (int argc, const char *argv[], void(*runAllTests)(void)) |
| void | TEST_pal_socket_GROUP_RUNNER (void) |
| int | main (int argc, const char *argv[]) |
Variables | |
| uint32_t | button_pressed = 0 |
| Thread * | thread2 |
| void button_thread | ( | void const * | argument | ) |
| DigitalOut led1 | ( | LED1 | ) |
| void led_thread | ( | void const * | argument | ) |
| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
| InterruptIn sw2 | ( | SW2 | ) |
| void sw2_press | ( | void | ) |
| void TEST_pal_socket_GROUP_RUNNER | ( | void | ) |
| int UnityMain | ( | int | argc, |
| const char * | argv[], | ||
| void(*)(void) | runAllTests | ||
| ) |
| uint32_t button_pressed = 0 |
| Thread* thread2 |
1.8.11