| Mini51 BSP V3.02.002 The Board Support Package for Mini51 Series

Modules | Data Structures
MINI51 Definitions

## Modules
| Device CMSIS Definitions
| MINI51 Peripherals

## Data Structures
struct | ADC_T
#define | ADC_ADDR_RSLT_Pos (0)
#define | ADC_ADDR_RSLT_Msk (0x3fful << ADC_ADDR_RSLT_Pos)
#define | ADC_ADDR_OVERRUN_Pos (16)
#define | ADC_ADDR_OVERRUN_Msk (0x1ul << ADC_ADDR_OVERRUN_Pos)
#define | ADC_ADDR_VALID_Pos (17)
#define | ADC_ADDR_VALID_Msk (0x1ul << ADC_ADDR_VALID_Pos)
#define | ADC_ADCR_ADEN_Pos (0)
#define | ADC_ADCR_ADEN_Msk (0x1ul << ADC_ADCR_ADEN_Pos)
#define | ADC_ADCR_ADIE_Pos (1)
#define | ADC_ADCR_ADIE_Msk (0x1ul << ADC_ADCR_ADIE_Pos)
#define | ADC_ADCR_TRGS_Pos (4)
#define | ADC_ADCR_TRGS_Msk (0x3ul << ADC_ADCR_TRGS_Pos)
#define | ADC_ADCR_TRGCOND_Pos (6)
#define | ADC_ADCR_TRGCOND_Msk (0x1ul << ADC_ADCR_TRGCOND_Pos)
#define | ADC_ADCR_TRGEN_Pos (8)
#define | ADC_ADCR_TRGEN_Msk (0x1ul << ADC_ADCR_TRGEN_Pos)
#define | ADC_ADCR_ADST_Pos (11)
#define | ADC_ADCR_ADST_Msk (0x1ul << ADC_ADCR_ADST_Pos)
#define | ADC_ADCHER_CHEN_Pos (0)
#define | ADC_ADCHER_CHEN_Msk (0xfful << ADC_ADCHER_CHEN_Pos)
#define | ADC_ADCHER_CHEN0_Pos (0)
#define | ADC_ADCHER_CHEN0_Msk (0x1ul << ADC_ADCHER_CHEN0_Pos)
#define | ADC_ADCHER_CHEN1_Pos (1)
#define | ADC_ADCHER_CHEN1_Msk (0x1ul << ADC_ADCHER_CHEN1_Pos)
#define | ADC_ADCHER_CHEN2_Pos (2)
#define | ADC_ADCHER_CHEN2_Msk (0x1ul << ADC_ADCHER_CHEN2_Pos)
#define | ADC_ADCHER_CHEN3_Pos (3)
#define | ADC_ADCHER_CHEN3_Msk (0x1ul << ADC_ADCHER_CHEN3_Pos)
#define | ADC_ADCHER_CHEN4_Pos (4)
#define | ADC_ADCHER_CHEN4_Msk (0x1ul << ADC_ADCHER_CHEN4_Pos)
#define | ADC_ADCHER_CHEN5_Pos (5)
#define | ADC_ADCHER_CHEN5_Msk (0x1ul << ADC_ADCHER_CHEN5_Pos)
#define | ADC_ADCHER_CHEN6_Pos (6)
#define | ADC_ADCHER_CHEN6_Msk (0x1ul << ADC_ADCHER_CHEN6_Pos)
#define | ADC_ADCHER_CHEN7_Pos (7)
#define | ADC_ADCHER_CHEN7_Msk (0x1ul << ADC_ADCHER_CHEN7_Pos)
#define | ADC_ADCHER_PRESEL_Pos (8)
#define | ADC_ADCHER_PRESEL_Msk (0x1ul << ADC_ADCHER_PRESEL_Pos)
#define | ADC_ADCMPR_CMPEN_Pos (0)
#define | ADC_ADCMPR_CMPEN_Msk (0x1ul << ADC_ADCMPR_CMPEN_Pos)
#define | ADC_ADCMPR_CMPIE_Pos (1)
#define | ADC_ADCMPR_CMPIE_Msk (0x1ul << ADC_ADCMPR_CMPIE_Pos)
#define | ADC_ADCMPR_CMPCOND_Pos (2)
#define | ADC_ADCMPR_CMPCOND_Msk (0x1ul << ADC_ADCMPR_CMPCOND_Pos)
#define | ADC_ADCMPR_CMPCH_Pos (3)
#define | ADC_ADCMPR_CMPCH_Msk (0x7ul << ADC_ADCMPR_CMPCH_Pos)
#define | ADC_ADCMPR_CMPMATCNT_Pos (8)
#define | ADC_ADCMPR_CMPMATCNT_Msk (0xful << ADC_ADCMPR_CMPMATCNT_Pos)
#define | ADC_ADCMPR_CMPD_Pos (16)
#define | ADC_ADCMPR_CMPD_Msk (0x3fful << ADC_ADCMPR_CMPD_Pos)
#define | ADC_ADSR_ADF_Pos (0)
#define | ADC_ADSR_ADF_Msk (0x1ul << ADC_ADSR_ADF_Pos)
#define | ADC_ADSR_CMPF0_Pos (1)
#define | ADC_ADSR_CMPF0_Msk (0x1ul << ADC_ADSR_CMPF0_Pos)
#define | ADC_ADSR_CMPF1_Pos (2)
#define | ADC_ADSR_CMPF1_Msk (0x1ul << ADC_ADSR_CMPF1_Pos)
#define | ADC_ADSR_BUSY_Pos (3)
#define | ADC_ADSR_BUSY_Msk (0x1ul << ADC_ADSR_BUSY_Pos)
#define | ADC_ADSR_CHANNEL_Pos (4)
#define | ADC_ADSR_CHANNEL_Msk (0x7ul << ADC_ADSR_CHANNEL_Pos)
#define | ADC_ADSR_VALID_Pos (8)
#define | ADC_ADSR_VALID_Msk (0x1ul << ADC_ADSR_VALID_Pos)
#define | ADC_ADSR_OVERRUN_Pos (16)
#define | ADC_ADSR_OVERRUN_Msk (0x1ul << ADC_ADSR_OVERRUN_Pos)
#define | ADC_ADTDCR_PTDT_Pos (0)
#define | ADC_ADTDCR_PTDT_Msk (0xfful << ADC_ADTDCR_PTDT_Pos)
#define | ADC_ADSAMP_SAMPCNT_Pos (0)
#define | ADC_ADSAMP_SAMPCNT_Msk (0xful << ADC_ADSAMP_SAMPCNT_Pos)

