hw_mcp41.c
Go to the documentation of this file.00001 00040 #include <hw_mcp41.h> 00041 00042 #include <cfg/macros.h> 00043 #include <cfg/compiler.h> 00044 00045 #include <avr/io.h> 00046 00047 00048 const uint16_t mcp41_ports[MCP41_CNT] = { 00049 _SFR_IO_ADDR(PORTB), 00050 _SFR_IO_ADDR(PORTB), 00051 }; 00052 const uint8_t mcp41_pins [MCP41_CNT] = { 00053 BV(PB7), 00054 BV(PB6), 00055 };
