MAX1968: Patch DacVfb pinout for rev0_3
This commit is contained in:
parent
381f25f036
commit
a0b67cdb09
|
@ -112,9 +112,7 @@ pub fn setup(
|
|||
shdn: gpioa.pa5.into_push_pull_output(),
|
||||
vref_pin: gpioa.pa6.into_analog(),
|
||||
itec_pin: gpiob.pb1.into_analog(),
|
||||
// Fixme: Flywire is added to Rev0_2 prototype. In Rev0_3, it is connected to PC0
|
||||
//dac_feedback_pin: gpioc.pc0.into_analog(),
|
||||
dac_feedback_pin: gpioc.pc3.into_analog(),
|
||||
dac_feedback_pin: gpioc.pc0.into_analog(),
|
||||
vtec_pin: gpiob.pb0.into_analog(),
|
||||
max_v: max_v0,
|
||||
max_i_pos: max_i_pos0,
|
||||
|
|
|
@ -42,9 +42,7 @@ impl ChannelPins for Channel0 {
|
|||
type ShdnPin = PA5<Output<PushPull>>;
|
||||
type VRefPin = PA6<Analog>;
|
||||
type ItecPin = PB1<Analog>;
|
||||
// Fixme: Flywire is added to Rev0_2 prototype. In Rev0_3, it is connected to PC0
|
||||
//type DacFeedbackPin = PC0<Analog>;
|
||||
type DacFeedbackPin = PC3<Analog>;
|
||||
type DacFeedbackPin = PC0<Analog>;
|
||||
type VTecPin = PB0<Analog>;
|
||||
type MaxVPin = PwmChannel<TIM4, 1>;
|
||||
type MaxIPosPin = PwmChannel<TIM4, 2>;
|
||||
|
|
Loading…
Reference in New Issue