STM8L15x Standard Peripherals Drivers: SPI_BaudRate_Prescaler

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

SPI_BaudRate_Prescaler

Enumerations

enum  SPI_BaudRatePrescaler_TypeDef {
  SPI_BaudRatePrescaler_2 = (uint8_t)0x00, SPI_BaudRatePrescaler_4 = (uint8_t)0x08, SPI_BaudRatePrescaler_8 = (uint8_t)0x10, SPI_BaudRatePrescaler_16 = (uint8_t)0x18,
  SPI_BaudRatePrescaler_32 = (uint8_t)0x20, SPI_BaudRatePrescaler_64 = (uint8_t)0x28, SPI_BaudRatePrescaler_128 = (uint8_t)0x30, SPI_BaudRatePrescaler_256 = (uint8_t)0x38
}

Enumeration Type Documentation

Enumerator:
SPI_BaudRatePrescaler_2 

SPI frequency = frequency(CPU)/2

SPI_BaudRatePrescaler_4 

SPI frequency = frequency(CPU)/4

SPI_BaudRatePrescaler_8 

SPI frequency = frequency(CPU)/8

SPI_BaudRatePrescaler_16 

SPI frequency = frequency(CPU)/16

SPI_BaudRatePrescaler_32 

SPI frequency = frequency(CPU)/32

SPI_BaudRatePrescaler_64 

SPI frequency = frequency(CPU)/64

SPI_BaudRatePrescaler_128 

SPI frequency = frequency(CPU)/128

SPI_BaudRatePrescaler_256 

SPI frequency = frequency(CPU)/256

Definition at line 101 of file stm8l15x_spi.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com