2018-12-17 11:03 PM
i am using STM8L101F1.I happen to go through the datasheet and i found that the pin of the IC can be multiplexed.But i couldn't find any registers specified with the alternate functions for the pins of the controller.
the following pins have the spi functions:
PB7:MISO
PB6:MOSI
PB5:SCK
PB4:SPI_NSS
how should i go about configuring these pins for spi function.
2018-12-19 12:24 AM
hai,
thanks for the support, i could clear the issue by downloading different header files and including them in my code