bsp_ModBus_STM32类 参考
bsp_ModBus_STM32
STM32用串口的ModBus发送器
#include <bsp_ModBus_STM32.h>
类 bsp_ModBus_STM32 继承关系图:
bsp_ModBus_STM32 的协作图:
Public 成员函数
bsp_ModBus_STM32 (UART_HandleTypeDef *huart, u8 ID, uint32_t Timeout)
Protected 成员函数
virtual void Transmit (u8 *dat, u16 len)
Private 属性
UART_HandleTypeDef * huart
uint32_t Timeout
额外继承的成员函数
详细描述
STM32用串口的ModBus发送器
在文件 bsp_ModBus_STM32.h 第 45 行定义.
构造及析构函数说明
bsp_ModBus_STM32()
bsp_ModBus_STM32bsp_ModBus_STM32
bsp_ModBus_STM32bsp_ModBus_STM32
bsp_ModBus_STM32::bsp_ModBus_STM32 (UART_HandleTypeDef * huart, u8 ID, uint32_t Timeout)[inline]
在文件 bsp_ModBus_STM32.h 第 47 行定义.
成员函数说明
Transmit()
Transmitbsp_ModBus_STM32
bsp_ModBus_STM32Transmit
virtual void bsp_ModBus_STM32::Transmit (u8 * dat, u16 len)[inline], [protected], [virtual]
实现了 bsp_ModBus_Tx.
在文件 bsp_ModBus_STM32.h 第 51 行定义.
类成员变量说明
huart
huartbsp_ModBus_STM32
bsp_ModBus_STM32huart
UART_HandleTypeDef* bsp_ModBus_STM32::huart[private]
在文件 bsp_ModBus_STM32.h 第 54 行定义.
Timeout
Timeoutbsp_ModBus_STM32
bsp_ModBus_STM32Timeout
uint32_t bsp_ModBus_STM32::Timeout[private]
在文件 bsp_ModBus_STM32.h 第 55 行定义.
该类的文档由以下文件生成:
D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus_STM32.h