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 );这些原型函数在哪里?