\doxysection{modbus\+\_\+coils.\+h} \hypertarget{modbus__coils_8h_source}{}\label{modbus__coils_8h_source}\index{E:/.WORK/STM32/Diod\_Test/diode\_tester/Core/Modbus/Inc/modbus\_coils.h@{E:/.WORK/STM32/Diod\_Test/diode\_tester/Core/Modbus/Inc/modbus\_coils.h}} \mbox{\hyperlink{modbus__coils_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00001}00001\ \textcolor{comment}{/**}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00002}00002\ \textcolor{comment}{*******************************************************************************}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00003}00003\ \textcolor{comment}{*\ @file\ modbus\_coils.h}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00004}00004\ \textcolor{comment}{*\ @brief\ Работа\ с\ коилами\ Modbus}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00005}00005\ \textcolor{comment}{*******************************************************************************}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00006}00006\ \textcolor{comment}{@addtogroup\ MODBUS\_COILS\ Coils\ Tools}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00007}00007\ \textcolor{comment}{@ingroup\ MODBUS\_INTERNAL}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00008}00008\ \textcolor{comment}{@brief\ Функции\ для\ работы\ с\ коилами}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00009}00009\ \textcolor{comment}{*******************************************************************************}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00010}00010\ \textcolor{comment}{*\ @details}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00011}00011\ \textcolor{comment}{Модуль\ для\ доступа\ к\ coils\ внутри\ программы:}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00012}00012\ \textcolor{comment}{-\/\ Функции\ для\ доступа\ к\ coils\ по\ глобальным\ адресам}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00013}00013\ \textcolor{comment}{-\/\ Макросы\ для\ доступа\ к\ coils\ по\ локальным\ адресам}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00014}00014\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00015}00015\ \textcolor{comment}{Модуль\ предоставляет\ функции\ и\ макросы\ для\ работы\ с\ битовыми\ данными:}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00016}00016\ \textcolor{comment}{-\/\ Чтение\ coils\ (0x01)\ Упаковка\ битов\ в\ байты}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00017}00017\ \textcolor{comment}{-\/\ Запись\ одиночного\ coil\ (0x05)\ Установка/сброс\ бита}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00018}00018\ \textcolor{comment}{-\/\ Запись\ множественных\ coils\ (0x0F)\ -\/\ распаковка\ байтов\ в\ биты}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00019}00019\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00020}00020\ \textcolor{comment}{@section\ cbits\ Организация\ битовых\ данных:}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00021}00021\ \textcolor{comment}{Coils\ упакованы\ в\ 16-\/битные\ слова\ для\ эффективного\ использования\ памяти.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00022}00022\ \textcolor{comment}{Биты\ нумеруются\ от\ младшего\ к\ старшему\ внутри\ каждого\ слова.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00023}00023\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00024}00024\ \textcolor{comment}{@section\ caddr\ Адресация:}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00025}00025\ \textcolor{comment}{-\/\ Глобальная\ -\/\ абсолютный\ адрес\ в\ пространстве\ Modbus}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00026}00026\ \textcolor{comment}{-\/\ Локальная\ -\/\ относительный\ адрес\ внутри\ массива\ coils}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00027}00027\ \textcolor{comment}{-\/\ Макросы\ автоматически\ вычисляют\ смещения\ и\ маски}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00028}00028\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00029}00029\ \textcolor{comment}{******************************************************************************/}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00030}00030\ \textcolor{preprocessor}{\#ifndef\ \_\_MODBUS\_COILS\_H\_}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00031}00031\ \textcolor{preprocessor}{\#define\ \_\_MODBUS\_COILS\_H\_}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00032}00032\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{modbus__core_8h}{modbus\_core.h}}"{}}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00033}00033\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00034}00034\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00035}00035\ \textcolor{comment}{////////////////////-\/-\/-\/MODBUS\ FUNCTION\ DEFINES-\/-\/-\/////////////////////}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00036}00036\ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00037}00037\ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00038}00038\ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00039}00039\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00040}00040\ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00041}00041\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00042}00042\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00043}00043\ \textcolor{comment}{/////////////////////////-\/-\/-\/FUNCTIONS-\/-\/-\//////////////////////////////}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00044}00044\ \ \ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00045}00045\ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00046}00046\ \ \ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00047}00047\ \ \ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00048}00048\ \textcolor{comment}{/**\ \ \ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00049}00049\ \textcolor{comment}{\ \ *\ @addtogroup\ MODBUS\_DATA\_ACCESS\_FUNCTIONS\ API\ for\ Data\ Access}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00050}00050\ \textcolor{comment}{\ \ *\ @ingroup\ \ \ \ MODBUS\_FUNCTIONS}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00051}00051\ \textcolor{comment}{\ \ *\ @brief\ \ \ \ \ \ API\ для\ доступа\ к\ данным\ модбас\ внутри\ программы}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00052}00052\ \textcolor{comment}{\ \ *\ @\{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00053}00053\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00054}00054\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00055}00055\ \textcolor{comment}{/**\ @brief\ Enum\ for\ coils\ operation\ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00056}\mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_ga8ccf569b78a17a10ac7c80d52730753a}{00056}}\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{enum}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00057}00057\ \{} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00058}00058\ \ \ SET\_COIL,} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00059}00059\ \ \ RESET\_COIL,} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00060}00060\ \ \ TOOGLE\_COIL,} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00061}00061\ \}\mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_ga8ccf569b78a17a10ac7c80d52730753a}{MB\_CoilsOpTypeDef}};} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00062}00062\ \ \ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00063}00063\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00064}00064\ \textcolor{comment}{\ \ *\ @brief\ \ Считать\ коил\ по\ локальному\ адресу.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00065}00065\ \textcolor{comment}{\ \ *\ @param\ \ \_parr\_\ \ \ \ \ \ \ \ -\/\ массив\ коилов.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00066}00066\ \textcolor{comment}{\ \ *\ @param\ \ \_coil\_\ \ \ \ \ \ \ \ -\/\ Номер\ коила\ от\ начала\ массива\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00067}00067\ \textcolor{comment}{\ \ *\ @return\ uint16\_t\ \ \ \ \ \ Возвращает\ запрошенный\ коил\ на\ 0м\ бите.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00068}00068\ \textcolor{comment}{\ \ *}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00069}00069\ \textcolor{comment}{\ \ *\ @details\ \ Позволяет\ обратиться\ к\ коилу\ по\ адресу\ относительно\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00070}00070\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00071}\mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_ga0f8474120df77dc5f334d60d6a5f6f8f}{00071}}\ \textcolor{preprocessor}{\#define\ MB\_Coil\_Read\_Local(\_parr\_,\ \_coil\_)\ \ \ \ \ \ \ \ \ \ ((\ \ *MB\_Set\_Coil\_Reg\_Ptr(\_parr\_,\ \_coil\_)\ \ \&\ \ \ MB\_Set\_Coil\_Mask(\_coil\_)\ )\ >>\ (\_coil\_))}\textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00072}00072\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00073}00073\ \textcolor{comment}{\ \ *\ @brief\ \ Выставить\ коил\ по\ локальному\ адресу.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00074}00074\ \textcolor{comment}{\ \ *\ @param\ \ \_parr\_\ \ \ \ \ \ \ \ Указатель\ на\ массив\ коилов.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00075}00075\ \textcolor{comment}{\ \ *\ @param\ \ \_coil\_\ \ \ \ \ \ \ \ -\/\ Номер\ коила\ от\ начала\ массива\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00076}00076\ \textcolor{comment}{\ \ *\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00077}00077\ \textcolor{comment}{\ \ *\ @details\ \ Позволяет\ обратиться\ к\ коилу\ по\ адресу\ относительно\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00078}00078\ \textcolor{comment}{\ \ */}\textcolor{preprocessor}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00079}\mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_ga635a6c4fbce49bd1e6797642b36dae7e}{00079}}\ \textcolor{preprocessor}{\#define\ MB\_Coil\_Set\_Local(\_parr\_,\ \_coil\_)\ \ \ \ \ \ \ \ \ \ \ \ \ *MB\_Set\_Coil\_Reg\_Ptr(\_parr\_,\ \_coil\_)\ \ |=\ \ MB\_Set\_Coil\_Mask(\_coil\_)}\textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00080}00080\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00081}00081\ \textcolor{comment}{\ \ *\ @brief\ \ Сбросить\ коил\ по\ локальному\ адресу.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00082}00082\ \textcolor{comment}{\ \ *\ @param\ \ \_parr\_\ \ \ \ \ \ \ \ Указатель\ на\ массив\ коилов.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00083}00083\ \textcolor{comment}{\ \ *\ @param\ \ \_coil\_\ \ \ \ \ \ \ \ -\/\ Номер\ коила\ от\ начала\ массива\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00084}00084\ \textcolor{comment}{\ \ *}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00085}00085\ \textcolor{comment}{\ \ *\ @details\ \ Позволяет\ обратиться\ к\ коилу\ по\ адресу\ относительно\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00086}00086\ \textcolor{comment}{\ \ */}\textcolor{preprocessor}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00087}\mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_gabc4efb5e2a6aaa021ef5fe6c69476927}{00087}}\ \textcolor{preprocessor}{\#define\ MB\_Coil\_Reset\_Local(\_parr\_,\ \_coil\_)\ \ \ \ \ \ \ \ \ \ \ *MB\_Set\_Coil\_Reg\_Ptr(\_parr\_,\ \_coil\_)\ \ \&=\ \string~(MB\_Set\_Coil\_Mask(\_coil\_))}\textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00088}00088\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00089}00089\ \textcolor{comment}{\ \ *\ @brief\ \ Переключить\ состояние\ коила\ по\ локальному\ адресу.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00090}00090\ \textcolor{comment}{\ \ *\ @param\ \ \_parr\_\ \ \ \ \ \ \ \ Указатель\ на\ массив\ коилов.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00091}00091\ \textcolor{comment}{\ \ *\ @param\ \ \_coil\_\ \ \ \ \ \ \ \ -\/\ Номер\ коила\ от\ начала\ массива\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00092}00092\ \textcolor{comment}{\ \ *\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00093}00093\ \textcolor{comment}{\ \ *\ @details\ \ Позволяет\ обратиться\ к\ коилу\ по\ адресу\ относительно\ \_arr\_.}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00094}00094\ \textcolor{comment}{\ \ */}\textcolor{preprocessor}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00095}\mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_gac5f409526055c3d98458ada3d3ab630c}{00095}}\ \textcolor{preprocessor}{\#define\ MB\_Coil\_Toogle\_Local(\_parr\_,\ \_coil\_)\ \ \ \ \ \ \ \ \ \ *MB\_Set\_Coil\_Reg\_Ptr(\_parr\_,\ \_coil\_)\ \ \string^=\ \ MB\_Set\_Coil\_Mask(\_coil\_)}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00096}00096\ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00097}00097\ \textcolor{comment}{/*\ Выставить/сбросить\ коил\ по\ глобальному\ адресу\ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00098}00098\ \mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_ga4ade64cb3fabf37f010c1e297489980c}{MB\_ExceptionTypeDef}}\ \mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_gae9b8595911d93cfbf8597f3356a494cc}{MB\_Coil\_Write\_Global}}(uint16\_t\ Addr,\ \mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_ga8ccf569b78a17a10ac7c80d52730753a}{MB\_CoilsOpTypeDef}}\ WriteVal);} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00099}00099\ \textcolor{comment}{/*\ Считать\ коил\ по\ глобальному\ адресу\ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00100}00100\ uint16\_t\ \mbox{\hyperlink{group___m_o_d_b_u_s___d_a_t_a___a_c_c_e_s_s___f_u_n_c_t_i_o_n_s_ga82334048256e266170a4b3373be59b59}{MB\_Coil\_Read\_Global}}(uint16\_t\ Addr,\ \mbox{\hyperlink{group___m_o_d_b_u_s___m_e_s_s_a_g_e___d_e_f_i_n_e_s_ga4ade64cb3fabf37f010c1e297489980c}{MB\_ExceptionTypeDef}}\ *Exception);} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00101}00101\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00102}00102\ \textcolor{comment}{/**\ MODBUS\_DATA\_ACCESS\_FUNCTIONS}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00103}00103\ \textcolor{comment}{\ \ *\ @\}\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00104}00104\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00105}00105\ \ \ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00106}00106\ \textcolor{comment}{/**\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00107}00107\ \textcolor{comment}{\ \ *\ @addtogroup\ MODBUS\_CMD\_PROCESS\_FUNCTIONS}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00108}00108\ \textcolor{comment}{\ \ *\ @\{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00109}00109\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00110}00110\ \textcolor{comment}{/*\ Обработать\ функцию\ Read\ Coils\ (01\ -\/\ 0x01)\ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00111}00111\ uint8\_t\ \mbox{\hyperlink{group___m_o_d_b_u_s___c_m_d___p_r_o_c_e_s_s___f_u_n_c_t_i_o_n_s_ga39a02e8e4911a74a619d2ef29adcbad8}{MB\_Process\_Read\_Coils}}(\mbox{\hyperlink{struct_r_s___msg_type_def}{RS\_MsgTypeDef}}\ *modbus\_msg);} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00112}00112\ \textcolor{comment}{/*\ \ Обработать\ функцию\ Write\ Single\ Coils\ (05\ -\/\ 0x05)\ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00113}00113\ uint8\_t\ \mbox{\hyperlink{group___m_o_d_b_u_s___c_m_d___p_r_o_c_e_s_s___f_u_n_c_t_i_o_n_s_ga918102931c9125a5e44a30e103d17e14}{MB\_Process\_Write\_Single\_Coil}}(\mbox{\hyperlink{struct_r_s___msg_type_def}{RS\_MsgTypeDef}}\ *modbus\_msg);} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00114}00114\ \textcolor{comment}{/*\ Обработать\ функцию\ Write\ Multiple\ Coils\ (15\ -\/\ 0x0F)\ */}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00115}00115\ uint8\_t\ \mbox{\hyperlink{group___m_o_d_b_u_s___c_m_d___p_r_o_c_e_s_s___f_u_n_c_t_i_o_n_s_ga6f4498cec8634820025aaa9c4623ba55}{MB\_Process\_Write\_Miltuple\_Coils}}(\mbox{\hyperlink{struct_r_s___msg_type_def}{RS\_MsgTypeDef}}\ *modbus\_msg);} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00116}00116\ \textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00117}00117\ \textcolor{comment}{/**\ MODBUS\_CMD\_PROCESS\_FUNCTIONS}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00118}00118\ \textcolor{comment}{\ \ *\ @\}\ }} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00119}00119\ \textcolor{comment}{\ \ */}\textcolor{comment}{}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00120}00120\ \textcolor{comment}{/////////////////////////-\/-\/-\/FUNCTIONS-\/-\/-\//////////////////////////////}} \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00121}00121\ \ \ } \DoxyCodeLine{\Hypertarget{modbus__coils_8h_source_l00122}00122\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\_\_MODBUS\_COILS\_H\_}} \end{DoxyCode}