Here, alternative functions and classes for STM32. The program contains a class for the I2C software bus, a class for working with a watchdog timer and time delay functions based on DWT. All functions and classes use the HAL library. Functions and classes were written for the microcontroller stm32f103.

Dependents:   STM32_F1XX_Alternative

AlternativeDelay.hpp

Committer:
Yar
Date:
2017-05-24
Revision:
0:2f819bf6cd99

File content as of revision 0:2f819bf6cd99:

#ifndef _STM32_ALTERNATIVE_DELAY_H
#define _STM32_ALTERNATIVE_DELAY_H

#include "mbed.h"

void initializeTimeDelays(void);
void delay_us(uint32_t us);
void delay_ms(uint32_t ms);

#endif // _STM32_ALTERNATIVE_DELAY_H