forked from EmbeddedTeam/app_photomagnetic
26 lines
448 B
Plaintext
26 lines
448 B
Plaintext
/ {
|
|
zephyr,user {
|
|
in3-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
|
|
in4-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
|
|
enb-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
&uart0 {
|
|
status = "okay";
|
|
protocal: uart-com-protocal {
|
|
compatible = "uart-com-protocal";
|
|
status = "okay";
|
|
header = <0x7e 0xe7>;
|
|
crc16 = "none";
|
|
freq{
|
|
id = <0x00>;
|
|
};
|
|
switch{
|
|
id = <0x01>;
|
|
};
|
|
status{
|
|
id = <0x02>;
|
|
};
|
|
};
|
|
};
|