TMPM4G9
V1.0.0.0
|
This file provides all the functions prototypes for RMC Class. More...
#include "txz_sample_def.h"
Go to the source code of this file.
Data Structures | |
struct | rmc_control1_t |
Receive Control Setting "1". More... | |
struct | rmc_control2_t |
Receive Control Setting "2". More... | |
struct | rmc_control3_t |
Receive Control Setting "3". More... | |
struct | rmc_control4_t |
Receive Control Setting "4". More... | |
struct | rmc_end1_t |
Num of received end bit "1". More... | |
struct | rmc_end2_t |
Num of received end bit "2". More... | |
struct | rmc_end3_t |
Num of received end bit "3". More... | |
struct | rmc_fssel_t |
Select source clock. More... | |
struct | rmc_initial_setting_t |
Initial setting structure definenition. More... | |
struct | uart_handle |
RTC handle structure definenition. More... | |
Macros | |
#define | RMC_LD_CYCLE_UP_LMT_MIN ((uint32_t)0x0000000) |
#define | RMC_LD_CYCLE_UP_LMT_MAX ((uint32_t)0x00000FF) |
#define | RMC_LD_CYCLE_LOW_LMT_MIN ((uint32_t)0x0000000) |
#define | RMC_LD_CYCLE_LOW_LMT_MAX ((uint32_t)0x00000FF) |
#define | RMC_LD_LOW_UP_LMT_MIN ((uint32_t)0x0000000) |
#define | RMC_LD_LOW_UP_LMT_MAX ((uint32_t)0x00000FF) |
#define | RMC_LD_LOW_LOW_LMT_MIN ((uint32_t)0x0000000) |
#define | RMC_LD_LOW_LOW_LMT_MAX ((uint32_t)0x00000FF) |
#define | RMC_LI_DISABLE ((uint32_t)0x00000000) |
#define | RMC_LI_ENABLE ((uint32_t)0x80000000) |
#define | RMC_EDI_DISABLE ((uint32_t)0x00000000) |
#define | RMC_EDI_ENABLE ((uint32_t)0x40000000) |
#define | RMC_LD_DISABLE ((uint32_t)0x00000000) |
#define | RMC_LD_ENABLE ((uint32_t)0x02000000) |
#define | RMC_PHM_DISABLE ((uint32_t)0x00000000) |
#define | RMC_PHM_ENABLE ((uint32_t)0x01000000) |
#define | RMC_LL_MIN ((uint32_t)0x0000000) |
#define | RMC_LL_MAX ((uint32_t)0x00000FF) |
#define | RMC_DMAX_MIN ((uint32_t)0x0000000) |
#define | RMC_DMAX_MAX ((uint32_t)0x00000FF) |
#define | RMC_THRESH_HIGH_MIN ((uint32_t)0x0000000) |
#define | RMC_THRESH_HIGH_MAX ((uint32_t)0x000007F) |
#define | RMC_THRESH_LOW_MIN ((uint32_t)0x0000000) |
#define | RMC_THRESH_LOW_MAX ((uint32_t)0x000007F) |
#define | RMC_POLARITY_POSITIVE ((uint32_t)0x0000000) |
#define | RMC_POLARITY_NEGATIVE ((uint32_t)0x0000080) |
#define | RMC_NOISE_REDUCTION_MIN ((uint32_t)0x0000000) |
#define | RMC_NOISE_REDUCTION_MAX ((uint32_t)0x000000F) |
#define | RMC_RX_DATA_BITS_MIN ((uint32_t)0x0000000) |
#define | RMC_RX_DATA_BITS_MAX ((uint32_t)0x0000048) |
#define | RMC_CLK_LOW_SPEED ((uint32_t)0x00000000) |
#define | RMC_CLK_TIMER ((uint32_t)0x00000001) |
#define | RMC_LD_INT_NO_OCCUR ((uint32_t)0x00000000) |
#define | RMC_LD_INT_OCCUR ((uint32_t)0x00008000) |
#define | RMC_LOW_INT_NO_OCCUR ((uint32_t)0x00000000) |
#define | RMC_LOW_INT_OCCUR ((uint32_t)0x00004000) |
#define | RMC_CYCLE_MAX_INT_NO_OCCUR ((uint32_t)0x00000000) |
#define | RMC_CYCLE_MAX_INT_OCCUR ((uint32_t)0x00002000) |
#define | RMC_FALL_EDGE_INT_NO_OCCUR ((uint32_t)0x00000000) |
#define | RMC_FALL_EDGE_INT_OCCUR ((uint32_t)0x00001000) |
#define | RMC_REPEAT_CODE_INT_NO_OCCUR ((uint32_t)0x00000000) |
#define | RMC_REPEAT_CODE_INT_OCCUR ((uint32_t)0x00008000) |
#define | RMC_REPEAT_CODE_NO_DETECT ((uint32_t)0x00000000) |
#define | RMC_REPEAT_CODE_DETECT ((uint32_t)0x00000080) |
#define | RMC_LEADER_NO_DETECT ((uint32_t)0x00000000) |
#define | RMC_LEADER_DETECT ((uint32_t)0x00000080) |
#define | RMC_RX_BIT_NUM_MASK ((uint32_t)0x0000007F) |
#define | RMC_DATA_BUFF_NUM (3UL) |
Typedefs | |
typedef struct uart_handle | rmc_t |
RMC handle structure definenition. More... | |
Functions | |
TXZ_Result | rmc_init (rmc_t *p_obj) |
Construct object. More... | |
TXZ_Result | rmc_deinit (rmc_t *p_obj) |
Destruct object. More... | |
TXZ_Result | rmc_enable (rmc_t *p_obj) |
Enable RMC. More... | |
TXZ_Result | rmc_disable (rmc_t *p_obj) |
Disable RMC. More... | |
TXZ_Result | rmc_rx_enable (rmc_t *p_obj) |
Enable Receive. More... | |
TXZ_Result | rmc_rx_disable (rmc_t *p_obj) |
Disable Receive. More... | |
TXZ_Result | rmc_get_status (rmc_t *p_obj, uint32_t *p_status) |
Get status. More... | |
TXZ_Result | rmc_get_data (rmc_t *p_obj, uint32_t data[]) |
Get receive data. More... | |
This file provides all the functions prototypes for RMC Class.
DO NOT USE THIS SOFTWARE WITHOUT THE SOFTWARE LICENSE AGREEMENT.
Copyright(C) Toshiba Electronic Device Solutions Corporation 2019