Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ottojo/zephyr_stm32_comp

OOT Zephyr driver for STM32F0 COMP peripheral
https://github.com/ottojo/zephyr_stm32_comp

stm32 stm32f0 zephyr zephyr-rtos

Last synced: 16 days ago
JSON representation

OOT Zephyr driver for STM32F0 COMP peripheral

Awesome Lists containing this project

README

        

```c
#include

/ {
soc {
comp1: comp@4001001c {
compatible = "st,stm32f0-comparator";
status = "okay";
reg = <0x4001001c 2>;

pinctrl-0 = <&comp1_inp_pa1 &comp1_out_pa6>;
pinctrl-names = "default";

zephyr,input-noninverting = ;
zephyr,input-inverting = ;
zephyr,invert-output;
zephyr,output = ;
};

comp2: comp@4001001e {
compatible = "st,stm32f0-comparator";
status = "okay";
reg = <0x4001001e 2>;

pinctrl-0 = <&comp2_inp_pa3 &comp2_out_pa2>;
pinctrl-names = "default";

zephyr,input-noninverting = ;
zephyr,input-inverting = ;
zephyr,output = ;
};
};
};
```