mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
nucleo-f031k6: remove obsolete spi_divtable
This commit is contained in:
parent
3790182c89
commit
37378f8bb9
@ -119,28 +119,8 @@ static const pwm_conf_t pwm_config[] = {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @name SPI configuration
|
* @name SPI configuration
|
||||||
*
|
|
||||||
* @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 @ 48000000Hz */
|
|
||||||
7, /* -> 187500Hz */
|
|
||||||
6, /* -> 375000Hz */
|
|
||||||
5, /* -> 750000Hz */
|
|
||||||
2, /* -> 6000000Hz */
|
|
||||||
1 /* -> 12000000Hz */
|
|
||||||
},
|
|
||||||
{ /* for APB2 @ 48000000Hz */
|
|
||||||
7, /* -> 187500Hz */
|
|
||||||
6, /* -> 375000Hz */
|
|
||||||
5, /* -> 750000Hz */
|
|
||||||
2, /* -> 6000000Hz */
|
|
||||||
1 /* -> 12000000Hz */
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
static const spi_conf_t spi_config[] = {
|
static const spi_conf_t spi_config[] = {
|
||||||
{
|
{
|
||||||
.dev = SPI1,
|
.dev = SPI1,
|
||||||
|
Loading…
Reference in New Issue
Block a user