@@ -152,7 +152,7 @@ where
152
152
/// with external filtering.
153
153
fn pga_external_filter <
154
154
B1 : Borrow < NonInverting > ,
155
- B2 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: vinm0 > ,
155
+ B2 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: Vinm0 > ,
156
156
> (
157
157
self ,
158
158
non_inverting : B1 ,
@@ -165,7 +165,7 @@ where
165
165
/// external filtering.
166
166
fn pga_external_bias <
167
167
B1 : Borrow < NonInverting > ,
168
- B2 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: vinm0 > ,
168
+ B2 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: Vinm0 > ,
169
169
> (
170
170
self ,
171
171
non_inverting : B1 ,
@@ -178,8 +178,8 @@ where
178
178
/// external filtering.
179
179
fn pga_external_bias_and_filter <
180
180
B1 : Borrow < NonInverting > ,
181
- B2 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: vinm0 > ,
182
- B3 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: vinm1 > ,
181
+ B2 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: Vinm0 > ,
182
+ B3 : Borrow < <Opamp as ConfigurePgaReg < Opamp , NonInverting > >:: Vinm1 > ,
183
183
> (
184
184
self ,
185
185
non_inverting : B1 ,
@@ -197,9 +197,9 @@ where
197
197
Opamp : LookupPgaGain ,
198
198
{
199
199
/// Type of the associated vinm0 input.
200
- type vinm0 ;
200
+ type Vinm0 ;
201
201
/// Type of the associated vinm1 input.
202
- type vinm1 ;
202
+ type Vinm1 ;
203
203
204
204
/// Write the opamp CSR register configuring the opamp PGA.
205
205
///
@@ -720,8 +720,8 @@ macro_rules! opamps {
720
720
paste:: paste!{
721
721
impl ConfigurePgaReg <$opamp, $non_inverting> for $opamp
722
722
{
723
- type vinm0 = $vinm0;
724
- type vinm1 = $vinm1;
723
+ type Vinm0 = $vinm0;
724
+ type Vinm1 = $vinm1;
725
725
726
726
/// Configures the opamp for programmable gain operation.
727
727
unsafe fn write_pga_reg( gain: Gain , mode: PgaMode , output_enable: bool ) {
@@ -762,7 +762,7 @@ macro_rules! opamps {
762
762
#[ allow( private_bounds) ]
763
763
fn pga_external_filter<
764
764
B1 : Borrow <$non_inverting>,
765
- B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm0 >,
765
+ B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm0 >,
766
766
>(
767
767
self ,
768
768
_non_inverting: B1 ,
@@ -776,7 +776,7 @@ macro_rules! opamps {
776
776
#[ allow( private_bounds) ]
777
777
fn pga_external_bias<
778
778
B1 : Borrow <$non_inverting>,
779
- B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm0 >,
779
+ B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm0 >,
780
780
>(
781
781
self ,
782
782
_non_inverting: B1 ,
@@ -790,8 +790,8 @@ macro_rules! opamps {
790
790
#[ allow( private_bounds) ]
791
791
fn pga_external_bias_and_filter<
792
792
B1 : Borrow <$non_inverting>,
793
- B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm0 >,
794
- B3 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm1 >,
793
+ B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm0 >,
794
+ B3 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm1 >,
795
795
>(
796
796
self ,
797
797
_non_inverting: B1 ,
@@ -819,7 +819,7 @@ macro_rules! opamps {
819
819
#[ allow( private_bounds) ]
820
820
fn pga_external_filter<
821
821
B1 : Borrow <$non_inverting>,
822
- B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm0 >,
822
+ B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm0 >,
823
823
>(
824
824
self ,
825
825
_non_inverting: B1 ,
@@ -833,7 +833,7 @@ macro_rules! opamps {
833
833
#[ allow( private_bounds) ]
834
834
fn pga_external_bias<
835
835
B1 : Borrow <$non_inverting>,
836
- B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm0 >,
836
+ B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm0 >,
837
837
>(
838
838
self ,
839
839
_non_inverting: B1 ,
@@ -847,8 +847,8 @@ macro_rules! opamps {
847
847
#[ allow( private_bounds) ]
848
848
fn pga_external_bias_and_filter<
849
849
B1 : Borrow <$non_inverting>,
850
- B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm0 >,
851
- B3 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: vinm1 >,
850
+ B2 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm0 >,
851
+ B3 : Borrow <<$opamp as ConfigurePgaReg <$opamp, $non_inverting>>:: Vinm1 >,
852
852
>(
853
853
self ,
854
854
_non_inverting: B1 ,
0 commit comments