ChibiOS-Contrib/testhal/STM32/STM32F0xx/onewire
barthess b10e423406 1-wire improvements.
1) Functions reading bit from PAL now return ioline_t type.
2) Functions that handle acquired buffer with acquired bits
   now use uint8_t type because it corresponds to buffer type.
3) Cryptic bit shifting in bit storage functions replaced by
   dividion operations because all modern compilers perfectly
   optimise such operations.
2016-05-31 00:04:19 +03:00
..
.cproject STM32 mass update to current naming convention in ChibiOS 2016-04-07 16:39:12 +03:00
.project Fixed project file for 1-wire for STM32F0x 2016-05-30 23:06:38 +03:00
Makefile Updated Makefiles for STM32 according to 2016-04-23 20:27:12 +03:00
chconf.h update stm32 demo and testhal projects to upstream chibios 2016-05-01 03:28:30 +02:00
halconf.h Added WDG switch to halconf.h files 2016-01-13 10:21:50 +03:00
halconf_community.h Updated some testhal projects to new ChibiOS code 2016-03-15 10:19:56 +03:00
main.c [1-wire] Added testhal for STM32F0xx family 2014-12-27 22:18:03 +03:00
mcuconf.h [1-wire] Added testhal for STM32F0xx family 2014-12-27 22:18:03 +03:00
mcuconf_community.h [1-wire] Added testhal for STM32F0xx family 2014-12-27 22:18:03 +03:00
onewire_test.c 1-wire. Data acqusition code in test application rewritten in more safe way 2016-05-30 23:07:09 +03:00
onewire_test.h [1-wire] Added testhal for STM32F0xx family 2014-12-27 22:18:03 +03:00
readme.txt [1-wire] Added testhal for STM32F0xx family 2014-12-27 22:18:03 +03:00
real_roms.txt [1-wire] Added testhal for STM32F0xx family 2014-12-27 22:18:03 +03:00
search_rom_synth.c 1-wire improvements. 2016-05-31 00:04:19 +03:00

readme.txt

*****************************************************************************
** ChibiOS/RT HAL - 1-Wire driver demo for STM32F0xx.                      **
*****************************************************************************

** TARGET **

The demo will on an STMicroelectronics STM32F0(308)-Discovery board.

** The Demo **

The application demonstrates the use of the STM32F0xx 1-Wire driver.

** Board Setup **

To use demo you have to power your 1-wire device from 5V bus on board
and connect DQ line to PB0 pin. Do not forget about external pullup
resistor to 5V (4k7 recommended).

** Build Procedure **

The demo has been tested using the free Codesourcery GCC-based toolchain
and YAGARTO.
Just modify the TRGT line in the makefile in order to use different GCC ports.

** Notes **

Some files used by the demo are not part of ChibiOS/RT but are copyright of
ST Microelectronics and are licensed under a different license.
Also note that not all the files present in the ST library are distributed
with ChibiOS/RT, you can find the whole library on the ST web site:

                             http://www.st.com