TMPM4G(1) Group Peripheral Driver User Manual
V1.0.0.0
|
This file provides internal common definition. More...
#include "txz_driver_def.h"
Go to the source code of this file.
Macros | |
#define | UART_NULL ((void *)0) |
#define | UART_PARAM_OK ((int32_t)1) |
#define | UART_PARAM_NG ((int32_t)0) |
#define | UARTxSWRST_SWRSTF_MASK ((uint32_t)0x00000080) |
#define | UARTxSWRST_SWRSTF_IDLE ((uint32_t)0x00000000) |
#define | UARTxSWRST_SWRSTF_RUN ((uint32_t)0x00000080) |
#define | UARTxSWRST_SWRST_10 ((uint32_t)0x00000002) |
#define | UARTxSWRST_SWRST_01 ((uint32_t)0x00000001) |
#define | UARTxCR0_HBSST_MASK ((uint32_t)0x00040000) |
#define | UARTxCR0_HBSMD_MASK ((uint32_t)0x00020000) |
#define | UARTxCR0_HBSEN_MASK ((uint32_t)0x00010000) |
#define | UARTxCR0_HBSEN_DISABLE ((uint32_t)0x00000000) |
#define | UARTxCR0_HBSEN_ENABLE ((uint32_t)0x00010000) |
#define | UARTxCR0_LPB_MASK ((uint32_t)0x00008000) |
#define | UARTxCR0_LPB_DISABLE ((uint32_t)0x00000000) |
#define | UARTxCR0_LPB_ENABLE ((uint32_t)0x00008000) |
#define | UARTxCR0_WU_MASK ((uint32_t)0x00000100) |
#define | UARTxCR0_WU_DISABLE ((uint32_t)0x00000000) |
#define | UARTxCR0_WU_ENABLE ((uint32_t)0x00000100) |
#define | UARTxCR1_RIL_MASK ((uint32_t)0x00000700) |
#define | UARTxCR1_DMATE_MASK ((uint32_t)0x00000002) |
#define | UARTxCR1_DMATE_DISABLE ((uint32_t)0x00000000) |
#define | UARTxCR1_DMATE_ENABLE ((uint32_t)0x00000002) |
#define | UARTxCR1_DMARE_MASK ((uint32_t)0x00000001) |
#define | UARTxCR1_DMARE_DISABLE ((uint32_t)0x00000000) |
#define | UARTxCR1_DMARE_ENABLE ((uint32_t)0x00000001) |
#define | UARTxTRANS_BK_MASK ((uint32_t)0x00000008) |
#define | UARTxTRANS_BK_STOP ((uint32_t)0x00000000) |
#define | UARTxTRANS_BK_SEND ((uint32_t)0x00000008) |
#define | UARTxTRANS_TXTRG_MASK ((uint32_t)0x00000004) |
#define | UARTxTRANS_TXTRG_DISABLE ((uint32_t)0x00000000) |
#define | UARTxTRANS_TXTRG_ENABLE ((uint32_t)0x00000004) |
#define | UARTxTRANS_TXE_MASK ((uint32_t)0x00000002) |
#define | UARTxTRANS_TXE_DISABLE ((uint32_t)0x00000000) |
#define | UARTxTRANS_TXE_ENABLE ((uint32_t)0x00000002) |
#define | UARTxTRANS_RXE_MASK ((uint32_t)0x00000001) |
#define | UARTxTRANS_RXE_DISABLE ((uint32_t)0x00000000) |
#define | UARTxTRANS_RXE_ENABLE ((uint32_t)0x00000001) |
#define | UARTxTRANS_TXE_RXE_MASK ((uint32_t)0x00000003) |
#define | UARTxDR_DR_9BIT_MASK ((uint32_t)0x000001FF) |
#define | UARTxDR_DR_8BIT_MASK ((uint32_t)0x000000FF) |
#define | UARTxDR_DR_7BIT_MASK ((uint32_t)0x0000007F) |
#define | UARTxSR_SUE_MASK ((uint32_t)0x80000000) |
#define | UARTxSR_TXEND_MASK ((uint32_t)0x00004000) |
#define | UARTxSR_TXEND_R_END ((uint32_t)0x00004000) |
#define | UARTxSR_TXEND_W_CLEAR ((uint32_t)0x00004000) |
#define | UARTxSR_TXFF_MASK ((uint32_t)0x00002000) |
#define | UARTxSR_TXFF_R_REACHED ((uint32_t)0x00002000) |
#define | UARTxSR_TXFF_W_CLEAR ((uint32_t)0x00002000) |
#define | UARTxSR_TLVL_MASK ((uint32_t)0x00000F00) |
#define | UARTxSR_RXEND_MASK ((uint32_t)0x00000040) |
#define | UARTxSR_RXEND_R_END ((uint32_t)0x00000040) |
#define | UARTxSR_RXEND_W_CLEAR ((uint32_t)0x00000040) |
#define | UARTxSR_RXFF_MASK ((uint32_t)0x00000020) |
#define | UARTxSR_RXFF_R_REACHED ((uint32_t)0x00000020) |
#define | UARTxSR_RXFF_W_CLEAR ((uint32_t)0x00000020) |
#define | UARTxSR_RLVL_MASK ((uint32_t)0x0000000F) |
#define | UARTxFIFOCLR_TFCLR_CLEAR ((uint32_t)0x00000002) |
#define | UARTxFIFOCLR_RFCLR_CLEAR ((uint32_t)0x00000001) |
#define | UARTxERR_TRGERR_MASK ((uint32_t)0x00000010) |
#define | UARTxERR_TRGERR_R_NO_ERR ((uint32_t)0x00000000) |
#define | UARTxERR_TRGERR_R_ERR ((uint32_t)0x00000010) |
#define | UARTxERR_TRGERR_W_CLEAR ((uint32_t)0x00000010) |
#define | UARTxERR_OVRERR_MASK ((uint32_t)0x00000008) |
#define | UARTxERR_OVRERR_R_NO_ERR ((uint32_t)0x00000000) |
#define | UARTxERR_OVRERR_R_ERR ((uint32_t)0x00000008) |
#define | UARTxERR_OVRERR_W_CLEAR ((uint32_t)0x00000008) |
#define | UARTxERR_PERR_MASK ((uint32_t)0x00000004) |
#define | UARTxERR_PERR_R_NO_ERR ((uint32_t)0x00000000) |
#define | UARTxERR_PERR_R_ERR ((uint32_t)0x00000004) |
#define | UARTxERR_PERR_W_CLEAR ((uint32_t)0x00000004) |
#define | UARTxERR_FERR_MASK ((uint32_t)0x00000002) |
#define | UARTxERR_FERR_R_NO_ERR ((uint32_t)0x00000000) |
#define | UARTxERR_FERR_R_ERR ((uint32_t)0x00000002) |
#define | UARTxERR_FERR_W_CLEAR ((uint32_t)0x00000002) |
#define | UARTxERR_BERR_MASK ((uint32_t)0x00000001) |
#define | UARTxERR_BERR_R_NO_ERR ((uint32_t)0x00000000) |
#define | UARTxERR_BERR_R_ERR ((uint32_t)0x00000001) |
#define | UARTxERR_BERR_W_CLEAR ((uint32_t)0x00000001) |
Functions | |
__STATIC_INLINE void | disable_UARTxTRANS_TXE (TSB_UART_TypeDef *p_instance) |
Disable UARTxTRANS TXE. More... | |
__STATIC_INLINE void | enable_UARTxTRANS_TXE (TSB_UART_TypeDef *p_instance) |
Enable UARTxTRANS TXE. More... | |
__STATIC_INLINE void | disable_UARTxTRANS_RXE (TSB_UART_TypeDef *p_instance) |
Disable UARTxTRANS RXE. More... | |
__STATIC_INLINE void | enable_UARTxTRANS_RXE (TSB_UART_TypeDef *p_instance) |
Enable UARTxTRANS RXE. More... | |
This file provides internal common definition.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
Copyright(C) Toshiba Electronic Device Solutions Corporation 2019