/********************************************************************\ Name: config.h Created by: Stefan Ritt Contents: Configuration file for for Mu3e Power DC/DC Controller \********************************************************************/ /* Define device name. Used by various parts of the framwork to enable or disable device-specific features */ #define MUPIX_HV /* define CPU type */ #define CPU_C8051F930 /* include file for CPU registers etc. */ #include /* CPU clock speed */ #define CLK_25MHZ /* ports for LED's */ #define LED_0 P1^7 #define LED_1 P2^0 /* polarity of LED: "0" if a low level activates the LEDs, "1" if a high level activates the LEDs */ #define LED_ON 0 /* port pin for RS485 enable signals */ //version B //#define RS485_EN_PIN P0^6 //version B #define RS485_EN_PIN P1^0 // project specific pinouts //