## Detailed Description

This file defines all structures and symbols for Mini51:

- interrupt numbers
- registers and bit fields
- peripheral base address
- peripheral ID
- Peripheral definitions

## Macro Definition Documentation

## ◆ ADC_ADCHER_CHEN0_Msk

#define ADC_ADCHER_CHEN0_Msk (0x1ul << ADC_ADCHER_CHEN0_Pos)

ADC_T::ADCHER: CHEN0 Mask

Definition at line 844 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN0_Pos

#define ADC_ADCHER_CHEN0_Pos (0)

ADC_T::ADCHER: CHEN0 Position

Definition at line 843 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN1_Msk

#define ADC_ADCHER_CHEN1_Msk (0x1ul << ADC_ADCHER_CHEN1_Pos)

ADC_T::ADCHER: CHEN1 Mask

Definition at line 847 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN1_Pos

#define ADC_ADCHER_CHEN1_Pos (1)

ADC_T::ADCHER: CHEN1 Position

Definition at line 846 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN2_Msk

#define ADC_ADCHER_CHEN2_Msk (0x1ul << ADC_ADCHER_CHEN2_Pos)

ADC_T::ADCHER: CHEN2 Mask

Definition at line 850 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN2_Pos

#define ADC_ADCHER_CHEN2_Pos (2)

ADC_T::ADCHER: CHEN2 Position

Definition at line 849 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN3_Msk

#define ADC_ADCHER_CHEN3_Msk (0x1ul << ADC_ADCHER_CHEN3_Pos)

ADC_T::ADCHER: CHEN3 Mask

Definition at line 853 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN3_Pos

#define ADC_ADCHER_CHEN3_Pos (3)

ADC_T::ADCHER: CHEN3 Position

Definition at line 852 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN4_Msk

#define ADC_ADCHER_CHEN4_Msk (0x1ul << ADC_ADCHER_CHEN4_Pos)

ADC_T::ADCHER: CHEN4 Mask

Definition at line 856 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN4_Pos

#define ADC_ADCHER_CHEN4_Pos (4)

ADC_T::ADCHER: CHEN4 Position

Definition at line 855 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN5_Msk

#define ADC_ADCHER_CHEN5_Msk (0x1ul << ADC_ADCHER_CHEN5_Pos)

