Lines Matching refs:init
114 void EFUSE_Init(EFUSE_InitTypeDef* init) { in EFUSE_Init() argument
115 assert_param(init); in EFUSE_Init()
116 assert_param(IS_EFUSE_TMRF(init->EFUSE_TMRF)); in EFUSE_Init()
118 efuse_SetClock(init->EFUSE_ClockDividor); in EFUSE_Init()
119 EFUSE->USER_CTRL_LOW_b.TMRF = init->EFUSE_TMRF; in EFUSE_Init()
120 EFUSE->USER_CTRL_HI_b.TMRF = init->EFUSE_TMRF; in EFUSE_Init()
121 if (init->timing) { in EFUSE_Init()
124 value = (init->timing->EFUSE_Tpwph * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
129 value = (init->timing->EFUSE_Trac * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
133 value = (init->timing->EFUSE_Trah * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
137 value = (init->timing->EFUSE_Trpw * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
141 value = (init->timing->EFUSE_Trc * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
145 value = (init->timing->EFUSE_Tesr * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
149 value = (init->timing->EFUSE_Tprs * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
153 value = (init->timing->EFUSE_Tpi * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
157 value = (init->timing->EFUSE_Tpp * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
161 value = (init->timing->EFUSE_Teps * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()
165 value = (init->timing->EFUSE_Teps * (efuse_GetClock() / 1000000) / 1000); in EFUSE_Init()