Searched refs:periph_cfg (Results 1 – 1 of 1) sorted by relevance
80 uint8_t *periph_cfg; member120 etzpc_dev.periph_cfg[decprot_id] &= ~PERIPH_PM_ATTR_MASK; in etzpc_configure_decprot()121 etzpc_dev.periph_cfg[decprot_id] |= (uint8_t)decprot_attr; in etzpc_configure_decprot()150 etzpc_dev.periph_cfg[decprot_id] |= PERIPH_PM_LOCK_BIT; in etzpc_lock_decprot()225 unsigned int attr = dev->periph_cfg[n] & PERIPH_PM_ATTR_MASK; in etzpc_pm()229 if (dev->periph_cfg[n] & PERIPH_PM_LOCK_BIT) in etzpc_pm()250 dev->periph_cfg = calloc(dev->num_per_sec, sizeof(*dev->periph_cfg)); in init_pm()252 if (!dev->periph_cfg || !dev->tzma_cfg) in init_pm()256 dev->periph_cfg[n] = (uint8_t)etzpc_get_decprot(n); in init_pm()258 dev->periph_cfg[n] |= PERIPH_PM_LOCK_BIT; in init_pm()
Completed in 3 milliseconds