ADC_T::ADCHER: CHEN5 Mask

Definition at line 859 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN5_Pos

#define ADC_ADCHER_CHEN5_Pos (5)

ADC_T::ADCHER: CHEN5 Position

Definition at line 858 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN6_Msk

#define ADC_ADCHER_CHEN6_Msk (0x1ul << ADC_ADCHER_CHEN6_Pos)

ADC_T::ADCHER: CHEN6 Mask

Definition at line 862 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN6_Pos

#define ADC_ADCHER_CHEN6_Pos (6)

ADC_T::ADCHER: CHEN6 Position

Definition at line 861 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN7_Msk

#define ADC_ADCHER_CHEN7_Msk (0x1ul << ADC_ADCHER_CHEN7_Pos)

ADC_T::ADCHER: CHEN7 Mask

Definition at line 865 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN7_Pos

#define ADC_ADCHER_CHEN7_Pos (7)

ADC_T::ADCHER: CHEN7 Position

Definition at line 864 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN_Msk

#define ADC_ADCHER_CHEN_Msk (0xfful << ADC_ADCHER_CHEN_Pos)

ADC_T::ADCHER: CHEN Mask

Definition at line 841 of file Mini51Series.h.

## ◆ ADC_ADCHER_CHEN_Pos

#define ADC_ADCHER_CHEN_Pos (0)

ADC_T::ADCHER: CHEN Position

Definition at line 840 of file Mini51Series.h.

## ◆ ADC_ADCHER_PRESEL_Msk

#define ADC_ADCHER_PRESEL_Msk (0x1ul << ADC_ADCHER_PRESEL_Pos)

ADC_T::ADCHER: PRESEL Mask

Definition at line 868 of file Mini51Series.h.

## ◆ ADC_ADCHER_PRESEL_Pos

#define ADC_ADCHER_PRESEL_Pos (8)

ADC_T::ADCHER: PRESEL Position

Definition at line 867 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPCH_Msk

#define ADC_ADCMPR_CMPCH_Msk (0x7ul << ADC_ADCMPR_CMPCH_Pos)

ADC_T::ADCMPR: CMPCH Mask

Definition at line 880 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPCH_Pos

#define ADC_ADCMPR_CMPCH_Pos (3)

ADC_T::ADCMPR: CMPCH Position

Definition at line 879 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPCOND_Msk

#define ADC_ADCMPR_CMPCOND_Msk (0x1ul << ADC_ADCMPR_CMPCOND_Pos)

ADC_T::ADCMPR: CMPCOND Mask

Definition at line 877 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPCOND_Pos

#define ADC_ADCMPR_CMPCOND_Pos (2)

ADC_T::ADCMPR: CMPCOND Position

Definition at line 876 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPD_Msk

#define ADC_ADCMPR_CMPD_Msk (0x3fful << ADC_ADCMPR_CMPD_Pos)

ADC_T::ADCMPR: CMPD Mask

Definition at line 886 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPD_Pos

#define ADC_ADCMPR_CMPD_Pos (16)

ADC_T::ADCMPR: CMPD Position

Definition at line 885 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPEN_Msk

#define ADC_ADCMPR_CMPEN_Msk (0x1ul << ADC_ADCMPR_CMPEN_Pos)

ADC_T::ADCMPR: CMPEN Mask

Definition at line 871 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPEN_Pos

#define ADC_ADCMPR_CMPEN_Pos (0)

ADC_T::ADCMPR: CMPEN Position

Definition at line 870 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPIE_Msk

#define ADC_ADCMPR_CMPIE_Msk (0x1ul << ADC_ADCMPR_CMPIE_Pos)

ADC_T::ADCMPR: CMPIE Mask

Definition at line 874 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPIE_Pos

#define ADC_ADCMPR_CMPIE_Pos (1)

ADC_T::ADCMPR: CMPIE Position

Definition at line 873 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPMATCNT_Msk

#define ADC_ADCMPR_CMPMATCNT_Msk (0xful << ADC_ADCMPR_CMPMATCNT_Pos)

ADC_T::ADCMPR: CMPMATCNT Mask

Definition at line 883 of file Mini51Series.h.

## ◆ ADC_ADCMPR_CMPMATCNT_Pos

#define ADC_ADCMPR_CMPMATCNT_Pos (8)

ADC_T::ADCMPR: CMPMATCNT Position

Definition at line 882 of file Mini51Series.h.

## ◆ ADC_ADCR_ADEN_Msk

