Giter VIP home page Giter VIP logo

stm32-cmsis_libraries's Introduction

STM32 (STM32F103C8T6) CMSIS Libraries

IDE - STM32CubeIDE 1.7.0

System (Inc/Src)

  • RCC
  • GPIO
  • Delay
  • USART
  • I2C
  • SPI
  • RTC (Lib)
  • PWM (Lib)
  • EXTI (Lib)

Other (Lib)

  • 74HC595 (SPI/BitBang)
  • MAX6675 (SPI/BitBang)
  • MPU9255 (SPI)
  • ADS1115 (I2C)
  • BMP280 (I2C)
  • PCF8574T (I2C)
  • EEPROM/24C64 (I2C)
  • LSM303DLHC (I2C)
  • LCD1602 (8-bit/4-bit/PCF8574T)
  • LED_DISPLAY (74HC595)
  • HCSR04
  • DHT11
  • Rotary Encoder (polling/debounce)

Information

// non blocking delay example
Delay_TypeDef d1, d2, usart1_d1;

char buffer[USART1_BUFFER_SIZE] = {0};

if (DWT_nb_timeout(&d1)) {
	GPIO_WritePin(GPIOB, 12 , state1); state1 = !state1;
	DWT_nb_delay_ms(&d1, 300);
}

if (DWT_nb_timeout(&d2)) {
	GPIO_WritePin(GPIOB, 14 , state2); state2 = !state2;
	DWT_nb_delay_ms(&d2, 700);
}

// non blocking delay, USART1
if (DWT_nb_timeout(&usart1_d1)) {
	if (USART1_ReadString(buffer))
		USART1_SendString(buffer);
	DWT_nb_delay_ms(&usart1_d1, 50);
}

All libraries are under development and are provided as is.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.