Searched refs:submodule_index (Results 1 – 4 of 4) sorted by relevance
/loramac-node-3.4.0/src/boards/mcu/saml21/hri/ |
D | hri_usb_l21.h | 146 static inline void hri_usbpipe_set_PSTATUS_DTGL_bit(const void *const hw, uint8_t submodule_index) in hri_usbpipe_set_PSTATUS_DTGL_bit() argument 148 ((UsbHost *)hw)->HostPipe[submodule_index].PSTATUSSET.reg = USB_HOST_PSTATUS_DTGL; in hri_usbpipe_set_PSTATUS_DTGL_bit() 151 static inline bool hri_usbpipe_get_PSTATUS_DTGL_bit(const void *const hw, uint8_t submodule_index) in hri_usbpipe_get_PSTATUS_DTGL_bit() argument 153 return (((UsbHost *)hw)->HostPipe[submodule_index].PSTATUS.reg & USB_HOST_PSTATUS_DTGL) in hri_usbpipe_get_PSTATUS_DTGL_bit() 157 static inline void hri_usbpipe_write_PSTATUS_DTGL_bit(const void *const hw, uint8_t submodule_index… in hri_usbpipe_write_PSTATUS_DTGL_bit() argument 160 ((UsbHost *)hw)->HostPipe[submodule_index].PSTATUSCLR.reg = USB_HOST_PSTATUS_DTGL; in hri_usbpipe_write_PSTATUS_DTGL_bit() 162 ((UsbHost *)hw)->HostPipe[submodule_index].PSTATUSSET.reg = USB_HOST_PSTATUS_DTGL; in hri_usbpipe_write_PSTATUS_DTGL_bit() 166 static inline void hri_usbpipe_clear_PSTATUS_DTGL_bit(const void *const hw, uint8_t submodule_index) in hri_usbpipe_clear_PSTATUS_DTGL_bit() argument 168 ((UsbHost *)hw)->HostPipe[submodule_index].PSTATUSCLR.reg = USB_HOST_PSTATUS_DTGL; in hri_usbpipe_clear_PSTATUS_DTGL_bit() 171 static inline void hri_usbpipe_set_PSTATUS_CURBK_bit(const void *const hw, uint8_t submodule_index) in hri_usbpipe_set_PSTATUS_CURBK_bit() argument [all …]
|
D | hri_port_l21.h | 1267 static inline void hri_port_set_DIR_DIR_bf(const void *const hw, uint8_t submodule_index, hri_port_… in hri_port_set_DIR_DIR_bf() argument 1269 ((Port *)hw)->Group[submodule_index].DIRSET.reg = PORT_DIR_DIR(mask); in hri_port_set_DIR_DIR_bf() 1272 …ic inline hri_port_dir_reg_t hri_port_get_DIR_DIR_bf(const void *const hw, uint8_t submodule_index, in hri_port_get_DIR_DIR_bf() argument 1276 tmp = ((Port *)hw)->Group[submodule_index].DIR.reg; in hri_port_get_DIR_DIR_bf() 1281 …c inline hri_port_dir_reg_t hri_port_read_DIR_DIR_bf(const void *const hw, uint8_t submodule_index) in hri_port_read_DIR_DIR_bf() argument 1284 tmp = ((Port *)hw)->Group[submodule_index].DIR.reg; in hri_port_read_DIR_DIR_bf() 1289 static inline void hri_port_write_DIR_DIR_bf(const void *const hw, uint8_t submodule_index, hri_por… in hri_port_write_DIR_DIR_bf() argument 1291 ((Port *)hw)->Group[submodule_index].DIRSET.reg = PORT_DIR_DIR(data); in hri_port_write_DIR_DIR_bf() 1292 ((Port *)hw)->Group[submodule_index].DIRCLR.reg = ~PORT_DIR_DIR(data); in hri_port_write_DIR_DIR_bf() 1295 static inline void hri_port_clear_DIR_DIR_bf(const void *const hw, uint8_t submodule_index, hri_por… in hri_port_clear_DIR_DIR_bf() argument [all …]
|
D | hri_rtc_l21.h | 130 static inline void hri_rtcalarm_set_ALARM_SECOND_bf(const void *const hw, uint8_t submodule_index, in hri_rtcalarm_set_ALARM_SECOND_bf() argument 134 ((RtcMode2 *)hw)->Mode2Alarm[submodule_index].ALARM.reg |= RTC_MODE2_ALARM_SECOND(mask); in hri_rtcalarm_set_ALARM_SECOND_bf() 138 …tcalarm_alarm_reg_t hri_rtcalarm_get_ALARM_SECOND_bf(const void *const hw, uint8_t submodule_index, in hri_rtcalarm_get_ALARM_SECOND_bf() argument 142 tmp = ((RtcMode2 *)hw)->Mode2Alarm[submodule_index].ALARM.reg; in hri_rtcalarm_get_ALARM_SECOND_bf() 147 static inline void hri_rtcalarm_write_ALARM_SECOND_bf(const void *const hw, uint8_t submodule_index, in hri_rtcalarm_write_ALARM_SECOND_bf() argument 152 tmp = ((RtcMode2 *)hw)->Mode2Alarm[submodule_index].ALARM.reg; in hri_rtcalarm_write_ALARM_SECOND_bf() 155 ((RtcMode2 *)hw)->Mode2Alarm[submodule_index].ALARM.reg = tmp; in hri_rtcalarm_write_ALARM_SECOND_bf() 159 static inline void hri_rtcalarm_clear_ALARM_SECOND_bf(const void *const hw, uint8_t submodule_index, in hri_rtcalarm_clear_ALARM_SECOND_bf() argument 163 ((RtcMode2 *)hw)->Mode2Alarm[submodule_index].ALARM.reg &= ~RTC_MODE2_ALARM_SECOND(mask); in hri_rtcalarm_clear_ALARM_SECOND_bf() 167 …atic inline void hri_rtcalarm_toggle_ALARM_SECOND_bf(const void *const hw, uint8_t submodule_index, in hri_rtcalarm_toggle_ALARM_SECOND_bf() argument [all …]
|
D | hri_tal_l21.h | 4416 static inline void hri_tal_set_CTICTRLA_RESTART_bit(const void *const hw, uint8_t submodule_index) in hri_tal_set_CTICTRLA_RESTART_bit() argument 4419 ((Tal *)hw)->Ctis[submodule_index].CTICTRLA.reg |= TAL_CTICTRLA_RESTART; in hri_tal_set_CTICTRLA_RESTART_bit() 4423 static inline bool hri_tal_get_CTICTRLA_RESTART_bit(const void *const hw, uint8_t submodule_index) in hri_tal_get_CTICTRLA_RESTART_bit() argument 4426 tmp = ((Tal *)hw)->Ctis[submodule_index].CTICTRLA.reg; in hri_tal_get_CTICTRLA_RESTART_bit() 4431 static inline void hri_tal_write_CTICTRLA_RESTART_bit(const void *const hw, uint8_t submodule_index… in hri_tal_write_CTICTRLA_RESTART_bit() argument 4435 tmp = ((Tal *)hw)->Ctis[submodule_index].CTICTRLA.reg; in hri_tal_write_CTICTRLA_RESTART_bit() 4438 ((Tal *)hw)->Ctis[submodule_index].CTICTRLA.reg = tmp; in hri_tal_write_CTICTRLA_RESTART_bit() 4442 static inline void hri_tal_clear_CTICTRLA_RESTART_bit(const void *const hw, uint8_t submodule_index) in hri_tal_clear_CTICTRLA_RESTART_bit() argument 4445 ((Tal *)hw)->Ctis[submodule_index].CTICTRLA.reg &= ~TAL_CTICTRLA_RESTART; in hri_tal_clear_CTICTRLA_RESTART_bit() 4449 …atic inline void hri_tal_toggle_CTICTRLA_RESTART_bit(const void *const hw, uint8_t submodule_index) in hri_tal_toggle_CTICTRLA_RESTART_bit() argument [all …]
|