#define ADC_ADCR_ADEN_Msk (0x1ul << ADC_ADCR_ADEN_Pos)

ADC_T::ADCR: ADEN Mask

Definition at line 823 of file Mini51Series.h.

## ◆ ADC_ADCR_ADEN_Pos

#define ADC_ADCR_ADEN_Pos (0)

ADC_T::ADCR: ADEN Position

Definition at line 822 of file Mini51Series.h.

## ◆ ADC_ADCR_ADIE_Msk

#define ADC_ADCR_ADIE_Msk (0x1ul << ADC_ADCR_ADIE_Pos)

ADC_T::ADCR: ADIE Mask

Definition at line 826 of file Mini51Series.h.

## ◆ ADC_ADCR_ADIE_Pos

#define ADC_ADCR_ADIE_Pos (1)

ADC_T::ADCR: ADIE Position

Definition at line 825 of file Mini51Series.h.

## ◆ ADC_ADCR_ADST_Msk

#define ADC_ADCR_ADST_Msk (0x1ul << ADC_ADCR_ADST_Pos)

ADC_T::ADCR: ADST Mask

Definition at line 838 of file Mini51Series.h.

## ◆ ADC_ADCR_ADST_Pos

#define ADC_ADCR_ADST_Pos (11)

ADC_T::ADCR: ADST Position

Definition at line 837 of file Mini51Series.h.

## ◆ ADC_ADCR_TRGCOND_Msk

#define ADC_ADCR_TRGCOND_Msk (0x1ul << ADC_ADCR_TRGCOND_Pos)

ADC_T::ADCR: TRGCOND Mask

Definition at line 832 of file Mini51Series.h.

## ◆ ADC_ADCR_TRGCOND_Pos

#define ADC_ADCR_TRGCOND_Pos (6)

ADC_T::ADCR: TRGCOND Position

Definition at line 831 of file Mini51Series.h.

## ◆ ADC_ADCR_TRGEN_Msk

#define ADC_ADCR_TRGEN_Msk (0x1ul << ADC_ADCR_TRGEN_Pos)

ADC_T::ADCR: TRGEN Mask

Definition at line 835 of file Mini51Series.h.

## ◆ ADC_ADCR_TRGEN_Pos

#define ADC_ADCR_TRGEN_Pos (8)

ADC_T::ADCR: TRGEN Position

Definition at line 834 of file Mini51Series.h.

## ◆ ADC_ADCR_TRGS_Msk

#define ADC_ADCR_TRGS_Msk (0x3ul << ADC_ADCR_TRGS_Pos)

ADC_T::ADCR: TRGS Mask

Definition at line 829 of file Mini51Series.h.

## ◆ ADC_ADCR_TRGS_Pos

#define ADC_ADCR_TRGS_Pos (4)

ADC_T::ADCR: TRGS Position

Definition at line 828 of file Mini51Series.h.

## ◆ ADC_ADDR_OVERRUN_Msk

#define ADC_ADDR_OVERRUN_Msk (0x1ul << ADC_ADDR_OVERRUN_Pos)

ADC_T::ADDR: OVERRUN Mask

Definition at line 817 of file Mini51Series.h.

## ◆ ADC_ADDR_OVERRUN_Pos

#define ADC_ADDR_OVERRUN_Pos (16)

ADC_T::ADDR: OVERRUN Position

Definition at line 816 of file Mini51Series.h.

## ◆ ADC_ADDR_RSLT_Msk

#define ADC_ADDR_RSLT_Msk (0x3fful << ADC_ADDR_RSLT_Pos)

ADC_T::ADDR: RSLT Mask

Definition at line 814 of file Mini51Series.h.

## ◆ ADC_ADDR_RSLT_Pos

#define ADC_ADDR_RSLT_Pos (0)

    @addtogroup ADC_CONST ADC Bit Field Definition
    Constant Definitions for ADC Controller

ADC_T::ADDR: RSLT Position

Definition at line 813 of file Mini51Series.h.

## ◆ ADC_ADDR_VALID_Msk

#define ADC_ADDR_VALID_Msk (0x1ul << ADC_ADDR_VALID_Pos)

ADC_T::ADDR: VALID Mask

Definition at line 820 of file Mini51Series.h.

## ◆ ADC_ADDR_VALID_Pos

#define ADC_ADDR_VALID_Pos (17)

ADC_T::ADDR: VALID Position

Definition at line 819 of file Mini51Series.h.

## ◆ ADC_ADSAMP_SAMPCNT_Msk

