![]() */ #define ABIT_UGURU3_WAIT_TIMEOUT 250 /* Normally the 0xAC at the end of synchronize() is reported after theįirst read, but sometimes not and we need to poll */ #define ABIT_UGURU3_SYNCHRONIZE_TIMEOUT 5 /* utility macros */ #define ABIT_UGURU3_NAME "abituguru3" #define ABIT_UGURU3_DEBUG(format, arg. I assume this isĬpu-speed independent, since the ISA-bus and not the CPU should be theīottleneck. Analysis shows that magnitude response by Hamming, Dolph-chebshev, Kaiser and equiriple windowing method. */ #include #include #include #include #include #include #include #include #include #include #include /* uGuru3 bank addresses */ #define ABIT_UGURU3_SETTINGS_BANK 0x01 #define ABIT_UGURU3_SENSORS_BANK 0x08 #define ABIT_UGURU3_MISC_BANK 0x09 #define ABIT_UGURU3_ALARMS_START 0x1E #define ABIT_UGURU3_SETTINGS_START 0x24 #define ABIT_UGURU3_VALUES_START 0x80 #define ABIT_UGURU3_BOARD_ID 0x0A /* uGuru3 sensor bank flags */ /* Alarm if: */ #define ABIT_UGURU3_TEMP_HIGH_ALARM_ENABLEĐx01 /* temp over warn */ #define ABIT_UGURU3_VOLT_HIGH_ALARM_ENABLEĐx02 /* volt over max */ #define ABIT_UGURU3_VOLT_LOW_ALARM_ENABLEĐx04 /* volt under min */ #define ABIT_UGURU3_TEMP_HIGH_ALARM_FLAGĐx10 /* temp is over warn */ #define ABIT_UGURU3_VOLT_HIGH_ALARM_FLAGĐx20 /* volt is over max */ #define ABIT_UGURU3_VOLT_LOW_ALARM_FLAG 0x40 /* volt is under min */ #define ABIT_UGURU3_FAN_LOW_ALARM_ENABLEĐx01 /* fan under min */ #define ABIT_UGURU3_BEEP_ENABLE 0x08 /* beep if alarm */ #define ABIT_UGURU3_SHUTDOWN_ENABLE 0x80 /* shutdown if alarm */ /* sensor types */ #define ABIT_UGURU3_IN_SENSOR 0 #define ABIT_UGURU3_TEMP_SENSOR 1 #define ABIT_UGURU3_FAN_SENSOR 2 /* Timeouts / Retries, if these turn out to need a lot of fiddling we couldĬonvert them to params. Only reading the sensors and their settings is supported. is found to be below 20cm, provided that TOR-IGOR GPS measurements are. This driver supports the sensor part of revision 3 of the custom Abit uGuruĬhip found on newer Abit uGuru motherboards. Complex products have the same Hamming window applied as detected ones to ensure. You should have received a copy of the GNU General Public LicenseĪlong with this program if not, write to the Free Softwareįoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ![]() GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of The Free Software Foundation either version 2 of the License, or It under the terms of the GNU General Public License as published by ![]() This program is free software you can redistribute it and/or modify Abituguru3.c Copyright (c) 2006 Hans de Goede ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |