@@ -310,7 +310,7 @@ impl<REG: RegisterSpec> W<REG> {
310
310
}
311
311
312
312
#[ doc( hidden) ]
313
- pub struct FieldReaderRaw < FI >
313
+ pub struct FieldReaderRaw < FI = u8 >
314
314
where
315
315
FI : FieldSpec
316
316
{
@@ -331,7 +331,7 @@ impl<FI: FieldSpec> FieldReaderRaw<FI> {
331
331
}
332
332
333
333
#[ doc( hidden) ]
334
- pub struct BitReaderRaw < FI > {
334
+ pub struct BitReaderRaw < FI = bool > {
335
335
pub ( crate ) bits : bool ,
336
336
_reg : marker:: PhantomData < FI > ,
337
337
}
@@ -409,7 +409,7 @@ pub struct Safe;
409
409
pub struct Unsafe ;
410
410
411
411
#[ doc( hidden) ]
412
- pub struct FieldWriterRaw < ' a , REG , const WI : u8 , const O : u8 , FI , Safety >
412
+ pub struct FieldWriterRaw < ' a , REG , const WI : u8 , const O : u8 , FI = bool , Safety = Safe >
413
413
where
414
414
REG : Writable + RegisterSpec ,
415
415
FI : FieldSpec ,
@@ -436,7 +436,7 @@ where
436
436
}
437
437
438
438
#[ doc( hidden) ]
439
- pub struct BitWriterRaw < ' a , REG , const O : u8 , FI , M >
439
+ pub struct BitWriterRaw < ' a , REG , const O : u8 , FI = bool , M = BitM >
440
440
where
441
441
REG : Writable + RegisterSpec ,
442
442
bool : From < FI > ,
0 commit comments