common/iotlab: remove obsolete spi_divtable
This commit is contained in:
parent
2068c11837
commit
801eef0ec4
@ -178,29 +178,6 @@ static const i2c_conf_t i2c_config[] = {
|
|||||||
#define I2C_NUMOF ARRAY_SIZE(i2c_config)
|
#define I2C_NUMOF ARRAY_SIZE(i2c_config)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Shared SPI clock div table
|
|
||||||
*
|
|
||||||
* @note The spi_divtable is auto-generated from
|
|
||||||
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
|
|
||||||
*/
|
|
||||||
static const uint8_t spi_divtable[2][5] = {
|
|
||||||
{ /* for APB1 @ 36000000Hz */
|
|
||||||
7, /* -> 140625Hz */
|
|
||||||
6, /* -> 281250Hz */
|
|
||||||
4, /* -> 1125000Hz */
|
|
||||||
2, /* -> 4500000Hz */
|
|
||||||
1 /* -> 9000000Hz */
|
|
||||||
},
|
|
||||||
{ /* for APB2 @ 72000000Hz */
|
|
||||||
7, /* -> 281250Hz */
|
|
||||||
7, /* -> 281250Hz */
|
|
||||||
5, /* -> 1125000Hz */
|
|
||||||
3, /* -> 4500000Hz */
|
|
||||||
2 /* -> 9000000Hz */
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user