Commit Graph

31 Commits

Author SHA1 Message Date
d8ec083dbc Apply clippy suggestions 2024-10-14 13:25:49 +08:00
1962135e79 Apply cargo fmt 2024-10-14 13:25:49 +08:00
c6040899dd ItecPin -> ITecPin 2024-08-12 13:02:22 +08:00
09be55e12a Don't load REF pin of MAX1968 chip on HWRevs < 3.0
The REF pin of the MAX1968 on hardware revisions v2.x is missing a
buffer, loading the pin on every CPU ADC read. Avoid reading from it and
leave the pin floating on affected hardware revisions, and return the
nominal 1.5V instead.
2024-04-03 16:32:57 +08:00
570c0324b3 implement support for fan PWM
Co-authored-by: Egor Savkin <es@m-labs.hk>
Co-committed-by: Egor Savkin <es@m-labs.hk>
2023-03-22 17:15:49 +08:00
1b2f2f3888 update code to use stm32f4xx-hal 0.10.1 API 2022-03-02 17:21:17 +08:00
201701ee8b implement mac address generation with reading eui48 from i2c eeprom 2020-09-24 00:19:07 +02:00
a4dde1b8ca delint 2020-09-18 00:55:53 +02:00
4a1ce342a0 pins: enable pwm pins 2020-09-12 00:35:58 +02:00
42587810cd usb: add serial logger 2020-09-10 23:17:31 +02:00
4e6aa5fe0c leds: init 2020-09-06 21:10:10 +02:00
50dcee0c8a pins: reuse definitions 2020-09-06 19:28:33 +02:00
a3df2bc685 update to newer stm32-eth 2020-09-03 21:38:56 +02:00
3c94342448 replace tec_u_meas_adc with pins_adc 2020-05-28 02:06:32 +02:00
5418488a2f replace channel[01].adc with pins_adc 2020-05-28 02:01:55 +02:00
70127491f6 add vref_pin 2020-05-18 22:46:09 +02:00
3d6e1f18a6 add tec_u_meas 2020-05-18 21:38:13 +02:00
0bc0af7487 rename dac_loopback to dac_feedback 2020-05-17 02:18:25 +02:00
7f8dd62a36 add itec_pin 2020-05-16 23:59:31 +02:00
a317eb60fd rename ref_adc to dac_loopback 2020-05-16 19:36:00 +02:00
c53c9a289f pins: fix ref_pins 2020-05-16 01:09:38 +02:00
9466961bd7 main: refactor into Channel/Channels 2020-05-12 23:18:11 +02:00
6dd6bb2e1e pins: add ref[01] adc 2020-05-12 22:50:39 +02:00
e7782c9cb3 implement shdn* pins 2020-03-21 00:33:48 +01:00
bec7019f3a delint 2020-03-19 22:21:17 +01:00
da4aaf4ff6 implement all the tcp commands 2020-03-19 18:34:57 +01:00
09dbb7d495 add ad5680 2020-03-12 21:41:03 +01:00
fed3e767e9 pins: setup dac spi 0,1 2020-03-12 19:25:21 +01:00
f021ebd6e6 pins: setup PwmPins 2020-03-12 17:26:14 +01:00
99f7f2b548 Pins::setup, replace adc_input with ad7172 2020-03-11 23:16:48 +01:00
2f50071afa switch to stm32f427, setup eth pins 2020-03-09 00:36:19 +01:00