blmc_drivers
demo_ethernet.cpp File Reference
#include <atomic>
#include <signal.h>
#include "blmc_drivers/devices/spi_motor_board.hpp"
#include "sine_position_control.hpp"
Include dependency graph for demo_ethernet.cpp:

Functions

std::atomic_bool g_stop_demo (false)
 This boolean is here to kill cleanly the application upon ctrl+c.
 
void my_handler (int)
 This function is the callback upon a ctrl+c call from the terminal. More...
 
int main (int argc, char **argv)
 This is the main demo program. More...
 

Detailed Description

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

This is the main demo program.

Parameters
argc
argv
Returns
int

◆ my_handler()

void my_handler ( int  )

This function is the callback upon a ctrl+c call from the terminal.

Parameters
s