X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32VLDiscovery%2Fhw%2Fhw_mcp41.c;fp=boards%2Fstm32VLDiscovery%2Fhw%2Fhw_mcp41.c;h=512b19a1dda7e935afedfd2f49a95f79e6202260;hb=bbc9b62788f5e2f94dd550708a6af22f6d49eb98;hp=0000000000000000000000000000000000000000;hpb=17f239924a2d52d099e60ba3a65662f4d2b1fb16;p=bertos.git diff --git a/boards/stm32VLDiscovery/hw/hw_mcp41.c b/boards/stm32VLDiscovery/hw/hw_mcp41.c new file mode 100644 index 00000000..512b19a1 --- /dev/null +++ b/boards/stm32VLDiscovery/hw/hw_mcp41.c @@ -0,0 +1,52 @@ +/** + * \file + * + * + * \brief MCP41 hardware-specific definitions + * + * \author Francesco Sacchi + */ + +#include "hw/hw_mcp41.h" + +#include +#include + +#warning TODO:This is an example implementation, you must implement it! + +const uint16_t mcp41_ports[MCP41_CNT] = +{ + 0, /* add here mcp41 ports */ +}; +const uint8_t mcp41_pins [MCP41_CNT] = +{ + 0, /* add here mcp41 ports */ +}; +