|
#define | HSADC_CTRL1_SMODE_MASK (0x7U) |
|
#define | HSADC_CTRL1_SMODE_SHIFT (0U) |
|
#define | HSADC_CTRL1_SMODE(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_SMODE_SHIFT)) & HSADC_CTRL1_SMODE_MASK) |
|
#define | HSADC_CTRL1_CHNCFG_L_MASK (0xF0U) |
|
#define | HSADC_CTRL1_CHNCFG_L_SHIFT (4U) |
|
#define | HSADC_CTRL1_CHNCFG_L(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_CHNCFG_L_SHIFT)) & HSADC_CTRL1_CHNCFG_L_MASK) |
|
#define | HSADC_CTRL1_HLMTIE_MASK (0x100U) |
|
#define | HSADC_CTRL1_HLMTIE_SHIFT (8U) |
|
#define | HSADC_CTRL1_HLMTIE(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_HLMTIE_SHIFT)) & HSADC_CTRL1_HLMTIE_MASK) |
|
#define | HSADC_CTRL1_LLMTIE_MASK (0x200U) |
|
#define | HSADC_CTRL1_LLMTIE_SHIFT (9U) |
|
#define | HSADC_CTRL1_LLMTIE(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_LLMTIE_SHIFT)) & HSADC_CTRL1_LLMTIE_MASK) |
|
#define | HSADC_CTRL1_ZCIE_MASK (0x400U) |
|
#define | HSADC_CTRL1_ZCIE_SHIFT (10U) |
|
#define | HSADC_CTRL1_ZCIE(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_ZCIE_SHIFT)) & HSADC_CTRL1_ZCIE_MASK) |
|
#define | HSADC_CTRL1_EOSIEA_MASK (0x800U) |
|
#define | HSADC_CTRL1_EOSIEA_SHIFT (11U) |
|
#define | HSADC_CTRL1_EOSIEA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_EOSIEA_SHIFT)) & HSADC_CTRL1_EOSIEA_MASK) |
|
#define | HSADC_CTRL1_SYNCA_MASK (0x1000U) |
|
#define | HSADC_CTRL1_SYNCA_SHIFT (12U) |
|
#define | HSADC_CTRL1_SYNCA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_SYNCA_SHIFT)) & HSADC_CTRL1_SYNCA_MASK) |
|
#define | HSADC_CTRL1_STARTA_MASK (0x2000U) |
|
#define | HSADC_CTRL1_STARTA_SHIFT (13U) |
|
#define | HSADC_CTRL1_STARTA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_STARTA_SHIFT)) & HSADC_CTRL1_STARTA_MASK) |
|
#define | HSADC_CTRL1_STOPA_MASK (0x4000U) |
|
#define | HSADC_CTRL1_STOPA_SHIFT (14U) |
|
#define | HSADC_CTRL1_STOPA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_STOPA_SHIFT)) & HSADC_CTRL1_STOPA_MASK) |
|
#define | HSADC_CTRL1_DMAENA_MASK (0x8000U) |
|
#define | HSADC_CTRL1_DMAENA_SHIFT (15U) |
|
#define | HSADC_CTRL1_DMAENA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL1_DMAENA_SHIFT)) & HSADC_CTRL1_DMAENA_MASK) |
|
|
#define | HSADC_CTRL2_DIVA_MASK (0x3FU) |
|
#define | HSADC_CTRL2_DIVA_SHIFT (0U) |
|
#define | HSADC_CTRL2_DIVA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_DIVA_SHIFT)) & HSADC_CTRL2_DIVA_MASK) |
|
#define | HSADC_CTRL2_SIMULT_MASK (0x40U) |
|
#define | HSADC_CTRL2_SIMULT_SHIFT (6U) |
|
#define | HSADC_CTRL2_SIMULT(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_SIMULT_SHIFT)) & HSADC_CTRL2_SIMULT_MASK) |
|
#define | HSADC_CTRL2_CHNCFG_H_MASK (0x780U) |
|
#define | HSADC_CTRL2_CHNCFG_H_SHIFT (7U) |
|
#define | HSADC_CTRL2_CHNCFG_H(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_CHNCFG_H_SHIFT)) & HSADC_CTRL2_CHNCFG_H_MASK) |
|
#define | HSADC_CTRL2_EOSIEB_MASK (0x800U) |
|
#define | HSADC_CTRL2_EOSIEB_SHIFT (11U) |
|
#define | HSADC_CTRL2_EOSIEB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_EOSIEB_SHIFT)) & HSADC_CTRL2_EOSIEB_MASK) |
|
#define | HSADC_CTRL2_SYNCB_MASK (0x1000U) |
|
#define | HSADC_CTRL2_SYNCB_SHIFT (12U) |
|
#define | HSADC_CTRL2_SYNCB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_SYNCB_SHIFT)) & HSADC_CTRL2_SYNCB_MASK) |
|
#define | HSADC_CTRL2_STARTB_MASK (0x2000U) |
|
#define | HSADC_CTRL2_STARTB_SHIFT (13U) |
|
#define | HSADC_CTRL2_STARTB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_STARTB_SHIFT)) & HSADC_CTRL2_STARTB_MASK) |
|
#define | HSADC_CTRL2_STOPB_MASK (0x4000U) |
|
#define | HSADC_CTRL2_STOPB_SHIFT (14U) |
|
#define | HSADC_CTRL2_STOPB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_STOPB_SHIFT)) & HSADC_CTRL2_STOPB_MASK) |
|
#define | HSADC_CTRL2_DMAENB_MASK (0x8000U) |
|
#define | HSADC_CTRL2_DMAENB_SHIFT (15U) |
|
#define | HSADC_CTRL2_DMAENB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CTRL2_DMAENB_SHIFT)) & HSADC_CTRL2_DMAENB_MASK) |
|
|
#define | HSADC_ZXCTRL1_ZCE0_MASK (0x3U) |
|
#define | HSADC_ZXCTRL1_ZCE0_SHIFT (0U) |
|
#define | HSADC_ZXCTRL1_ZCE0(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE0_SHIFT)) & HSADC_ZXCTRL1_ZCE0_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE1_MASK (0xCU) |
|
#define | HSADC_ZXCTRL1_ZCE1_SHIFT (2U) |
|
#define | HSADC_ZXCTRL1_ZCE1(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE1_SHIFT)) & HSADC_ZXCTRL1_ZCE1_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE2_MASK (0x30U) |
|
#define | HSADC_ZXCTRL1_ZCE2_SHIFT (4U) |
|
#define | HSADC_ZXCTRL1_ZCE2(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE2_SHIFT)) & HSADC_ZXCTRL1_ZCE2_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE3_MASK (0xC0U) |
|
#define | HSADC_ZXCTRL1_ZCE3_SHIFT (6U) |
|
#define | HSADC_ZXCTRL1_ZCE3(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE3_SHIFT)) & HSADC_ZXCTRL1_ZCE3_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE4_MASK (0x300U) |
|
#define | HSADC_ZXCTRL1_ZCE4_SHIFT (8U) |
|
#define | HSADC_ZXCTRL1_ZCE4(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE4_SHIFT)) & HSADC_ZXCTRL1_ZCE4_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE5_MASK (0xC00U) |
|
#define | HSADC_ZXCTRL1_ZCE5_SHIFT (10U) |
|
#define | HSADC_ZXCTRL1_ZCE5(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE5_SHIFT)) & HSADC_ZXCTRL1_ZCE5_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE6_MASK (0x3000U) |
|
#define | HSADC_ZXCTRL1_ZCE6_SHIFT (12U) |
|
#define | HSADC_ZXCTRL1_ZCE6(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE6_SHIFT)) & HSADC_ZXCTRL1_ZCE6_MASK) |
|
#define | HSADC_ZXCTRL1_ZCE7_MASK (0xC000U) |
|
#define | HSADC_ZXCTRL1_ZCE7_SHIFT (14U) |
|
#define | HSADC_ZXCTRL1_ZCE7(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL1_ZCE7_SHIFT)) & HSADC_ZXCTRL1_ZCE7_MASK) |
|
|
#define | HSADC_ZXCTRL2_ZCE8_MASK (0x3U) |
|
#define | HSADC_ZXCTRL2_ZCE8_SHIFT (0U) |
|
#define | HSADC_ZXCTRL2_ZCE8(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE8_SHIFT)) & HSADC_ZXCTRL2_ZCE8_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE9_MASK (0xCU) |
|
#define | HSADC_ZXCTRL2_ZCE9_SHIFT (2U) |
|
#define | HSADC_ZXCTRL2_ZCE9(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE9_SHIFT)) & HSADC_ZXCTRL2_ZCE9_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE10_MASK (0x30U) |
|
#define | HSADC_ZXCTRL2_ZCE10_SHIFT (4U) |
|
#define | HSADC_ZXCTRL2_ZCE10(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE10_SHIFT)) & HSADC_ZXCTRL2_ZCE10_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE11_MASK (0xC0U) |
|
#define | HSADC_ZXCTRL2_ZCE11_SHIFT (6U) |
|
#define | HSADC_ZXCTRL2_ZCE11(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE11_SHIFT)) & HSADC_ZXCTRL2_ZCE11_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE12_MASK (0x300U) |
|
#define | HSADC_ZXCTRL2_ZCE12_SHIFT (8U) |
|
#define | HSADC_ZXCTRL2_ZCE12(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE12_SHIFT)) & HSADC_ZXCTRL2_ZCE12_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE13_MASK (0xC00U) |
|
#define | HSADC_ZXCTRL2_ZCE13_SHIFT (10U) |
|
#define | HSADC_ZXCTRL2_ZCE13(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE13_SHIFT)) & HSADC_ZXCTRL2_ZCE13_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE14_MASK (0x3000U) |
|
#define | HSADC_ZXCTRL2_ZCE14_SHIFT (12U) |
|
#define | HSADC_ZXCTRL2_ZCE14(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE14_SHIFT)) & HSADC_ZXCTRL2_ZCE14_MASK) |
|
#define | HSADC_ZXCTRL2_ZCE15_MASK (0xC000U) |
|
#define | HSADC_ZXCTRL2_ZCE15_SHIFT (14U) |
|
#define | HSADC_ZXCTRL2_ZCE15(x) (((uint16_t)(((uint16_t)(x)) << HSADC_ZXCTRL2_ZCE15_SHIFT)) & HSADC_ZXCTRL2_ZCE15_MASK) |
|
|
#define | HSADC_CLIST1_SAMPLE0_MASK (0xFU) |
|
#define | HSADC_CLIST1_SAMPLE0_SHIFT (0U) |
|
#define | HSADC_CLIST1_SAMPLE0(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE0_SHIFT)) & HSADC_CLIST1_SAMPLE0_MASK) |
|
#define | HSADC_CLIST1_SAMPLE1_MASK (0xF0U) |
|
#define | HSADC_CLIST1_SAMPLE1_SHIFT (4U) |
|
#define | HSADC_CLIST1_SAMPLE1(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE1_SHIFT)) & HSADC_CLIST1_SAMPLE1_MASK) |
|
#define | HSADC_CLIST1_SAMPLE2_MASK (0xF00U) |
|
#define | HSADC_CLIST1_SAMPLE2_SHIFT (8U) |
|
#define | HSADC_CLIST1_SAMPLE2(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE2_SHIFT)) & HSADC_CLIST1_SAMPLE2_MASK) |
|
#define | HSADC_CLIST1_SAMPLE3_MASK (0xF000U) |
|
#define | HSADC_CLIST1_SAMPLE3_SHIFT (12U) |
|
#define | HSADC_CLIST1_SAMPLE3(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE3_SHIFT)) & HSADC_CLIST1_SAMPLE3_MASK) |
|
|
#define | HSADC_CLIST2_SAMPLE4_MASK (0xFU) |
|
#define | HSADC_CLIST2_SAMPLE4_SHIFT (0U) |
|
#define | HSADC_CLIST2_SAMPLE4(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE4_SHIFT)) & HSADC_CLIST2_SAMPLE4_MASK) |
|
#define | HSADC_CLIST2_SAMPLE5_MASK (0xF0U) |
|
#define | HSADC_CLIST2_SAMPLE5_SHIFT (4U) |
|
#define | HSADC_CLIST2_SAMPLE5(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE5_SHIFT)) & HSADC_CLIST2_SAMPLE5_MASK) |
|
#define | HSADC_CLIST2_SAMPLE6_MASK (0xF00U) |
|
#define | HSADC_CLIST2_SAMPLE6_SHIFT (8U) |
|
#define | HSADC_CLIST2_SAMPLE6(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE6_SHIFT)) & HSADC_CLIST2_SAMPLE6_MASK) |
|
#define | HSADC_CLIST2_SAMPLE7_MASK (0xF000U) |
|
#define | HSADC_CLIST2_SAMPLE7_SHIFT (12U) |
|
#define | HSADC_CLIST2_SAMPLE7(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE7_SHIFT)) & HSADC_CLIST2_SAMPLE7_MASK) |
|
|
#define | HSADC_CLIST3_SAMPLE8_MASK (0xFU) |
|
#define | HSADC_CLIST3_SAMPLE8_SHIFT (0U) |
|
#define | HSADC_CLIST3_SAMPLE8(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE8_SHIFT)) & HSADC_CLIST3_SAMPLE8_MASK) |
|
#define | HSADC_CLIST3_SAMPLE9_MASK (0xF0U) |
|
#define | HSADC_CLIST3_SAMPLE9_SHIFT (4U) |
|
#define | HSADC_CLIST3_SAMPLE9(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE9_SHIFT)) & HSADC_CLIST3_SAMPLE9_MASK) |
|
#define | HSADC_CLIST3_SAMPLE10_MASK (0xF00U) |
|
#define | HSADC_CLIST3_SAMPLE10_SHIFT (8U) |
|
#define | HSADC_CLIST3_SAMPLE10(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE10_SHIFT)) & HSADC_CLIST3_SAMPLE10_MASK) |
|
#define | HSADC_CLIST3_SAMPLE11_MASK (0xF000U) |
|
#define | HSADC_CLIST3_SAMPLE11_SHIFT (12U) |
|
#define | HSADC_CLIST3_SAMPLE11(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE11_SHIFT)) & HSADC_CLIST3_SAMPLE11_MASK) |
|
|
#define | HSADC_CLIST4_SAMPLE12_MASK (0xFU) |
|
#define | HSADC_CLIST4_SAMPLE12_SHIFT (0U) |
|
#define | HSADC_CLIST4_SAMPLE12(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE12_SHIFT)) & HSADC_CLIST4_SAMPLE12_MASK) |
|
#define | HSADC_CLIST4_SAMPLE13_MASK (0xF0U) |
|
#define | HSADC_CLIST4_SAMPLE13_SHIFT (4U) |
|
#define | HSADC_CLIST4_SAMPLE13(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE13_SHIFT)) & HSADC_CLIST4_SAMPLE13_MASK) |
|
#define | HSADC_CLIST4_SAMPLE14_MASK (0xF00U) |
|
#define | HSADC_CLIST4_SAMPLE14_SHIFT (8U) |
|
#define | HSADC_CLIST4_SAMPLE14(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE14_SHIFT)) & HSADC_CLIST4_SAMPLE14_MASK) |
|
#define | HSADC_CLIST4_SAMPLE15_MASK (0xF000U) |
|
#define | HSADC_CLIST4_SAMPLE15_SHIFT (12U) |
|
#define | HSADC_CLIST4_SAMPLE15(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE15_SHIFT)) & HSADC_CLIST4_SAMPLE15_MASK) |
|
|
#define | HSADC_STAT_CALONA_MASK (0x1U) |
|
#define | HSADC_STAT_CALONA_SHIFT (0U) |
|
#define | HSADC_STAT_CALONA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_CALONA_SHIFT)) & HSADC_STAT_CALONA_MASK) |
|
#define | HSADC_STAT_CALONB_MASK (0x2U) |
|
#define | HSADC_STAT_CALONB_SHIFT (1U) |
|
#define | HSADC_STAT_CALONB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_CALONB_SHIFT)) & HSADC_STAT_CALONB_MASK) |
|
#define | HSADC_STAT_DUMMYA_MASK (0x4U) |
|
#define | HSADC_STAT_DUMMYA_SHIFT (2U) |
|
#define | HSADC_STAT_DUMMYA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_DUMMYA_SHIFT)) & HSADC_STAT_DUMMYA_MASK) |
|
#define | HSADC_STAT_DUMMYB_MASK (0x8U) |
|
#define | HSADC_STAT_DUMMYB_SHIFT (3U) |
|
#define | HSADC_STAT_DUMMYB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_DUMMYB_SHIFT)) & HSADC_STAT_DUMMYB_MASK) |
|
#define | HSADC_STAT_EOCALIA_MASK (0x10U) |
|
#define | HSADC_STAT_EOCALIA_SHIFT (4U) |
|
#define | HSADC_STAT_EOCALIA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_EOCALIA_SHIFT)) & HSADC_STAT_EOCALIA_MASK) |
|
#define | HSADC_STAT_EOCALIB_MASK (0x20U) |
|
#define | HSADC_STAT_EOCALIB_SHIFT (5U) |
|
#define | HSADC_STAT_EOCALIB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_EOCALIB_SHIFT)) & HSADC_STAT_EOCALIB_MASK) |
|
#define | HSADC_STAT_HLMTI_MASK (0x100U) |
|
#define | HSADC_STAT_HLMTI_SHIFT (8U) |
|
#define | HSADC_STAT_HLMTI(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_HLMTI_SHIFT)) & HSADC_STAT_HLMTI_MASK) |
|
#define | HSADC_STAT_LLMTI_MASK (0x200U) |
|
#define | HSADC_STAT_LLMTI_SHIFT (9U) |
|
#define | HSADC_STAT_LLMTI(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_LLMTI_SHIFT)) & HSADC_STAT_LLMTI_MASK) |
|
#define | HSADC_STAT_ZCI_MASK (0x400U) |
|
#define | HSADC_STAT_ZCI_SHIFT (10U) |
|
#define | HSADC_STAT_ZCI(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_ZCI_SHIFT)) & HSADC_STAT_ZCI_MASK) |
|
#define | HSADC_STAT_EOSIA_MASK (0x800U) |
|
#define | HSADC_STAT_EOSIA_SHIFT (11U) |
|
#define | HSADC_STAT_EOSIA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_EOSIA_SHIFT)) & HSADC_STAT_EOSIA_MASK) |
|
#define | HSADC_STAT_EOSIB_MASK (0x1000U) |
|
#define | HSADC_STAT_EOSIB_SHIFT (12U) |
|
#define | HSADC_STAT_EOSIB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_EOSIB_SHIFT)) & HSADC_STAT_EOSIB_MASK) |
|
#define | HSADC_STAT_CIPB_MASK (0x4000U) |
|
#define | HSADC_STAT_CIPB_SHIFT (14U) |
|
#define | HSADC_STAT_CIPB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_CIPB_SHIFT)) & HSADC_STAT_CIPB_MASK) |
|
#define | HSADC_STAT_CIPA_MASK (0x8000U) |
|
#define | HSADC_STAT_CIPA_SHIFT (15U) |
|
#define | HSADC_STAT_CIPA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_STAT_CIPA_SHIFT)) & HSADC_STAT_CIPA_MASK) |
|
|
#define | HSADC_PWR_PDA_MASK (0x1U) |
|
#define | HSADC_PWR_PDA_SHIFT (0U) |
|
#define | HSADC_PWR_PDA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_PDA_SHIFT)) & HSADC_PWR_PDA_MASK) |
|
#define | HSADC_PWR_PDB_MASK (0x2U) |
|
#define | HSADC_PWR_PDB_SHIFT (1U) |
|
#define | HSADC_PWR_PDB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_PDB_SHIFT)) & HSADC_PWR_PDB_MASK) |
|
#define | HSADC_PWR_APD_MASK (0x8U) |
|
#define | HSADC_PWR_APD_SHIFT (3U) |
|
#define | HSADC_PWR_APD(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_APD_SHIFT)) & HSADC_PWR_APD_MASK) |
|
#define | HSADC_PWR_PUDELAY_MASK (0x3F0U) |
|
#define | HSADC_PWR_PUDELAY_SHIFT (4U) |
|
#define | HSADC_PWR_PUDELAY(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_PUDELAY_SHIFT)) & HSADC_PWR_PUDELAY_MASK) |
|
#define | HSADC_PWR_PSTSA_MASK (0x400U) |
|
#define | HSADC_PWR_PSTSA_SHIFT (10U) |
|
#define | HSADC_PWR_PSTSA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_PSTSA_SHIFT)) & HSADC_PWR_PSTSA_MASK) |
|
#define | HSADC_PWR_PSTSB_MASK (0x800U) |
|
#define | HSADC_PWR_PSTSB_SHIFT (11U) |
|
#define | HSADC_PWR_PSTSB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_PSTSB_SHIFT)) & HSADC_PWR_PSTSB_MASK) |
|
#define | HSADC_PWR_ASB_MASK (0x8000U) |
|
#define | HSADC_PWR_ASB_SHIFT (15U) |
|
#define | HSADC_PWR_ASB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_PWR_ASB_SHIFT)) & HSADC_PWR_ASB_MASK) |
|
|
#define | HSADC_CALIB_REQSINGA_MASK (0x1U) |
|
#define | HSADC_CALIB_REQSINGA_SHIFT (0U) |
|
#define | HSADC_CALIB_REQSINGA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_REQSINGA_SHIFT)) & HSADC_CALIB_REQSINGA_MASK) |
|
#define | HSADC_CALIB_REQDIFA_MASK (0x2U) |
|
#define | HSADC_CALIB_REQDIFA_SHIFT (1U) |
|
#define | HSADC_CALIB_REQDIFA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_REQDIFA_SHIFT)) & HSADC_CALIB_REQDIFA_MASK) |
|
#define | HSADC_CALIB_BYPA_MASK (0x4U) |
|
#define | HSADC_CALIB_BYPA_SHIFT (2U) |
|
#define | HSADC_CALIB_BYPA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_BYPA_SHIFT)) & HSADC_CALIB_BYPA_MASK) |
|
#define | HSADC_CALIB_CAL_REQA_MASK (0x8U) |
|
#define | HSADC_CALIB_CAL_REQA_SHIFT (3U) |
|
#define | HSADC_CALIB_CAL_REQA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_CAL_REQA_SHIFT)) & HSADC_CALIB_CAL_REQA_MASK) |
|
#define | HSADC_CALIB_REQSINGB_MASK (0x10U) |
|
#define | HSADC_CALIB_REQSINGB_SHIFT (4U) |
|
#define | HSADC_CALIB_REQSINGB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_REQSINGB_SHIFT)) & HSADC_CALIB_REQSINGB_MASK) |
|
#define | HSADC_CALIB_REQDIFB_MASK (0x20U) |
|
#define | HSADC_CALIB_REQDIFB_SHIFT (5U) |
|
#define | HSADC_CALIB_REQDIFB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_REQDIFB_SHIFT)) & HSADC_CALIB_REQDIFB_MASK) |
|
#define | HSADC_CALIB_BYPB_MASK (0x40U) |
|
#define | HSADC_CALIB_BYPB_SHIFT (6U) |
|
#define | HSADC_CALIB_BYPB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_BYPB_SHIFT)) & HSADC_CALIB_BYPB_MASK) |
|
#define | HSADC_CALIB_CAL_REQB_MASK (0x80U) |
|
#define | HSADC_CALIB_CAL_REQB_SHIFT (7U) |
|
#define | HSADC_CALIB_CAL_REQB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_CAL_REQB_SHIFT)) & HSADC_CALIB_CAL_REQB_MASK) |
|
#define | HSADC_CALIB_EOCALIEA_MASK (0x100U) |
|
#define | HSADC_CALIB_EOCALIEA_SHIFT (8U) |
|
#define | HSADC_CALIB_EOCALIEA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_EOCALIEA_SHIFT)) & HSADC_CALIB_EOCALIEA_MASK) |
|
#define | HSADC_CALIB_EOCALIEB_MASK (0x200U) |
|
#define | HSADC_CALIB_EOCALIEB_SHIFT (9U) |
|
#define | HSADC_CALIB_EOCALIEB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_CALIB_EOCALIEB_SHIFT)) & HSADC_CALIB_EOCALIEB_MASK) |
|
|
#define | HSADC_MUX67_SEL_CH6_SELA_MASK (0x7U) |
|
#define | HSADC_MUX67_SEL_CH6_SELA_SHIFT (0U) |
|
#define | HSADC_MUX67_SEL_CH6_SELA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_MUX67_SEL_CH6_SELA_SHIFT)) & HSADC_MUX67_SEL_CH6_SELA_MASK) |
|
#define | HSADC_MUX67_SEL_CH7_SELA_MASK (0x70U) |
|
#define | HSADC_MUX67_SEL_CH7_SELA_SHIFT (4U) |
|
#define | HSADC_MUX67_SEL_CH7_SELA(x) (((uint16_t)(((uint16_t)(x)) << HSADC_MUX67_SEL_CH7_SELA_SHIFT)) & HSADC_MUX67_SEL_CH7_SELA_MASK) |
|
#define | HSADC_MUX67_SEL_CH6_SELB_MASK (0x700U) |
|
#define | HSADC_MUX67_SEL_CH6_SELB_SHIFT (8U) |
|
#define | HSADC_MUX67_SEL_CH6_SELB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_MUX67_SEL_CH6_SELB_SHIFT)) & HSADC_MUX67_SEL_CH6_SELB_MASK) |
|
#define | HSADC_MUX67_SEL_CH7_SELB_MASK (0x7000U) |
|
#define | HSADC_MUX67_SEL_CH7_SELB_SHIFT (12U) |
|
#define | HSADC_MUX67_SEL_CH7_SELB(x) (((uint16_t)(((uint16_t)(x)) << HSADC_MUX67_SEL_CH7_SELB_SHIFT)) & HSADC_MUX67_SEL_CH7_SELB_MASK) |
|
#define HSADC_CLIST1_SAMPLE0 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE0_SHIFT)) & HSADC_CLIST1_SAMPLE0_MASK) |
SAMPLE0 - Sample Field 0 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST1_SAMPLE1 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE1_SHIFT)) & HSADC_CLIST1_SAMPLE1_MASK) |
SAMPLE1 - Sample Field 1 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST1_SAMPLE2 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE2_SHIFT)) & HSADC_CLIST1_SAMPLE2_MASK) |
SAMPLE2 - Sample Field 2 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST1_SAMPLE3 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST1_SAMPLE3_SHIFT)) & HSADC_CLIST1_SAMPLE3_MASK) |
SAMPLE3 - Sample Field 3 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST2_SAMPLE4 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE4_SHIFT)) & HSADC_CLIST2_SAMPLE4_MASK) |
SAMPLE4 - Sample Field 4 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST2_SAMPLE5 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE5_SHIFT)) & HSADC_CLIST2_SAMPLE5_MASK) |
SAMPLE5 - Sample Field 5 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST2_SAMPLE6 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE6_SHIFT)) & HSADC_CLIST2_SAMPLE6_MASK) |
SAMPLE6 - Sample Field 6 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST2_SAMPLE7 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST2_SAMPLE7_SHIFT)) & HSADC_CLIST2_SAMPLE7_MASK) |
SAMPLE7 - Sample Field 7 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST3_SAMPLE10 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE10_SHIFT)) & HSADC_CLIST3_SAMPLE10_MASK) |
SAMPLE10 - Sample Field 10 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST3_SAMPLE11 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE11_SHIFT)) & HSADC_CLIST3_SAMPLE11_MASK) |
SAMPLE11 - Sample Field 11 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST3_SAMPLE8 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE8_SHIFT)) & HSADC_CLIST3_SAMPLE8_MASK) |
SAMPLE8 - Sample Field 8 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST3_SAMPLE9 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST3_SAMPLE9_SHIFT)) & HSADC_CLIST3_SAMPLE9_MASK) |
SAMPLE9 - Sample Field 9 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST4_SAMPLE12 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE12_SHIFT)) & HSADC_CLIST4_SAMPLE12_MASK) |
SAMPLE12 - Sample Field 12 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST4_SAMPLE13 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE13_SHIFT)) & HSADC_CLIST4_SAMPLE13_MASK) |
SAMPLE13 - Sample Field 13 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST4_SAMPLE14 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE14_SHIFT)) & HSADC_CLIST4_SAMPLE14_MASK) |
SAMPLE14 - Sample Field 14 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7- 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-
#define HSADC_CLIST4_SAMPLE15 |
( |
| x | ) |
(((uint16_t)(((uint16_t)(x)) << HSADC_CLIST4_SAMPLE15_SHIFT)) & HSADC_CLIST4_SAMPLE15_MASK) |
SAMPLE15 - Sample Field 15 0b0000..Single Ended: ANA0, Differential: ANA0+, ANA1- 0b0001..Single Ended: ANA1, Differential: ANA0+, ANA1- 0b0010..Single Ended: ANA2, Differential: ANA2+, ANA3- 0b0011..Single Ended: ANA3, Differential: ANA2+, ANA3- 0b0100..Single Ended: ANA4, Differential: ANA4+, ANA5- 0b0101..Single Ended: ANA5, Differential: ANA4+, ANA5- 0b0110..Single Ended: ANA6, Differential: ANA6+, ANA7- 0b0111..Single Ended: ANA7, Differential: ANA6+, ANA7- 0b1000..Single Ended: ANB0, Differential: ANB0+, ANB1- 0b1001..Single Ended: ANB1, Differential: ANB0+, ANB1- 0b1010..Single Ended: ANB2, Differential: ANB2+, ANB3- 0b1011..Single Ended: ANB3, Differential: ANB2+, ANB3- 0b1100..Single Ended: ANB4, Differential: ANB4+, ANB5- 0b1101..Single Ended: ANB5, Differential: ANB4+, ANB5- 0b1110..Single Ended: ANB6, Differential: ANB6+, ANB7-. See Input Multiplex Function section for more details. 0b1111..Single Ended: ANB7, Differential: ANB6+, ANB7-