#define ADC_ADSAMP_SAMPCNT_Msk (0xful << ADC_ADSAMP_SAMPCNT_Pos)

ADC_T::ADSAMP: ADSAMPCNT Mask

Definition at line 913 of file Mini51Series.h.

## ◆ ADC_ADSAMP_SAMPCNT_Pos

#define ADC_ADSAMP_SAMPCNT_Pos (0)

ADC_T::ADSAMP: ADSAMPCNT Position

Definition at line 912 of file Mini51Series.h.

## ◆ ADC_ADSR_ADF_Msk

#define ADC_ADSR_ADF_Msk (0x1ul << ADC_ADSR_ADF_Pos)

ADC_T::ADSR: ADF Mask

Definition at line 889 of file Mini51Series.h.

## ◆ ADC_ADSR_ADF_Pos

#define ADC_ADSR_ADF_Pos (0)

ADC_T::ADSR: ADF Position

Definition at line 888 of file Mini51Series.h.

## ◆ ADC_ADSR_BUSY_Msk

#define ADC_ADSR_BUSY_Msk (0x1ul << ADC_ADSR_BUSY_Pos)

ADC_T::ADSR: BUSY Mask

Definition at line 898 of file Mini51Series.h.

## ◆ ADC_ADSR_BUSY_Pos

#define ADC_ADSR_BUSY_Pos (3)

ADC_T::ADSR: BUSY Position

Definition at line 897 of file Mini51Series.h.

## ◆ ADC_ADSR_CHANNEL_Msk

#define ADC_ADSR_CHANNEL_Msk (0x7ul << ADC_ADSR_CHANNEL_Pos)

ADC_T::ADSR: CHANNEL Mask

Definition at line 901 of file Mini51Series.h.

## ◆ ADC_ADSR_CHANNEL_Pos

#define ADC_ADSR_CHANNEL_Pos (4)

ADC_T::ADSR: CHANNEL Position

Definition at line 900 of file Mini51Series.h.

## ◆ ADC_ADSR_CMPF0_Msk

#define ADC_ADSR_CMPF0_Msk (0x1ul << ADC_ADSR_CMPF0_Pos)

ADC_T::ADSR: CMPF0 Mask

Definition at line 892 of file Mini51Series.h.

## ◆ ADC_ADSR_CMPF0_Pos

#define ADC_ADSR_CMPF0_Pos (1)

ADC_T::ADSR: CMPF0 Position

Definition at line 891 of file Mini51Series.h.

## ◆ ADC_ADSR_CMPF1_Msk

#define ADC_ADSR_CMPF1_Msk (0x1ul << ADC_ADSR_CMPF1_Pos)

ADC_T::ADSR: CMPF1 Mask

Definition at line 895 of file Mini51Series.h.

## ◆ ADC_ADSR_CMPF1_Pos

#define ADC_ADSR_CMPF1_Pos (2)

ADC_T::ADSR: CMPF1 Position

Definition at line 894 of file Mini51Series.h.

## ◆ ADC_ADSR_OVERRUN_Msk

#define ADC_ADSR_OVERRUN_Msk (0x1ul << ADC_ADSR_OVERRUN_Pos)

ADC_T::ADSR: OVERRUN Mask

Definition at line 907 of file Mini51Series.h.

## ◆ ADC_ADSR_OVERRUN_Pos

#define ADC_ADSR_OVERRUN_Pos (16)

ADC_T::ADSR: OVERRUN Position

Definition at line 906 of file Mini51Series.h.

## ◆ ADC_ADSR_VALID_Msk

#define ADC_ADSR_VALID_Msk (0x1ul << ADC_ADSR_VALID_Pos)

ADC_T::ADSR: VALID Mask

Definition at line 904 of file Mini51Series.h.

## ◆ ADC_ADSR_VALID_Pos

#define ADC_ADSR_VALID_Pos (8)

ADC_T::ADSR: VALID Position

Definition at line 903 of file Mini51Series.h.

## ◆ ADC_ADTDCR_PTDT_Msk

#define ADC_ADTDCR_PTDT_Msk (0xfful << ADC_ADTDCR_PTDT_Pos)

ADC_T::ADTDCR: PTDT Mask

Definition at line 910 of file Mini51Series.h.

## ◆ ADC_ADTDCR_PTDT_Pos

#define ADC_ADTDCR_PTDT_Pos (0)

ADC_T::ADTDCR: PTDT Position

Definition at line 909 of file Mini51Series.h.