22//!
33//! The pulse with modulation (PWM) module enables the generation of pulse width modulated signals on GPIO.
44
5- #[ cfg( not( any( feature = "52805" , feature = " 9160", feature = "5340-app" ) ) ) ]
5+ #[ cfg( not( any( feature = "9160" , feature = "5340-app" ) ) ) ]
66use crate :: pac:: pwm0:: * ;
77#[ cfg( any( feature = "9160" , feature = "5340-app" ) ) ]
88use crate :: pac:: pwm0_ns:: * ;
@@ -1155,14 +1155,14 @@ pub trait Instance: sealed::Sealed + Deref<Target = RegisterBlock> {
11551155
11561156// Internal static duty buffers. One per instance.
11571157static mut BUF0 : Cell < [ u16 ; 4 ] > = Cell :: new ( [ 0 ; 4 ] ) ;
1158- #[ cfg( not( any( feature = "52805" , feature = " 52810", feature = "52811" ) ) ) ]
1158+ #[ cfg( not( any( feature = "52810" , feature = "52811" ) ) ) ]
11591159static mut BUF1 : Cell < [ u16 ; 4 ] > = Cell :: new ( [ 0 ; 4 ] ) ;
1160- #[ cfg( not( any( feature = "52805" , feature = " 52810", feature = "52811" ) ) ) ]
1160+ #[ cfg( not( any( feature = "52810" , feature = "52811" ) ) ) ]
11611161static mut BUF2 : Cell < [ u16 ; 4 ] > = Cell :: new ( [ 0 ; 4 ] ) ;
1162- #[ cfg( not( any( feature = "52805" , feature = " 52810", feature = "52811" , feature = "52832" ) ) ) ]
1162+ #[ cfg( not( any( feature = "52810" , feature = "52811" , feature = "52832" ) ) ) ]
11631163static mut BUF3 : Cell < [ u16 ; 4 ] > = Cell :: new ( [ 0 ; 4 ] ) ;
11641164
1165- #[ cfg( not( any( feature = "52805" , feature = " 9160", feature = "5340-app" ) ) ) ]
1165+ #[ cfg( not( any( feature = "9160" , feature = "5340-app" ) ) ) ]
11661166impl Instance for crate :: pac:: PWM0 {
11671167 const INTERRUPT : Interrupt = Interrupt :: PWM0 ;
11681168 #[ inline( always) ]
@@ -1172,7 +1172,6 @@ impl Instance for crate::pac::PWM0 {
11721172}
11731173
11741174#[ cfg( not( any(
1175- feature = "52805" ,
11761175 feature = "52810" ,
11771176 feature = "52811" ,
11781177 feature = "9160" ,
@@ -1186,7 +1185,6 @@ impl Instance for crate::pac::PWM1 {
11861185}
11871186
11881187#[ cfg( not( any(
1189- feature = "52805" ,
11901188 feature = "52810" ,
11911189 feature = "52811" ,
11921190 feature = "9160" ,
@@ -1200,7 +1198,6 @@ impl Instance for crate::pac::PWM2 {
12001198}
12011199
12021200#[ cfg( not( any(
1203- feature = "52805" ,
12041201 feature = "52810" ,
12051202 feature = "52811" ,
12061203 feature = "52832" ,
@@ -1253,7 +1250,6 @@ mod sealed {
12531250 impl Sealed for crate :: pac:: PWM0 { }
12541251
12551252 #[ cfg( not( any(
1256- feature = "52805" ,
12571253 feature = "52810" ,
12581254 feature = "52811" ,
12591255 feature = "5340-app" ,
@@ -1262,7 +1258,6 @@ mod sealed {
12621258 impl Sealed for crate :: pac:: PWM1 { }
12631259
12641260 #[ cfg( not( any(
1265- feature = "52805" ,
12661261 feature = "52810" ,
12671262 feature = "52811" ,
12681263 feature = "5340-app" ,
@@ -1271,7 +1266,6 @@ mod sealed {
12711266 impl Sealed for crate :: pac:: PWM2 { }
12721267
12731268 #[ cfg( not( any(
1274- feature = "52805" ,
12751269 feature = "52810" ,
12761270 feature = "52811" ,
12771271 feature = "52832" ,
0 commit comments