CIU32_L051_M307R/LIB/LwUtil
小马_666 5815805f3c 移植了RTThread和RTT打印,并完成了串口的DMA中断发送,和串口空闲中断+DMA接收,测试通过 2024-08-22 16:24:54 +08:00
..
README.md 移植了RTThread和RTT打印,并完成了串口的DMA中断发送,和串口空闲中断+DMA接收,测试通过 2024-08-22 16:24:54 +08:00
lwutil.c 移植了RTThread和RTT打印,并完成了串口的DMA中断发送,和串口空闲中断+DMA接收,测试通过 2024-08-22 16:24:54 +08:00
lwutil.h 移植了RTThread和RTT打印,并完成了串口的DMA中断发送,和串口空闲中断+DMA接收,测试通过 2024-08-22 16:24:54 +08:00

README.md

C language utility library

Set of different functions and macros usually used in the various applications.

Features

  • Support for C99 or later
  • Support for minimal and maximal values
  • Support for absolute values
  • Support for unused macros
  • Support for storing and loading data from array in little- or big- endian formats
  • Support for retrieving number of elements for statically allocated array
  • Support for bitwise operations to set, clear, check or toggle bits
  • Compilation-time assert feature
  • User friendly MIT license

How to use

Usage is very simply. Add lwutil.c file to compilation flag and make sure compiler has access to lwutil.h for include paths.

Contribute

This is a generic library and welcomes different contributions. We accept issue reports or, even better, pull-requests with bugs or new features.

Use c-code-style rules for coding and keep the same coding consistency.