Searched refs:peripheral_id (Results 1 – 4 of 4) sorted by relevance
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/pac/pac_sam_l_c/ |
| A D | pac.c | 69 const uint32_t peripheral_id, in system_peripheral_lock() argument 73 if (~peripheral_id != key) { in system_peripheral_lock() 78 PAC->WRCTRL.reg = peripheral_id | PAC_WRCTRL_KEY(PAC_WRCTRL_KEY_SET_Val); in system_peripheral_lock() 104 const uint32_t peripheral_id, in system_peripheral_lock_always() argument 108 if (~peripheral_id != key) { in system_peripheral_lock_always() 113 PAC->WRCTRL.reg = peripheral_id | PAC_WRCTRL_KEY(PAC_WRCTRL_KEY_SETLCK_Val); in system_peripheral_lock_always() 138 const uint32_t peripheral_id, in system_peripheral_unlock() argument 142 if (~peripheral_id != key) { in system_peripheral_unlock() 147 PAC->WRCTRL.reg = peripheral_id | PAC_WRCTRL_KEY(PAC_WRCTRL_KEY_CLR_Val); in system_peripheral_unlock()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/pac/pac_sam_d_r_h/ |
| A D | pac.c | 69 const uint32_t peripheral_id, in system_peripheral_lock() argument 73 uint8_t register_bit_pos = peripheral_id % 32; in system_peripheral_lock() 77 uint8_t register_pos = peripheral_id / 32; in system_peripheral_lock() 80 if (~peripheral_id != key) { in system_peripheral_lock() 131 const uint32_t peripheral_id, in system_peripheral_unlock() argument 135 uint8_t register_bit_pos = peripheral_id % 32; in system_peripheral_unlock() 139 uint8_t register_pos = peripheral_id / 32; in system_peripheral_unlock() 142 if (~peripheral_id != key) { in system_peripheral_unlock()
|
| /bsp/sam7x/drivers/ |
| A D | serial.c | 65 rt_uint16_t peripheral_id; member 127 RT_ASSERT((serial->peripheral_id == AT91C_ID_US0) || in rt_serial_init() 128 (serial->peripheral_id == AT91C_ID_US1)); in rt_serial_init() 131 AT91C_PMC_PCER = 1 << serial->peripheral_id; in rt_serial_init() 134 if (serial->peripheral_id == AT91C_ID_US0) in rt_serial_init() 140 else if (serial->peripheral_id == AT91C_ID_US1) in rt_serial_init() 190 rt_hw_interrupt_install(serial->peripheral_id, rt_hw_serial_isr, serial, "uart"); in rt_serial_open() 194 AT91C_AIC_SMR(serial->peripheral_id) = 5; in rt_serial_open() 195 rt_hw_interrupt_umask(serial->peripheral_id); in rt_serial_open() 352 serial1.peripheral_id = AT91C_ID_US0; in rt_hw_serial_init() [all …]
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/pac/ |
| A D | pac.h | 682 const uint32_t peripheral_id, 686 const uint32_t peripheral_id, 695 const uint32_t peripheral_id,
|
Completed in 9 milliseconds