* @name: FUart_BlockSend * @msg: initiate uart block send * @return {*} * @param {Ft_Uart} *UartPtr * @param {u8} *BytePtr * @param {u32} Length */
| 261 | * @param {u32} Length |
| 262 | */ |
| 263 | void FUart_BlockSend(Ft_Uart *UartPtr, u8 *BytePtr, u32 Length) |
| 264 | { |
| 265 | u32 index; |
| 266 | |
| 267 | Ft_assertVoid(UartPtr != NULL); |
| 268 | Ft_assertVoid(BytePtr != NULL); |
| 269 | Ft_assertVoid(UartPtr->IsReady == FT_COMPONENT_IS_READLY); |
| 270 | |
| 271 | for (index = 0; index < Length; index++) |
| 272 | { |
| 273 | FUart_SendByte(UartPtr->Config.BaseAddress, BytePtr[index]); |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | /** |
| 278 | * @name: FUart_BlockReceive |
nothing calls this directly
no test coverage detected