stm32/mboot: Add support for GPIO ports G, H, I and J.
This commit is contained in:
parent
39eb1e9f81
commit
a81cb3576b
|
@ -153,3 +153,71 @@ void mp_hal_pin_config_speed(uint32_t port_pin, uint32_t speed);
|
|||
#define pin_F13 (GPIOF_BASE | 13)
|
||||
#define pin_F14 (GPIOF_BASE | 14)
|
||||
#define pin_F15 (GPIOF_BASE | 15)
|
||||
|
||||
#define pin_G0 (GPIOG_BASE | 0)
|
||||
#define pin_G1 (GPIOG_BASE | 1)
|
||||
#define pin_G2 (GPIOG_BASE | 2)
|
||||
#define pin_G3 (GPIOG_BASE | 3)
|
||||
#define pin_G4 (GPIOG_BASE | 4)
|
||||
#define pin_G5 (GPIOG_BASE | 5)
|
||||
#define pin_G6 (GPIOG_BASE | 6)
|
||||
#define pin_G7 (GPIOG_BASE | 7)
|
||||
#define pin_G8 (GPIOG_BASE | 8)
|
||||
#define pin_G9 (GPIOG_BASE | 9)
|
||||
#define pin_G10 (GPIOG_BASE | 10)
|
||||
#define pin_G11 (GPIOG_BASE | 11)
|
||||
#define pin_G12 (GPIOG_BASE | 12)
|
||||
#define pin_G13 (GPIOG_BASE | 13)
|
||||
#define pin_G14 (GPIOG_BASE | 14)
|
||||
#define pin_G15 (GPIOG_BASE | 15)
|
||||
|
||||
#define pin_H0 (GPIOH_BASE | 0)
|
||||
#define pin_H1 (GPIOH_BASE | 1)
|
||||
#define pin_H2 (GPIOH_BASE | 2)
|
||||
#define pin_H3 (GPIOH_BASE | 3)
|
||||
#define pin_H4 (GPIOH_BASE | 4)
|
||||
#define pin_H5 (GPIOH_BASE | 5)
|
||||
#define pin_H6 (GPIOH_BASE | 6)
|
||||
#define pin_H7 (GPIOH_BASE | 7)
|
||||
#define pin_H8 (GPIOH_BASE | 8)
|
||||
#define pin_H9 (GPIOH_BASE | 9)
|
||||
#define pin_H10 (GPIOH_BASE | 10)
|
||||
#define pin_H11 (GPIOH_BASE | 11)
|
||||
#define pin_H12 (GPIOH_BASE | 12)
|
||||
#define pin_H13 (GPIOH_BASE | 13)
|
||||
#define pin_H14 (GPIOH_BASE | 14)
|
||||
#define pin_H15 (GPIOH_BASE | 15)
|
||||
|
||||
#define pin_I0 (GPIOI_BASE | 0)
|
||||
#define pin_I1 (GPIOI_BASE | 1)
|
||||
#define pin_I2 (GPIOI_BASE | 2)
|
||||
#define pin_I3 (GPIOI_BASE | 3)
|
||||
#define pin_I4 (GPIOI_BASE | 4)
|
||||
#define pin_I5 (GPIOI_BASE | 5)
|
||||
#define pin_I6 (GPIOI_BASE | 6)
|
||||
#define pin_I7 (GPIOI_BASE | 7)
|
||||
#define pin_I8 (GPIOI_BASE | 8)
|
||||
#define pin_I9 (GPIOI_BASE | 9)
|
||||
#define pin_I10 (GPIOI_BASE | 10)
|
||||
#define pin_I11 (GPIOI_BASE | 11)
|
||||
#define pin_I12 (GPIOI_BASE | 12)
|
||||
#define pin_I13 (GPIOI_BASE | 13)
|
||||
#define pin_I14 (GPIOI_BASE | 14)
|
||||
#define pin_I15 (GPIOI_BASE | 15)
|
||||
|
||||
#define pin_J0 (GPIOJ_BASE | 0)
|
||||
#define pin_J1 (GPIOJ_BASE | 1)
|
||||
#define pin_J2 (GPIOJ_BASE | 2)
|
||||
#define pin_J3 (GPIOJ_BASE | 3)
|
||||
#define pin_J4 (GPIOJ_BASE | 4)
|
||||
#define pin_J5 (GPIOJ_BASE | 5)
|
||||
#define pin_J6 (GPIOJ_BASE | 6)
|
||||
#define pin_J7 (GPIOJ_BASE | 7)
|
||||
#define pin_J8 (GPIOJ_BASE | 8)
|
||||
#define pin_J9 (GPIOJ_BASE | 9)
|
||||
#define pin_J10 (GPIOJ_BASE | 10)
|
||||
#define pin_J11 (GPIOJ_BASE | 11)
|
||||
#define pin_J12 (GPIOJ_BASE | 12)
|
||||
#define pin_J13 (GPIOJ_BASE | 13)
|
||||
#define pin_J14 (GPIOJ_BASE | 14)
|
||||
#define pin_J15 (GPIOJ_BASE | 15)
|
||||
|
|
Loading…
Reference in New Issue