//############################################################################################################################################################################################################# #ifndef _INC_RSLINK_CUSTOM_H_ #define _INC_RSLINK_CUSTOM_H_ //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #include #include //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Status led #define RSLINK_LED_DDR DDRE #define RSLINK_LED_PORT PORTE #define RSLINK_LED_PIN PINE #define RSLINK_LED_BIT 1 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // Dip switch Adders, Speed, Bus Type #define RSLINK_DIPS_CP_PORT PORTD #define RSLINK_DIPS_CP_DDR DDRD #define RSLINK_DIPS_CP_PIN PIND #define RSLINK_DIPS_CP_BIT 7 #define RSLINK_DIPS_nPL_PORT PORTD #define RSLINK_DIPS_nPL_DDR DDRD #define RSLINK_DIPS_nPL_PIN PIND #define RSLINK_DIPS_nPL_BIT 6 #define RSLINK_DIPS_Q7_PORT PORTD #define RSLINK_DIPS_Q7_DDR DDRD #define RSLINK_DIPS_Q7_PIN PIND #define RSLINK_DIPS_Q7_BIT 5 //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- uint16_t RSLink_DipsRead(void); //void RSLink_TimerInit(); //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #endif // #ifndef _INC_RSLINK_CUSTOM_H_ //#############################################################################################################################################################################################################