@@ -49,7 +49,7 @@ pub trait GpioExt {
49
49
fn split ( self , power_control : & sysctl:: PowerControl ) -> Self :: Parts ;
50
50
}
51
51
52
- gpio_macro ! ( tm4c123x, GPIO_PORTA , gpioa, GpioA , PAx , [
52
+ gpio_macro ! ( tm4c123x, GPIO_PORTA_AHB , gpioa, GpioA , PAx , [
53
53
PA0 : ( pa0, 0 , Tristate ) ,
54
54
PA1 : ( pa1, 1 , Tristate ) ,
55
55
PA2 : ( pa2, 2 , Tristate ) ,
@@ -60,7 +60,7 @@ gpio_macro!(tm4c123x, GPIO_PORTA, gpioa, GpioA, PAx, [
60
60
PA7 : ( pa7, 7 , Tristate ) ,
61
61
] ) ;
62
62
63
- gpio_macro ! ( tm4c123x, GPIO_PORTB , gpiob, GpioB , PBx , [
63
+ gpio_macro ! ( tm4c123x, GPIO_PORTB_AHB , gpiob, GpioB , PBx , [
64
64
PB0 : ( pb0, 0 , Tristate ) ,
65
65
PB1 : ( pb1, 1 , Tristate ) ,
66
66
PB2 : ( pb2, 2 , Tristate ) ,
@@ -71,7 +71,7 @@ gpio_macro!(tm4c123x, GPIO_PORTB, gpiob, GpioB, PBx, [
71
71
PB7 : ( pb7, 7 , Tristate ) ,
72
72
] ) ;
73
73
74
- gpio_macro ! ( tm4c123x, GPIO_PORTC , gpioc, GpioC , PCx , [
74
+ gpio_macro ! ( tm4c123x, GPIO_PORTC_AHB , gpioc, GpioC , PCx , [
75
75
PC0 : ( pc0, 0 , Locked ) , // JTAG/SWD pin
76
76
PC1 : ( pc1, 1 , Locked ) , // JTAG/SWD pin
77
77
PC2 : ( pc2, 2 , Locked ) , // JTAG/SWD pin
@@ -82,7 +82,7 @@ gpio_macro!(tm4c123x, GPIO_PORTC, gpioc, GpioC, PCx, [
82
82
PC7 : ( pc7, 7 , Tristate ) ,
83
83
] ) ;
84
84
85
- gpio_macro ! ( tm4c123x, GPIO_PORTD , gpiod, GpioD , PDx , [
85
+ gpio_macro ! ( tm4c123x, GPIO_PORTD_AHB , gpiod, GpioD , PDx , [
86
86
PD0 : ( pd0, 0 , Tristate ) ,
87
87
PD1 : ( pd1, 1 , Tristate ) ,
88
88
PD2 : ( pd2, 2 , Tristate ) ,
@@ -93,7 +93,7 @@ gpio_macro!(tm4c123x, GPIO_PORTD, gpiod, GpioD, PDx, [
93
93
PD7 : ( pd7, 7 , Locked ) , // NMI pin
94
94
] ) ;
95
95
96
- gpio_macro ! ( tm4c123x, GPIO_PORTE , gpioe, GpioE , PEx , [
96
+ gpio_macro ! ( tm4c123x, GPIO_PORTE_AHB , gpioe, GpioE , PEx , [
97
97
PE0 : ( pe0, 0 , Tristate ) ,
98
98
PE1 : ( pe1, 1 , Tristate ) ,
99
99
PE2 : ( pe2, 2 , Tristate ) ,
@@ -104,7 +104,7 @@ gpio_macro!(tm4c123x, GPIO_PORTE, gpioe, GpioE, PEx, [
104
104
PE7 : ( pe7, 7 , Tristate ) ,
105
105
] ) ;
106
106
107
- gpio_macro ! ( tm4c123x, GPIO_PORTF , gpiof, GpioF , PFx , [
107
+ gpio_macro ! ( tm4c123x, GPIO_PORTF_AHB , gpiof, GpioF , PFx , [
108
108
PF0 : ( pf0, 0 , Locked ) , // NMI pin
109
109
PF1 : ( pf1, 1 , Tristate ) ,
110
110
PF2 : ( pf2, 2 , Tristate ) ,
0 commit comments