Lines Matching refs:uint32_t

373       uint32_t trig_mode:1; /**< Selects trigger Mode. Use type @ref XMC_BCCU_TRIGMODE_t */
374 uint32_t : 1;
375uint32_t trig_delay:2; /**< Selects trigger delay between channel & module trigger. \n Use type @r…
377 uint32_t : 12;
378 uint32_t maxzero_at_output:12; /**< Configures maximum 0's allowed at modulator output */
380 uint32_t globcon; /* Not to use */
384 uint32_t fclk_ps:12; /**< Configures the ratio between fast clock and module clock */
385 uint32_t : 3;
386 uint32_t bclk_sel:1; /**< Selects the bit clock. Use type @ref XMC_BCCU_BCLK_MODE_t */
387 uint32_t dclk_ps:12; /**< Configures the ratio between dimmer clock and module clock */
389 uint32_t globclk; /* Not to use */
391 uint32_t global_dimlevel; /**< Configures global dimming engine dimming level */
413 uint32_t pack_thresh:3; /**< Configures packer threshold value of FIFO */
414 uint32_t pack_en:1; /**< Enables a packed output bitstream */
415uint32_t dim_sel:3; /**< Selects a dimming engine source of the channel. \n Use type @ref XMC_BCCU…
416uint32_t dim_bypass:1; /**< Selects dimming engine bypass enable. \n Use type @ref XMC_BCCU_CH_DIM…
417 uint32_t gate_en:1; /**< Selects gating enable. Use type @ref XMC_BCCU_CH_GATING_FUNC_t */
418uint32_t flick_wd_en:1; /**< Selects flicker watchdog enable. Use type @ref XMC_BCCU_CH_FLICKER_WD…
419 uint32_t trig_edge:1; /**< Selects trigger edge. Use type @ref XMC_BCCU_CH_TRIG_EDGE_t */
420uint32_t force_trig_en:1; /**< Selects force trigger enable; generates a trigger if modulator outp…
422uint32_t pack_offcmp_lev:8; /**< Configures a packer off-time compare level. When the off-time cou…
424uint32_t pack_oncmp_lev:8; /**< Configures a packer on-time compare level. When the on-time counte…
426uint32_t pack_offcnt_val:8; /**< Configures an initial packer off-time counter level, only if chan…
428uint32_t pack_oncnt_val:8; /**< Configures an initial packer on-time counter level, only if channe…
437 uint32_t pack_thresh:3; /**< Configures packer threshold value of FIFO */
438 uint32_t pack_en:1; /**< Enables a packed output bitstream */
439uint32_t dim_sel:3; /**< Selects a dimming engine source of the channel. \n Use type @ref XMC_BCCU…
441uint32_t dim_bypass:1; /**< Selects dimming engine bypass enable. \n Use type @ref XMC_BCCU_CH_DIM…
442 uint32_t gate_en:1; /**< Selects gating enable. Use type @ref XMC_BCCU_CH_GATING_FUNC_t */
443uint32_t flick_wd_en:1; /**< Selects flicker watchdog enable. Use type @ref XMC_BCCU_CH_FLICKER_WD…
444 uint32_t trig_edge:1; /**< Selects trigger edge. Use type @ref XMC_BCCU_CH_TRIG_EDGE_t */
445uint32_t force_trig_en:1; /**< Selects force trigger enable; generates a trigger if modulator outp…
448 uint32_t chconfig; /* Not to use */
452uint32_t pack_offcmp_lev:8; /**< Configures a packer off-time compare level. When the off-time cou…
454 uint32_t : 8;
455uint32_t pack_oncmp_lev:8; /**< Configures a packer on-time compare level. When the on-time counte…
458 uint32_t pkcmp; /* Not to use */
462uint32_t pack_offcnt_val:8; /**< Configures an initial packer off-time counter level, only if chan…
464 uint32_t : 8;
465uint32_t pack_oncnt_val:8; /**< Configures an initial packer on-time counter level, only if channe…
468 uint32_t pkcntr; /* Not to use */
478uint32_t dim_div:10; /**< Configures a dimming clock divider, used to adjust the fade rate. If 0, …
480uint32_t dither_en:1; /**< Selects a dither enable. Dithering added for every dimming step if dimm…
481uint32_t cur_sel:1; /**< Selects a type of exponential curve. Use type @ref XMC_BCCU_DIM_CURVE_t. …
490uint32_t dim_div:10; /**< Configures a dimming clock divider, used to adjust the fade rate. If 0, …
492 uint32_t : 6;
493uint32_t dither_en:1; /**< Selects a dither enable. Dithering added for every dimming step if dimm…
494uint32_t cur_sel:1; /**< Selects a type of exponential curve. Use type @ref XMC_BCCU_DIM_CURVE_t. …
497 uint32_t dtt; /* Not to use */
567 __STATIC_INLINE uint32_t XMC_BCCU_ReadGlobalTrigger (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadGlobalTrigger()
569 return (uint32_t)(bccu->GLOBCON & BCCU_GLOBCON_TM_Msk); in XMC_BCCU_ReadGlobalTrigger()
603 __STATIC_INLINE uint32_t XMC_BCCU_ReadTrapInput (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadTrapInput()
605 return (uint32_t)(( (bccu->GLOBCON) & BCCU_GLOBCON_TRAPIS_Msk) >> BCCU_GLOBCON_TRAPIS_Pos); in XMC_BCCU_ReadTrapInput()
638 __STATIC_INLINE uint32_t XMC_BCCU_ReadTrapEdge (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadTrapEdge()
640 return (uint32_t)(( (bccu->GLOBCON) & BCCU_GLOBCON_TRAPED_Msk) >> BCCU_GLOBCON_TRAPED_Pos); in XMC_BCCU_ReadTrapEdge()
674 __STATIC_INLINE uint32_t XMC_BCCU_ReadSuspendMode (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadSuspendMode()
676 return (uint32_t)( ((bccu->GLOBCON) & BCCU_GLOBCON_SUSCFG_Msk) >> BCCU_GLOBCON_SUSCFG_Pos); in XMC_BCCU_ReadSuspendMode()
693 __STATIC_INLINE uint32_t XMC_BCCU_ReadLastTrigChanNr (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadLastTrigChanNr()
695 return (uint32_t)(( (bccu->GLOBCON) & BCCU_GLOBCON_LTRS_Msk) >> BCCU_GLOBCON_LTRS_Pos); in XMC_BCCU_ReadLastTrigChanNr()
712 void XMC_BCCU_SetFlickerWDThreshold (XMC_BCCU_t *const bccu, uint32_t threshold_no);
726 __STATIC_INLINE uint32_t XMC_BCCU_ReadFlickerWDThreshold (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadFlickerWDThreshold()
728 return (uint32_t)(( (bccu->GLOBCON) & BCCU_GLOBCON_WDMBN_Msk) >> BCCU_GLOBCON_WDMBN_Pos); in XMC_BCCU_ReadFlickerWDThreshold()
744 void XMC_BCCU_SetFastClockPrescaler (XMC_BCCU_t *const bccu, uint32_t div);
758 __STATIC_INLINE uint32_t XMC_BCCU_ReadFastClock (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadFastClock()
760 return (uint32_t)(((bccu->GLOBCLK) & BCCU_GLOBCLK_FCLK_PS_Msk) >> BCCU_GLOBCLK_FCLK_PS_Pos); in XMC_BCCU_ReadFastClock()
776 void XMC_BCCU_SetDimClockPrescaler (XMC_BCCU_t *const bccu, uint32_t div);
790 __STATIC_INLINE uint32_t XMC_BCCU_ReadDimClock (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadDimClock()
792 return (uint32_t)(((bccu->GLOBCLK) & BCCU_GLOBCLK_DCLK_PS_Msk) >> BCCU_GLOBCLK_DCLK_PS_Pos); in XMC_BCCU_ReadDimClock()
824 __STATIC_INLINE uint32_t XMC_BCCU_ReadBitClock (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadBitClock()
826 return (uint32_t)(((bccu->GLOBCLK) & BCCU_GLOBCLK_BCS_Msk) >> BCCU_GLOBCLK_BCS_Pos); in XMC_BCCU_ReadBitClock()
847 void XMC_BCCU_ConcurrentEnableChannels (XMC_BCCU_t *const bccu, uint32_t mask);
867 void XMC_BCCU_ConcurrentDisableChannels (XMC_BCCU_t *const bccu, uint32_t mask);
889 void XMC_BCCU_ConcurrentSetOutputPassiveLevel(XMC_BCCU_t *const bccu, uint32_t chan_mask, XMC_BCCU_…
909 void XMC_BCCU_ConcurrentEnableTrap (XMC_BCCU_t *const bccu, uint32_t mask);
929 void XMC_BCCU_ConcurrentDisableTrap (XMC_BCCU_t *const bccu, uint32_t mask);
967 void XMC_BCCU_ConcurrentStartLinearWalk (XMC_BCCU_t *const bccu, uint32_t mask);
988 void XMC_BCCU_ConcurrentAbortLinearWalk (XMC_BCCU_t *const bccu, uint32_t mask);
1008 void XMC_BCCU_ConcurrentEnableDimmingEngine (XMC_BCCU_t *const bccu, uint32_t mask);
1028 void XMC_BCCU_ConcurrentDisableDimmingEngine (XMC_BCCU_t *const bccu, uint32_t mask);
1049 void XMC_BCCU_ConcurrentStartDimming (XMC_BCCU_t *const bccu, uint32_t mask);
1070 void XMC_BCCU_ConcurrentAbortDimming (XMC_BCCU_t *const bccu, uint32_t mask);
1086 void XMC_BCCU_SetGlobalDimmingLevel (XMC_BCCU_t *const bccu, uint32_t level);
1104 __STATIC_INLINE void XMC_BCCU_EnableInterrupt (XMC_BCCU_t *const bccu, uint32_t event) in XMC_BCCU_EnableInterrupt()
1125 __STATIC_INLINE void XMC_BCCU_DisableInterrupt (XMC_BCCU_t *const bccu, uint32_t event) in XMC_BCCU_DisableInterrupt()
1127 bccu->EVIER &= (uint32_t)~(event); in XMC_BCCU_DisableInterrupt()
1142 __STATIC_INLINE uint32_t XMC_BCCU_ReadEventFlag (XMC_BCCU_t *const bccu) in XMC_BCCU_ReadEventFlag()
1164 __STATIC_INLINE void XMC_BCCU_SetEventFlag (XMC_BCCU_t *const bccu, uint32_t flag_type) in XMC_BCCU_SetEventFlag()
1187 __STATIC_INLINE void XMC_BCCU_ClearEventFlag (XMC_BCCU_t *const bccu, uint32_t flag_type) in XMC_BCCU_ClearEventFlag()
1205 void XMC_BCCU_EnableChannel (XMC_BCCU_t *const bccu, uint32_t chan_no);
1220 void XMC_BCCU_DisableChannel (XMC_BCCU_t *const bccu, uint32_t chan_no);
1237 void XMC_BCCU_SetOutputPassiveLevel(XMC_BCCU_t *const bccu, uint32_t chan_no, XMC_BCCU_CH_ACTIVE_LE…
1252 void XMC_BCCU_EnableTrap (XMC_BCCU_t *const bccu, uint32_t chan_no);
1267 void XMC_BCCU_DisableTrap (XMC_BCCU_t *const bccu, uint32_t chan_no);
1284 void XMC_BCCU_EnableChannelTrigger (XMC_BCCU_t *const bccu, uint32_t chan_no, XMC_BCCU_CH_TRIGOUT_t…
1299 void XMC_BCCU_DisableChannelTrigger (XMC_BCCU_t *const bccu, uint32_t chan_no);
1336 …ConfigTrigger (XMC_BCCU_CH_t *const channel, XMC_BCCU_CH_TRIG_EDGE_t edge, uint32_t force_trig_en);
1353 __STATIC_INLINE void XMC_BCCU_StartLinearWalk (XMC_BCCU_t *const bccu, uint32_t chan_no) in XMC_BCCU_StartLinearWalk()
1355 bccu->CHSTRCON |= (uint32_t)(BCCU_CHSTRCON_CH0S_Msk << chan_no); in XMC_BCCU_StartLinearWalk()
1372 __STATIC_INLINE void XMC_BCCU_AbortLinearWalk (XMC_BCCU_t *const bccu, uint32_t chan_no) in XMC_BCCU_AbortLinearWalk()
1374 bccu->CHSTRCON |= (uint32_t)(BCCU_CHSTRCON_CH0A_Msk << chan_no); in XMC_BCCU_AbortLinearWalk()
1390 __STATIC_INLINE uint32_t XMC_BCCU_GetChannelOutputLvlAtLastTrigger (XMC_BCCU_t *const bccu, uint32_… in XMC_BCCU_GetChannelOutputLvlAtLastTrigger()
1392 return (uint32_t)((bccu->LTCHOL & (BCCU_LTCHOL_LTOL0_Msk << chan_no)) >> chan_no); in XMC_BCCU_GetChannelOutputLvlAtLastTrigger()
1406 void XMC_BCCU_CH_SetLinearWalkPrescaler (XMC_BCCU_CH_t *const channel, uint32_t clk_div);
1420 __STATIC_INLINE uint32_t XMC_BCCU_IsLinearWalkComplete (XMC_BCCU_t *const bccu, uint32_t chan_no) in XMC_BCCU_IsLinearWalkComplete()
1422 return (uint32_t)((bccu->CHSTRCON & (BCCU_CHSTRCON_CH0S_Msk << chan_no)) >> chan_no); in XMC_BCCU_IsLinearWalkComplete()
1439 void XMC_BCCU_CH_SetTargetIntensity (XMC_BCCU_CH_t *const channel, uint32_t ch_int);
1452 uint32_t XMC_BCCU_CH_ReadIntensity (XMC_BCCU_CH_t *const channel);
1474 …C_BCCU_CH_EnablePacker (XMC_BCCU_CH_t *const channel, uint32_t thresh, uint32_t off_comp, uint32_t
1489 void XMC_BCCU_CH_SetPackerThreshold (XMC_BCCU_CH_t *const channel, uint32_t val);
1506 void XMC_BCCU_CH_SetPackerOffCompare (XMC_BCCU_CH_t *const channel, uint32_t level);
1523 void XMC_BCCU_CH_SetPackerOnCompare (XMC_BCCU_CH_t *const channel, uint32_t level);
1536 __STATIC_INLINE uint32_t XMC_BCCU_CH_ReadPackerThreshold (XMC_BCCU_CH_t *const channel) in XMC_BCCU_CH_ReadPackerThreshold()
1538 return (uint32_t)((channel->CHCONFIG) & BCCU_CH_CHCONFIG_PKTH_Msk); in XMC_BCCU_CH_ReadPackerThreshold()
1553 __STATIC_INLINE uint32_t XMC_BCCU_CH_ReadPackerOffCompare (XMC_BCCU_CH_t *const channel) in XMC_BCCU_CH_ReadPackerOffCompare()
1555 return (uint32_t)((channel->PKCMP) & BCCU_CH_PKCMP_OFFCMP_Msk); in XMC_BCCU_CH_ReadPackerOffCompare()
1570 __STATIC_INLINE uint32_t XMC_BCCU_CH_ReadPackerOnCompare (XMC_BCCU_CH_t *const channel) in XMC_BCCU_CH_ReadPackerOnCompare()
1572 return (uint32_t)(((channel->PKCMP) & BCCU_CH_PKCMP_ONCMP_Msk) >> BCCU_CH_PKCMP_ONCMP_Pos); in XMC_BCCU_CH_ReadPackerOnCompare()
1604 void XMC_BCCU_CH_SetPackerOffCounter (XMC_BCCU_CH_t *const channel, uint32_t cnt_val);
1621 void XMC_BCCU_CH_SetPackerOnCounter (XMC_BCCU_CH_t *const channel, uint32_t cnt_val);
1681 channel->CHCONFIG |= (uint32_t)(BCCU_CH_CHCONFIG_GEN_Msk); in XMC_BCCU_CH_EnableGating()
1699 channel->CHCONFIG &= ~(uint32_t)(BCCU_CH_CHCONFIG_GEN_Msk); in XMC_BCCU_CH_DisableGating()
1718 channel->CHCONFIG |= (uint32_t)(BCCU_CH_CHCONFIG_WEN_Msk); in XMC_BCCU_CH_EnableFlickerWatchdog()
1737 channel->CHCONFIG &= ~(uint32_t)(BCCU_CH_CHCONFIG_WEN_Msk); in XMC_BCCU_CH_DisableFlickerWatchdog()
1769 __STATIC_INLINE void XMC_BCCU_EnableDimmingEngine (XMC_BCCU_t *const bccu, uint32_t dim_no) in XMC_BCCU_EnableDimmingEngine()
1771 bccu->DEEN |= (uint32_t)(BCCU_DEEN_EDE0_Msk << dim_no); in XMC_BCCU_EnableDimmingEngine()
1787 __STATIC_INLINE void XMC_BCCU_DisableDimmingEngine (XMC_BCCU_t *const bccu, uint32_t dim_no) in XMC_BCCU_DisableDimmingEngine()
1789 bccu->DEEN &= ~(uint32_t)(BCCU_DEEN_EDE0_Msk << dim_no); in XMC_BCCU_DisableDimmingEngine()
1806 __STATIC_INLINE void XMC_BCCU_StartDimming (XMC_BCCU_t *const bccu, uint32_t dim_no) in XMC_BCCU_StartDimming()
1808 bccu->DESTRCON = (uint32_t)(BCCU_DESTRCON_DE0S_Msk << dim_no); in XMC_BCCU_StartDimming()
1825 __STATIC_INLINE void XMC_BCCU_AbortDimming (XMC_BCCU_t *const bccu, uint32_t dim_no) in XMC_BCCU_AbortDimming()
1827 bccu->DESTRCON = (uint32_t)(BCCU_DESTRCON_DE0A_Msk << dim_no); in XMC_BCCU_AbortDimming()
1843 __STATIC_INLINE uint32_t XMC_BCCU_IsDimmingFinished (XMC_BCCU_t *const bccu, uint32_t dim_no) in XMC_BCCU_IsDimmingFinished()
1845 return (uint32_t)((bccu->DESTRCON & (BCCU_DESTRCON_DE0S_Msk << dim_no)) >> dim_no); in XMC_BCCU_IsDimmingFinished()
1863 void XMC_BCCU_DIM_SetTargetDimmingLevel (XMC_BCCU_DIM_t *const dim_engine, uint32_t level);
1876 __STATIC_INLINE uint32_t XMC_BCCU_DIM_ReadDimmingLevel (XMC_BCCU_DIM_t *const dim_engine) in XMC_BCCU_DIM_ReadDimmingLevel()
1878 return (uint32_t)(dim_engine->DL & BCCU_DE_DL_DLEV_Msk); in XMC_BCCU_DIM_ReadDimmingLevel()
1895 void XMC_BCCU_DIM_SetDimDivider (XMC_BCCU_DIM_t *const dim_engine, uint32_t div);
1908 __STATIC_INLINE uint32_t XMC_BCCU_DIM_ReadDimDivider(XMC_BCCU_DIM_t *const dim_engine) in XMC_BCCU_DIM_ReadDimDivider()
1910 return (uint32_t)(dim_engine->DTT & BCCU_DE_DTT_DIMDIV_Msk); in XMC_BCCU_DIM_ReadDimDivider()
1928 void XMC_BCCU_DIM_ConfigDimCurve (XMC_BCCU_DIM_t *const dim_engine, uint32_t dither_en, XMC_BCCU_DI…
1957 __STATIC_INLINE uint32_t XMC_BCCU_IsDitherEnable(XMC_BCCU_DIM_t *const dim_engine) in XMC_BCCU_IsDitherEnable()
1959 return (uint32_t)((dim_engine->DTT & BCCU_DE_DTT_DTEN_Msk) >> BCCU_DE_DTT_DTEN_Pos); in XMC_BCCU_IsDitherEnable()