mirror of https://github.com/ARMmbed/mbed-os.git
NUCLEO_F103RB: minor changes
parent
1159845529
commit
3bcf77e4f7
|
@ -52,7 +52,7 @@ typedef enum {
|
|||
} PWMName;
|
||||
|
||||
typedef enum {
|
||||
CAN_1 = (int)CAN1_BASE
|
||||
CAN_1 = (int)CAN1_BASE
|
||||
} CANName;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -64,7 +64,8 @@ struct spi_s {
|
|||
};
|
||||
|
||||
struct i2c_s {
|
||||
I2CName i2c;
|
||||
I2CName i2c;
|
||||
uint32_t clk_speed;
|
||||
};
|
||||
|
||||
struct pwmout_s {
|
||||
|
|
|
@ -24,7 +24,8 @@ static const uint32_t AF_mapping[] = {
|
|||
GPIO_Remap_USART1, // 3
|
||||
GPIO_Remap_USART2, // 4
|
||||
GPIO_FullRemap_TIM2, // 5
|
||||
GPIO_FullRemap_TIM3 // 6
|
||||
GPIO_FullRemap_TIM3, // 6
|
||||
GPIO_Remap_I2C1 // 7
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue