STM8S/A Standard Peripherals Drivers
|
This file contains all the functions for the uart3 peripheral. More...
#include "stm8s_uart3.h"
Go to the source code of this file.
Functions | |
void | UART3_ClearFlag (UART3_Flag_TypeDef UART3_FLAG) |
Clears the UART3 flags. | |
void | UART3_ClearITPendingBit (UART3_IT_TypeDef UART3_IT) |
Clears the UART3 pending flags. | |
void | UART3_Cmd (FunctionalState NewState) |
Enable the UART1 peripheral. | |
void | UART3_DeInit (void) |
Deinitializes the UART peripheral. | |
FlagStatus | UART3_GetFlagStatus (UART3_Flag_TypeDef UART3_FLAG) |
Checks whether the specified UART3 flag is set or not. | |
ITStatus | UART3_GetITStatus (UART3_IT_TypeDef UART3_IT) |
Checks whether the specified UART3 interrupt has occurred or not. | |
void | UART3_Init (uint32_t BaudRate, UART3_WordLength_TypeDef WordLength, UART3_StopBits_TypeDef StopBits, UART3_Parity_TypeDef Parity, UART3_Mode_TypeDef Mode) |
Initializes the UART3 according to the specified parameters. | |
void | UART3_ITConfig (UART3_IT_TypeDef UART3_IT, FunctionalState NewState) |
Enables or disables the specified UART3 interrupts. | |
void | UART3_LINBreakDetectionConfig (UART3_LINBreakDetectionLength_TypeDef UART3_LINBreakDetectionLength) |
Sets the UART3 LIN Break detection length. | |
void | UART3_LINCmd (FunctionalState NewState) |
Enables or disables the UART3 LIN mode. | |
void | UART3_LINConfig (UART3_LinMode_TypeDef UART3_Mode, UART3_LinAutosync_TypeDef UART3_Autosync, UART3_LinDivUp_TypeDef UART3_DivUp) |
Configure the UART3 peripheral. | |
uint8_t | UART3_ReceiveData8 (void) |
Returns the most recent received data by the UART3 peripheral. | |
uint16_t | UART3_ReceiveData9 (void) |
Returns the most recent received data by the UART3 peripheral. | |
void | UART3_ReceiverWakeUpCmd (FunctionalState NewState) |
Determines if the UART3 is in mute mode or not. | |
void | UART3_SendBreak (void) |
Transmits break characters. | |
void | UART3_SendData8 (uint8_t Data) |
Transmits 8 bit data through the UART3 peripheral. | |
void | UART3_SendData9 (uint16_t Data) |
Transmits 9 bit data through the UART3 peripheral. | |
void | UART3_SetAddress (uint8_t UART3_Address) |
Sets the address of the UART3 node. | |
void | UART3_WakeUpConfig (UART3_WakeUp_TypeDef UART3_WakeUp) |
Selects the UART3 WakeUp method. |
Detailed Description
This file contains all the functions for the uart3 peripheral.
- Attention:
© COPYRIGHT 2014 STMicroelectronics
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file stm8s_uart3.c.