Sinapse-Energia / M2M-DigitalSensors-Development

Development of Digital Output generic SB functions
0 stars 0 forks source link

M2M-EMU-GPIO-Development

DigitalSensors (Emulated GPIO) development in M2M commboard

TASKs TO-DO

Southbound functions to be developed

Emulated GPIO configuration

result emu_gpio_config(Signal, HW-Parse, Mode, Pull, Timming)

Inputs

Output

Set Mode

Change the mode of a PIN. It is called from config and form read_write

result emu_gpio_set_mode(Signal, Mode)

Inputs

Read Write digital secuence

result emu_gpio_read_write(id_sensor, Stream_CS, Stream_SDI, Stream_SDO, Stream_SCK)

Inputs

Output

Additional Information

These function(s) should be developed in the file southbound_ec.c

The main three functions of this development should be called from main.c with different options in order to demonstrate its behaviour and ease the testing.

Ressources

Structures to be used and examples:

TODO By Francis