Quantcast
Channel: 蓝牙论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 7485

CC2640,关于串口的设置

$
0
0

typedef struct
{
bool configured;
uint8 baudRate;
bool flowControl;
uint16 flowControlThreshold;
uint8 idleTimeout;
halUARTBufControl_t rx;
halUARTBufControl_t tx;
bool intEnable;
uint32 rxChRvdTime;
halUARTCBack_t callBackFunc;
}halUARTCfg_t;   这个结构体里没有加入停止位和奇偶校验位,应该怎么加入?

extern void HalUARTInit ( void );extern uint8 HalUARTOpen ( uint8 port, halUARTCfg_t *config );这些原型函数在哪里?


Viewing all articles
Browse latest Browse all 7485

Trending Articles