mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
limifrog-v1: remove obsolete spi_divtable
This commit is contained in:
parent
0ef3af857c
commit
f0f0ac86eb
@ -103,28 +103,8 @@ static const uart_conf_t uart_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 @ 32000000Hz */
|
|
||||||
7, /* -> 125000Hz */
|
|
||||||
5, /* -> 500000Hz */
|
|
||||||
4, /* -> 1000000Hz */
|
|
||||||
2, /* -> 4000000Hz */
|
|
||||||
1 /* -> 8000000Hz */
|
|
||||||
},
|
|
||||||
{ /* for APB2 @ 32000000Hz */
|
|
||||||
7, /* -> 125000Hz */
|
|
||||||
5, /* -> 500000Hz */
|
|
||||||
4, /* -> 1000000Hz */
|
|
||||||
2, /* -> 4000000Hz */
|
|
||||||
1 /* -> 8000000Hz */
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
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