Functions | |
__STATIC_INLINE void | ll_usb_enable_xcvr_ldo33_lp (aon_pmu_regs_t *AON_PMUx) |
Enable USB Transceiver LDO_3.3V low power mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_ldo33_lp (aon_pmu_regs_t *AON_PMUx) |
Disable USB Transceiver LDO_3.3V low power mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_ldo33_lp (aon_pmu_regs_t *AON_PMUx) |
Check if USB Transceiver LDO_3.3V low power mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_ldo33_vref_test (mcu_sub_regs_t *MCU_SUBx) |
Enable USB Transceiver LDO_3.3V internal vref probe to test. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_ldo33_vref_test (mcu_sub_regs_t *MCU_SUBx) |
Disable USB Transceiver LDO_3.3V internal vref probe to test. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_ldo33_vref_test (mcu_sub_regs_t *MCU_SUBx) |
Check if USB Transceiver LDO_3.3V internal vref probe to test is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_xcrv_ldo33_bias (aon_pmu_regs_t *AON_PMUx, uint32_t value) |
Set USB Transceiver LDO_3.3V vout trimming signal. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_xcrv_ldo33_bias (aon_pmu_regs_t *AON_PMUx) |
Get USB Transceiver LDO_3.3V vout trimming signal. More... | |
__STATIC_INLINE void | ll_usb_set_xcrv_ldo33_VSEL (aon_pmu_regs_t *AON_PMUx, uint32_t value) |
Set USB Transceiver LDO_3.3V offer XCVR's current. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_xcrv_ldo33_VSEL (aon_pmu_regs_t *AON_PMUx) |
Get USB Transceiver LDO_3.3V offer XCVR's current. More... | |
__STATIC_INLINE void | ll_usb_enable_suspend_clk_off (mcu_sub_regs_t *MCU_SUBx) |
Enable Turn off USB clock during USB suspend. More... | |
__STATIC_INLINE void | ll_usb_disable_suspend_clk_off (mcu_sub_regs_t *MCU_SUBx) |
Disable Turn off USB clock during USB suspend. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_suspend_clk_off (mcu_sub_regs_t *MCU_SUBx) |
Check if Turn off USB clock during USB suspend is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_pmu_lp (mcu_sub_regs_t *MCU_SUBx) |
Enable USB low power. More... | |
__STATIC_INLINE void | ll_usb_disable_pmu_lp (mcu_sub_regs_t *MCU_SUBx) |
Disable USB low power. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_pmu_lp (mcu_sub_regs_t *MCU_SUBx) |
Check if USB low power is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_clk_force_off (mcu_sub_regs_t *MCU_SUBx) |
Enable USB clock force off. More... | |
__STATIC_INLINE void | ll_usb_disable_clk_force_off (mcu_sub_regs_t *MCU_SUBx) |
Disable USB clock force off. More... | |
__STATIC_INLINE uint32_t | ll_usb_enabled_clk_force_off_is (mcu_sub_regs_t *MCU_SUBx) |
Check if USB clock force off is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_secmp_pd (mcu_sub_regs_t *MCU_SUBx) |
Enable USB Transceiver single end comparator power down. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_secmp_pd (mcu_sub_regs_t *MCU_SUBx) |
Disable USB Transceiver single end comparator power down. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_secmp_pd (mcu_sub_regs_t *MCU_SUBx) |
Check if USB Transceiver single end comparator power down is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_xcrv_speed (mcu_sub_regs_t *MCU_SUBx, uint32_t speed) |
Set USB Transceiver speed. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_xcrv_speed (mcu_sub_regs_t *MCU_SUBx) |
Get USB Transceiver speed. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_suspend (mcu_sub_regs_t *MCU_SUBx) |
Enable USB Transceiver suspend. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_suspend (mcu_sub_regs_t *MCU_SUBx) |
Disable USB Transceiver suspend. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_suspend (mcu_sub_regs_t *MCU_SUBx) |
Check if USB Transceiver suspend is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_bias (mcu_sub_regs_t *MCU_SUBx) |
Enable USB Transceiver bias. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_bias (mcu_sub_regs_t *MCU_SUBx) |
Disable USB Transceiver bias. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_bias (mcu_sub_regs_t *MCU_SUBx) |
Check if USB Transceiver bias is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_xcrv_rtrimn (mcu_sub_regs_t *MCU_SUBx, uint32_t value) |
Set USB Transceiver D- output impedance trim. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_xcrv_rtrimn (mcu_sub_regs_t *MCU_SUBx) |
Get USB Transceiver D- output impedance trim. More... | |
__STATIC_INLINE void | ll_usb_set_xcrv_rtrimp (mcu_sub_regs_t *MCU_SUBx, uint32_t value) |
Set USB Transceiver D+ output impedance trim. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_xcrv_rtrimp (mcu_sub_regs_t *MCU_SUBx) |
Get USB Transceiver D+ output impedance trim. More... | |
__STATIC_INLINE void | ll_usb_enable_sw_reset (mcu_sub_regs_t *MCU_SUBx) |
Enable USB software reset. More... | |
__STATIC_INLINE void | ll_usb_disable_sw_reset (mcu_sub_regs_t *MCU_SUBx) |
Disable USB software reset. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_sw_reset (mcu_sub_regs_t *MCU_SUBx) |
Check if USB software reset is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_usb_enum_type (usb_regs_t *USBx, uint32_t type) |
Set USB enumeration type. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_enum_type (usb_regs_t *USBx) |
Get USB enumeration type. More... | |
__STATIC_INLINE void | ll_usb_enable_ep0_out_dat_rdy (usb_regs_t *USBx) |
Enable USB OUT data in EP0 is ready. More... | |
__STATIC_INLINE void | ll_usb_disable_ep0_out_dat_rdy (usb_regs_t *USBx) |
Disable USB OUT data in EP0 is ready. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep0_out_dat_rdy (usb_regs_t *USBx) |
Check if USB OUT data in EP0 is ready is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_mcu_wakeup (usb_regs_t *USBx) |
Enable USB MCU remote wakeup USB host. More... | |
__STATIC_INLINE void | ll_usb_disable_mcu_wakeup (usb_regs_t *USBx) |
Disable USB MCU remote wakeup USB host. More... | |
__STATIC_INLINE void | ll_usb_enable_dev_remote_wakeup (usb_regs_t *USBx) |
Enable USB REMOTE_WAKEUP feature. More... | |
__STATIC_INLINE void | ll_usb_disable_dev_remote_wakeup (usb_regs_t *USBx) |
Disable USB REMOTE_WAKEUP feature. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_dev_remote_wakeup (usb_regs_t *USBx) |
Check if USB REMOTE_WAKEUP feature is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_addr_stat (usb_regs_t *USBx) |
Enable USB is in addressed status. More... | |
__STATIC_INLINE void | ll_usb_disable_addr_stat (usb_regs_t *USBx) |
Disable USB is in addressed status. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_addr_stat (usb_regs_t *USBx) |
Check if USB is in addressed status is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_cfg_stat (usb_regs_t *USBx) |
Enable USB is in addressed status. More... | |
__STATIC_INLINE void | ll_usb_disable_cfg_stat (usb_regs_t *USBx) |
Disable USB is in addressed status. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_cfg_stat (usb_regs_t *USBx) |
Check if USB is in addressed status is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_cmd_ok (usb_regs_t *USBx) |
Enable MCU interpret USB device ok. More... | |
__STATIC_INLINE void | ll_usb_disable_cmd_ok (usb_regs_t *USBx) |
Disable MCU interpret USB device ok. More... | |
__STATIC_INLINE void | ll_usb_enable_cmd_err (usb_regs_t *USBx) |
Enable MCU interpret USB device error. More... | |
__STATIC_INLINE void | ll_usb_disable_cmd_err (usb_regs_t *USBx) |
Disable MCU interpret USB device error. More... | |
__STATIC_INLINE void | ll_usb_set_func_addr (usb_regs_t *USBx, uint32_t addr) |
Set USB function address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_func_addr (usb_regs_t *USBx) |
Get USB function address. More... | |
__STATIC_INLINE void | ll_usb_enable_ep1_out_dat_rdy (usb_regs_t *USBx) |
Enable USB OUT data in EP1 is ready. More... | |
__STATIC_INLINE void | ll_usb_disable_ep1_out_dat_rdy (usb_regs_t *USBx) |
Disable USB OUT data in EP1 is ready. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep1_out_dat_rdy (usb_regs_t *USBx) |
Check if USB OUT data in EP1 is ready is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep5_out_dat_rdy (usb_regs_t *USBx) |
Enable USB OUT data in EP5 is ready. More... | |
__STATIC_INLINE void | ll_usb_disable_ep5_out_dat_rdy (usb_regs_t *USBx) |
Disable USB OUT data in EP1 is ready. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep5_out_dat_rdy (usb_regs_t *USBx) |
Check if USB OUT data in EP1 is ready is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep0_fifo_switch (usb_regs_t *USBx) |
Enable USB EP0 FIFO switch. More... | |
__STATIC_INLINE void | ll_usb_disable_ep0_fifo_switch (usb_regs_t *USBx) |
Disable USB EP0 FIFO switch. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep0_fifo_switch (usb_regs_t *USBx) |
Check if USB EP0 FIFO switch is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep0_dat_rdy (usb_regs_t *USBx) |
Enable USB has sent all data to EP0 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_ep0_dat_rdy (usb_regs_t *USBx) |
Disable USB has sent all data to EP0 IN FIFO. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep0_dat_rdy (usb_regs_t *USBx) |
Check if USB has sent all data to EP0 IN FIFO is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_clr_ep0_fifo (usb_regs_t *USBx) |
Enable Clear USB EP0 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_clr_ep0_fifo (usb_regs_t *USBx) |
Disable Clear USB EP0 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_enable_clr_ep1_fifo (usb_regs_t *USBx) |
Enable Clear USB EP1 OUT FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_clr_ep1_fifo (usb_regs_t *USBx) |
Disable Clear USB EP1 OUT FIFO. More... | |
__STATIC_INLINE void | ll_usb_enable_ep2_dat_rdy (usb_regs_t *USBx) |
Enable USB has sent all data to EP2 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_ep2_dat_rdy (usb_regs_t *USBx) |
Disable USB has sent all data to EP2 IN FIFO. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep2_dat_rdy (usb_regs_t *USBx) |
Check if USB has sent all data to EP2 IN FIFO is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_clr_ep2_fifo (usb_regs_t *USBx) |
Enable Clear USB EP2 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_clr_ep2_fifo (usb_regs_t *USBx) |
Disable Clear USB EP2 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_enable_ep3_dat_rdy (usb_regs_t *USBx) |
Enable USB has sent all data to EP3 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_ep3_dat_rdy (usb_regs_t *USBx) |
Disable USB has sent all data to EP3 IN FIFO. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep3_dat_rdy (usb_regs_t *USBx) |
Check if USB has sent all data to EP3 IN FIFO is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_clr_ep3_fifo (usb_regs_t *USBx) |
Enable Clear USB EP3 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_clr_ep3_fifo (usb_regs_t *USBx) |
Disable Clear USB EP3 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_enable_ep4_dat_rdy (usb_regs_t *USBx) |
Enable USB has sent all data to EP4 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_ep4_dat_rdy (usb_regs_t *USBx) |
Disable USB has sent all data to EP4 IN FIFO. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep4_dat_rdy (usb_regs_t *USBx) |
Check if USB has sent all data to EP4 IN FIFO is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_clr_ep4_fifo (usb_regs_t *USBx) |
Enable Clear USB EP4 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_clr_ep4_fifo (usb_regs_t *USBx) |
Disable Clear USB EP4 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_enable_ep4_empty_packet (usb_regs_t *USBx) |
Enable USB EP4 empty packet. More... | |
__STATIC_INLINE void | ll_usb_disable_ep4_empty_packet (usb_regs_t *USBx) |
Disable USB EP4 empty packet. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep4_empty_packet (usb_regs_t *USBx) |
Check if USB EP4 empty packet is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_clr_ep5_fifo (usb_regs_t *USBx) |
Enable Clear USB EP4 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_disable_clr_ep5_fifo (usb_regs_t *USBx) |
Disable Clear USB EP4 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_set_ep1_attr (usb_regs_t *USBx, uint32_t attr) |
Set USB Endpoint 1 attribute. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep1_attr (usb_regs_t *USBx) |
Get USB Endpoint 1 attribute. More... | |
__STATIC_INLINE void | ll_usb_set_ep2_attr (usb_regs_t *USBx, uint32_t attr) |
Set USB Endpoint 2 attribute. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep2_attr (usb_regs_t *USBx) |
Get USB Endpoint 2 attribute. More... | |
__STATIC_INLINE void | ll_usb_set_ep3_attr (usb_regs_t *USBx, uint32_t attr) |
Set USB Endpoint 3 attribute. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep3_attr (usb_regs_t *USBx) |
Get USB Endpoint 1 attribute. More... | |
__STATIC_INLINE void | ll_usb_enable_ep1_halt_mcu (usb_regs_t *USBx) |
Enable USB halt EP1. More... | |
__STATIC_INLINE void | ll_usb_disable_ep1_halt_mcu (usb_regs_t *USBx) |
Disable USB halt EP1. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep1_halt_mcu (usb_regs_t *USBx) |
Check if USB halt EP1 is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep2_halt_mcu (usb_regs_t *USBx) |
Enable USB halt EP2. More... | |
__STATIC_INLINE void | ll_usb_disable_ep2_halt_mcu (usb_regs_t *USBx) |
Disable USB halt EP2. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep2_halt_mcu (usb_regs_t *USBx) |
Check if USB halt EP2 is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep3_halt_mcu (usb_regs_t *USBx) |
Enable USB halt EP3. More... | |
__STATIC_INLINE void | ll_usb_disable_ep3_halt_mcu (usb_regs_t *USBx) |
Disable USB halt EP3. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep3_halt_mcu (usb_regs_t *USBx) |
Check if USB halt EP3 is enabled. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_active_it_flag (usb_regs_t *USBx, uint32_t flag) |
Check USB interrupt flag is actived. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_it_flag (usb_regs_t *USBx) |
get USB interrupt flag More... | |
__STATIC_INLINE void | ll_usb_enable_it (usb_regs_t *USBx, uint32_t mask) |
Enable USB interrupt. More... | |
__STATIC_INLINE void | ll_usb_disable_it (usb_regs_t *USBx, uint32_t mask) |
Disable USB interrupt. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_it (usb_regs_t *USBx, uint32_t mask) |
Check if USB interrupt is enabled. More... | |
__STATIC_INLINE void | ll_usb_clear_it (usb_regs_t *USBx, uint32_t mask) |
Clear USB interrupt. More... | |
__STATIC_INLINE void | ll_usb_set_ep3_ahb_m_rd_start_addr (usb_regs_t *USBx, uint32_t addr) |
Set USB ep3 AHB master read start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep3_ahb_m_rd_start_addr (usb_regs_t *USBx) |
Get USB ep3 AHB master read start address. More... | |
__STATIC_INLINE void | ll_usb_enable_ep3_ahb_m (usb_regs_t *USBx) |
Enable USB ep3 AHB master. More... | |
__STATIC_INLINE void | ll_usb_disable_ep3_ahb_m (usb_regs_t *USBx) |
Disable USB ep3 AHB master. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep3_ahb_m (usb_regs_t *USBx) |
Check if USB ep3 AHB master is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_ep3_ahb_m_burst_size (usb_regs_t *USBx, uint32_t size) |
Set USB ep3 AHB master burst length;(default 64) More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep3_ahb_m_burst_size (usb_regs_t *USBx) |
Get USB ep3 AHB master burst length;(default 64) More... | |
__STATIC_INLINE void | ll_usb_set_ep4_ahb_m_rd_start_addr (usb_regs_t *USBx, uint32_t addr) |
Set USB ep4 AHB master read start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep4_ahb_m_rd_start_addr (usb_regs_t *USBx) |
Get USB ep4 AHB master read start address. More... | |
__STATIC_INLINE void | ll_usb_enable_ep4_ahb_m (usb_regs_t *USBx) |
Enable USB ep4 AHB master. More... | |
__STATIC_INLINE void | ll_usb_disable_ep4_ahb_m (usb_regs_t *USBx) |
Disable USB ep4 AHB master. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep4_ahb_m (usb_regs_t *USBx) |
Check if USB ep4 AHB master is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_ep4_ahb_m_burst_size (usb_regs_t *USBx, uint32_t size) |
Set USB ep4 AHB master burst length;(default 64) More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep4_ahb_m_burst_size (usb_regs_t *USBx) |
Get USB ep4 AHB master burst length;(default 64) More... | |
__STATIC_INLINE void | ll_usb_set_ep5_ahb_m_rd_start_addr (usb_regs_t *USBx, uint32_t addr) |
Set USB ep5 AHB master read start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep5_ahb_m_rd_start_addr (usb_regs_t *USBx) |
Get USB ep5 AHB master read start address. More... | |
__STATIC_INLINE void | ll_usb_enable_ep5_ahb_m (usb_regs_t *USBx) |
Enable USB ep5 AHB master. More... | |
__STATIC_INLINE void | ll_usb_disable_ep5_ahb_m (usb_regs_t *USBx) |
Disable USB ep5 AHB master. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep5_ahb_m (usb_regs_t *USBx) |
Check if USB ep5 AHB master is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep5_fifo_clr (usb_regs_t *USBx) |
Enable USB ep5 OUT FIFO clear. More... | |
__STATIC_INLINE void | ll_usb_disable_ep5_fifo_clr (usb_regs_t *USBx) |
Disable USB ep5 OUT FIFO clear. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep5_fifo_clr (usb_regs_t *USBx) |
Check if USB ep5 OUT FIFO clear is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_ep5_rx_cnt_no_overwrite (usb_regs_t *USBx) |
USB ep5 RX data sum can't be overwritten. More... | |
__STATIC_INLINE void | ll_usb_disable_ep5_rx_cnt_no_overwrite (usb_regs_t *USBx) |
USB ep5 RX data sum can be overwritten. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_ep5_rx_cnt_no_overwrite (usb_regs_t *USBx) |
Check if USB ep5 RX data sum can't be overwritten is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_test_mode (usb_regs_t *USBx) |
Enable USB test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_test_mode (usb_regs_t *USBx) |
Disable USB test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_test_mode (usb_regs_t *USBx) |
Check if USB test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_drive_dp (usb_regs_t *USBx) |
Enable USB drive DP during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_drive_dp (usb_regs_t *USBx) |
Disable USB drive DP during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_drive_dp (usb_regs_t *USBx) |
Check if USB tdrive DP during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_drive_dm (usb_regs_t *USBx) |
Enable USB drive DM during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_drive_dm (usb_regs_t *USBx) |
Disable USB drive DM during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_drive_dm (usb_regs_t *USBx) |
Check if USB tdrive DM during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_oeb (usb_regs_t *USBx) |
Enable USB drive transceiver output enable bar during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_oeb (usb_regs_t *USBx) |
Disable USB drive transceiver output enable bar during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_oeb (usb_regs_t *USBx) |
Check if USB drive transceiver output enable bar during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_dp_rpu (usb_regs_t *USBx) |
Enable USB drive DP pullup during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_dp_rpu (usb_regs_t *USBx) |
Disable USB drive DP pullup during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_dp_rpu (usb_regs_t *USBx) |
Check if USB drive DP pullup during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_dm_rpu (usb_regs_t *USBx) |
Enable USB drive DM pullup during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_dm_rpu (usb_regs_t *USBx) |
Disable USB drive DM pullup during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_dm_rpu (usb_regs_t *USBx) |
Check if USB drive DM pullup during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_dp_rpusw (usb_regs_t *USBx) |
Enable USB drive DP SW pullup during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_dp_rpusw (usb_regs_t *USBx) |
Disable USB drive DP SW pullup during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_dp_rpusw (usb_regs_t *USBx) |
Check if USB drive DP SW pullup during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_dm_rpusw (usb_regs_t *USBx) |
Enable USB drive DM SW pullup during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_dm_rpusw (usb_regs_t *USBx) |
Disable USB drive DM SW pullup during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_dm_rpusw (usb_regs_t *USBx) |
Check if USB drive DM SW pullup during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_dp_rpd (usb_regs_t *USBx) |
Enable USB drive DP pull down during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_dp_rpd (usb_regs_t *USBx) |
Disable USB drive DP pull down during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_dp_rpd (usb_regs_t *USBx) |
Check if USB drive DP pull down during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_enable_xcvr_dm_rpd (usb_regs_t *USBx) |
Enable USB drive DM pull down during transceiver test mode. More... | |
__STATIC_INLINE void | ll_usb_disable_xcvr_dm_rpd (usb_regs_t *USBx) |
Disable USB drive DM pull down during transceiver test mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_is_enabled_xcvr_dm_rpd (usb_regs_t *USBx) |
Check if USB drive DM pull down during transceiver test mode is enabled. More... | |
__STATIC_INLINE void | ll_usb_set_output_endian_mode (usb_regs_t *USBx, uint32_t mode) |
Set USB output endian mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_output_endian_mode (usb_regs_t *USBx) |
Get USB output endian mode. More... | |
__STATIC_INLINE void | ll_usb_set_input_endian_mode (usb_regs_t *USBx, uint32_t mode) |
Set USB input endian mode. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_input_endian_mode (usb_regs_t *USBx) |
Get USB input endian mode. More... | |
__STATIC_INLINE void | ll_usb_set_probe_sel (usb_regs_t *USBx, uint32_t sel) |
Set USB probe select signal. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_probe_sel (usb_regs_t *USBx) |
Get USB probe select signal. More... | |
__STATIC_INLINE void | ll_usb_set_ep3_xfer_len (usb_regs_t *USBx, uint32_t len) |
Set USB ep3 DMA total transfer length. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep3_xfer_len (usb_regs_t *USBx) |
Get USB ep3 DMA total transfer length. More... | |
__STATIC_INLINE void | ll_usb_set_ep4_xfer_len (usb_regs_t *USBx, uint32_t len) |
Set USB ep4 DMA total transfer length. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep4_xfer_len (usb_regs_t *USBx) |
Get USB ep4 DMA total transfer length. More... | |
__STATIC_INLINE void | ll_usb_set_ep5_xfer_len (usb_regs_t *USBx, uint32_t len) |
Set USB ep5 DMA total transfer length. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep5_xfer_len (usb_regs_t *USBx) |
Get USB ep5 DMA total transfer length. More... | |
__STATIC_INLINE void | ll_usb_set_ep5_timer_val (usb_regs_t *USBx, uint32_t len) |
Set USB ep5 DMA recieve data time out value. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep5_timer_val (usb_regs_t *USBx) |
Get USB ep5 DMA total transfer length. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep0_rx_data_sum (usb_regs_t *USBx) |
Get USB received data sum in the EP0 IN FIFO. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep1_rx_data_sum (usb_regs_t *USBx) |
Get USB received data sum in the EP1 IN FIFO. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep5_rx_data_sum (usb_regs_t *USBx) |
Get USB received data sum in the EP5 IN FIFO. More... | |
__STATIC_INLINE void | ll_usb_set_cfg_desc_ctrl_start (usb_regs_t *USBx, uint32_t addr) |
Set USB config descriptor start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_cfg_desc_ctrl_start (usb_regs_t *USBx) |
Get USB config descriptor start address. More... | |
__STATIC_INLINE void | ll_usb_set_cfg_desc_ctrl_size (usb_regs_t *USBx, uint32_t size) |
Set USB config descriptor size. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_cfg_desc_ctrl_size (usb_regs_t *USBx) |
Get USB config descriptor size. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc0_ctrl_start (usb_regs_t *USBx, uint32_t addr) |
Set USB Language ID descriptor start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc0_ctrl_start (usb_regs_t *USBx) |
Get USB Language ID descriptor start address. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc0_ctrl_size (usb_regs_t *USBx, uint32_t size) |
Set USB Language ID descriptor size. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc0_ctrl_size (usb_regs_t *USBx) |
Get USB Language ID descriptor size. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc1_ctrl_start (usb_regs_t *USBx, uint32_t addr) |
Set USB string descriptor start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc1_ctrl_start (usb_regs_t *USBx) |
Get USB string descriptor start address. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc1_ctrl_size (usb_regs_t *USBx, uint32_t size) |
Set USB string descriptor size. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc1_ctrl_size (usb_regs_t *USBx) |
Get USB string descriptor size. More... | |
__STATIC_INLINE void | ll_usb_set_usb_ep0_fifo (usb_regs_t *USBx, uint32_t value) |
Set USB endpoint 0 FIFO address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_usb_ep0_fifo (usb_regs_t *USBx) |
Get USB endpoint 0 FIFO value. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_usb_ep1_fifo (usb_regs_t *USBx) |
Get USB endpoint 1 FIFO value. More... | |
__STATIC_INLINE void | ll_usb_set_usb_ep2_fifo (usb_regs_t *USBx, uint32_t value) |
Set USB endpoint 2 FIFO value. More... | |
__STATIC_INLINE void | ll_usb_set_usb_ep3_fifo (usb_regs_t *USBx, uint32_t value) |
Set USB endpoint 3 FIFO value. More... | |
__STATIC_INLINE void | ll_usb_set_usb_ep4_fifo (usb_regs_t *USBx, uint32_t value) |
Set USB endpoint 4 FIFO value. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_usb_ep5_fifo (usb_regs_t *USBx) |
Get USB endpoint 5 FIFO value. More... | |
__STATIC_INLINE void | ll_usb_set_ep4_fifo_wr_en (usb_regs_t *USBx, uint32_t len) |
Set USB ep4 FIFO write byte enable value. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_ep4_fifo_wr_en (usb_regs_t *USBx) |
Get USB ep4 FIFO write byte enable value. More... | |
__STATIC_INLINE void | ll_usb_set_usb_desc_sram_addr (usb_regs_t *USBx, uint32_t addr) |
Set USB descriptor SRAM value. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc2_ctrl_start (usb_regs_t *USBx, uint32_t addr) |
Set USB string descriptor(302) start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc2_ctrl_start (usb_regs_t *USBx) |
Get USB string descriptor(302) start address. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc2_ctrl_size (usb_regs_t *USBx, uint32_t size) |
Set USB string descriptor(302) size. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc2_ctrl_size (usb_regs_t *USBx) |
Get USB string descriptor(302) size. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc3_ctrl_start (usb_regs_t *USBx, uint32_t addr) |
Set USB string descriptor(303) start address. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc3_ctrl_start (usb_regs_t *USBx) |
Get USB string descriptor(303) start address. More... | |
__STATIC_INLINE void | ll_usb_set_str_desc3_ctrl_size (usb_regs_t *USBx, uint32_t size) |
Set USB string descriptor(303) size. More... | |
__STATIC_INLINE uint32_t | ll_usb_get_str_desc3_ctrl_size (usb_regs_t *USBx) |
Get USB string descriptor(303) size. More... | |
void | ll_usb_enable (void) |
Enable USB interrupt. More... | |
void | ll_usb_disable (void) |
Disable USB interrupt. More... | |
__STATIC_INLINE void ll_usb_clear_it | ( | usb_regs_t * | USBx, |
uint32_t | mask | ||
) |
Clear USB interrupt.
Register|BitsName --------|-------- INT_CLR | SUSPEND INT_CLR | EP0_OUT_READY INT_CLR | EP1_OUT_READY INT_CLR | CRC16_ERR INT_CLR | UPID_ERR INT_CLR | TIMEOUT_ERR INT_CLR | SEQ_ERR INT_CLR | PID_CKS_ERR INT_CLR | PID_CRC_ERR INT_CLR | HOST_RESET INT_CLR | AHB_XFER_ERR INT_CLR | NSE_ERR INT_CLR | EP3_AHB_XFER_DONE INT_CLR | SYNC_ERR INT_CLR | BIT_STUFF_ERR INT_CLR | BYTE_ERR INT_CLR | SOF INT_CLR | EP0_TX_DONE INT_CLR | EP2_TX_DONE INT_CLR | EP3_TX_DONE INT_CLR | INTO_CONFIG INT_CLR | EP5_OUT_READY INT_CLR | EP4_AHB_XFER_DONE INT_CLR | EP4_TX_DONE INT_CLR | EP5_AHB_XFER_DONE INT_CLR | EP5_TIMER_OUT_ERR
State | of bit (1 or 0). |
Definition at line 2512 of file gr55xx_ll_usb.h.
void ll_usb_disable | ( | void | ) |
Disable USB interrupt.
None |
__STATIC_INLINE void ll_usb_disable_addr_stat | ( | usb_regs_t * | USBx | ) |
Disable USB is in addressed status.
Register|BitsName --------|-------- CTRL | ADDR_STAT
USBx | USB instance |
None |
Definition at line 1191 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_cfg_stat | ( | usb_regs_t * | USBx | ) |
Disable USB is in addressed status.
Register|BitsName --------|-------- CTRL | CFG_STAT
USBx | USB instance |
None |
Definition at line 1236 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clk_force_off | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB clock force off.
Register|BitsName --------|-------- USB_LP_CTRL | CLK_FORCE_OFF
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 681 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clr_ep0_fifo | ( | usb_regs_t * | USBx | ) |
Disable Clear USB EP0 IN FIFO.
Register|BitsName --------|-------- EP0_1_CTRL | EP0_IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1555 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clr_ep1_fifo | ( | usb_regs_t * | USBx | ) |
Disable Clear USB EP1 OUT FIFO.
Register|BitsName --------|-------- EP0_1_CTRL | EP1_IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1585 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clr_ep2_fifo | ( | usb_regs_t * | USBx | ) |
Disable Clear USB EP2 IN FIFO.
Register|BitsName --------|-------- EP2_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1660 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clr_ep3_fifo | ( | usb_regs_t * | USBx | ) |
Disable Clear USB EP3 IN FIFO.
Register|BitsName --------|-------- EP3_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1735 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clr_ep4_fifo | ( | usb_regs_t * | USBx | ) |
Disable Clear USB EP4 IN FIFO.
Register|BitsName --------|-------- EP4_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1810 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_clr_ep5_fifo | ( | usb_regs_t * | USBx | ) |
Disable Clear USB EP4 IN FIFO.
Register|BitsName --------|-------- EP4_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1885 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_cmd_err | ( | usb_regs_t * | USBx | ) |
Disable MCU interpret USB device error.
Register|BitsName --------|-------- CTRL | CMD_ERR
USBx | USB instance |
None |
Definition at line 1311 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_cmd_ok | ( | usb_regs_t * | USBx | ) |
Disable MCU interpret USB device ok.
Register|BitsName --------|-------- CTRL | CMD_OK
USBx | USB instance |
None |
Definition at line 1281 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_dev_remote_wakeup | ( | usb_regs_t * | USBx | ) |
Disable USB REMOTE_WAKEUP feature.
Register|BitsName --------|-------- CTRL | DEV_REMOTE_WAKEUP
USBx | USB instance |
None |
Definition at line 1146 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_drive_dm | ( | usb_regs_t * | USBx | ) |
Disable USB drive DM during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | DRIVE_DM
USBx | USB instance |
None |
Definition at line 3022 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_drive_dp | ( | usb_regs_t * | USBx | ) |
Disable USB drive DP during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | DRIVE_DP
USBx | USB instance |
None |
Definition at line 2977 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep0_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB has sent all data to EP0 IN FIFO.
Register|BitsName --------|-------- EP0_1_CTRL | EP0_DATA_RDY
USBx | USB instance |
None |
Definition at line 1510 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep0_fifo_switch | ( | usb_regs_t * | USBx | ) |
Disable USB EP0 FIFO switch.
Register|BitsName --------|-------- CTRL | EP0_FIFO_SWITCH
USBx | USB instance |
None |
Definition at line 1464 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep0_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB OUT data in EP0 is ready.
Register|BitsName --------|-------- CTRL | EP0_OUT_DATA_RDY
USBx | USB instance |
None |
Definition at line 1070 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep1_halt_mcu | ( | usb_regs_t * | USBx | ) |
Disable USB halt EP1.
Register|BitsName --------|-------- EP_ATTR | EP1_HALT_MCU
USBx | USB instance |
None |
Definition at line 2025 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep1_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB OUT data in EP1 is ready.
Register|BitsName --------|-------- CTRL | EP1_OUT_DATA_RDY
USBx | USB instance |
None |
Definition at line 1374 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep2_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB has sent all data to EP2 IN FIFO.
Register|BitsName --------|-------- EP2_CTRL | DATA_RDY
USBx | USB instance |
None |
Definition at line 1615 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep2_halt_mcu | ( | usb_regs_t * | USBx | ) |
Disable USB halt EP2.
Register|BitsName --------|-------- EP_ATTR | EP2_HALT_MCU
USBx | USB instance |
None |
Definition at line 2070 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep3_ahb_m | ( | usb_regs_t * | USBx | ) |
Disable USB ep3 AHB master.
Register|BitsName --------|-------- EP3_AHBM_CTRL | EN
USBx | USB instance |
None |
Definition at line 2575 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep3_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB has sent all data to EP3 IN FIFO.
Register|BitsName --------|-------- EP3_CTRL | DATA_RDY
USBx | USB instance |
None |
Definition at line 1690 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep3_halt_mcu | ( | usb_regs_t * | USBx | ) |
Disable USB halt EP3.
Register|BitsName --------|-------- EP_ATTR | EP3_HALT_MCU
USBx | USB instance |
None |
Definition at line 2115 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep4_ahb_m | ( | usb_regs_t * | USBx | ) |
Disable USB ep4 AHB master.
Register|BitsName --------|-------- EP4_AHBM_CTRL | EN
USBx | USB instance |
None |
Definition at line 2686 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep4_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB has sent all data to EP4 IN FIFO.
Register|BitsName --------|-------- EP4_CTRL | DATA_RDY
USBx | USB instance |
None |
Definition at line 1765 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep4_empty_packet | ( | usb_regs_t * | USBx | ) |
Disable USB EP4 empty packet.
Register|BitsName --------|-------- EP4_CTRL | EMPTY_PACKET_EN
USBx | USB instance |
None |
Definition at line 1840 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep5_ahb_m | ( | usb_regs_t * | USBx | ) |
Disable USB ep5 AHB master.
Register|BitsName --------|-------- EP5_CTRL | AHBM_EN
USBx | USB instance |
None |
Definition at line 2797 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep5_fifo_clr | ( | usb_regs_t * | USBx | ) |
Disable USB ep5 OUT FIFO clear.
Register|BitsName --------|-------- EP5_CTRL | AHBM_EN
USBx | USB instance |
None |
Definition at line 2842 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep5_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Disable USB OUT data in EP1 is ready.
Register|BitsName --------|-------- CTRL | EP5_OUT_DATA_RDY
USBx | USB instance |
None |
Definition at line 1419 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_ep5_rx_cnt_no_overwrite | ( | usb_regs_t * | USBx | ) |
USB ep5 RX data sum can be overwritten.
Register|BitsName --------|-------- EP5_CTRL | RX_CNT_NO_OVERWRITE
USBx | USB instance |
None |
Definition at line 2887 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_it | ( | usb_regs_t * | USBx, |
uint32_t | mask | ||
) |
Disable USB interrupt.
Register|BitsName --------|-------- INT_EN | SUSPEND INT_EN | EP0_OUT_READY INT_EN | EP1_OUT_READY INT_EN | CRC16_ERR INT_EN | UPID_ERR INT_EN | TIMEOUT_ERR INT_EN | SEQ_ERR INT_EN | PID_CKS_ERR INT_EN | PID_CRC_ERR INT_EN | HOST_RESET INT_EN | AHB_XFER_ERR INT_EN | NSE_ERR INT_EN | EP3_AHB_XFER_DONE INT_EN | SYNC_ERR INT_EN | BIT_STUFF_ERR INT_EN | BYTE_ERR INT_EN | SOF INT_EN | EP0_TX_DONE INT_EN | EP2_TX_DONE INT_EN | EP3_TX_DONE INT_EN | INTO_CONFIG INT_EN | EP5_OUT_READY INT_EN | EP4_AHB_XFER_DONE INT_EN | EP4_TX_DONE INT_EN | EP5_AHB_XFER_DONE INT_EN | EP5_TIMER_OUT_ERR
None |
Definition at line 2375 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_mcu_wakeup | ( | usb_regs_t * | USBx | ) |
Disable USB MCU remote wakeup USB host.
Register|BitsName --------|-------- CTRL | MCU_WAKEUP
USBx | USB instance |
None |
Definition at line 1115 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_pmu_lp | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB low power.
Register|BitsName --------|-------- USB_LP_CTRL | PMU_LP_EN
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 635 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_suspend_clk_off | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable Turn off USB clock during USB suspend.
Register|BitsName --------|-------- USB_LP_CTRL | SUSPEND_CLK_OFF
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 590 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_sw_reset | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB software reset.
Register|BitsName --------|-------- USB_SW_RST | usb_software_reset
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 990 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_test_mode | ( | usb_regs_t * | USBx | ) |
Disable USB test mode.
Register|BitsName --------|-------- CTRL0 | EN
USBx | USB instance |
None |
Definition at line 2932 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_bias | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB Transceiver bias.
Register|BitsName --------|-------- USB_XCRV_CTRL | BIAS_EN
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 851 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_dm_rpd | ( | usb_regs_t * | USBx | ) |
Disable USB drive DM pull down during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPD_EN
USBx | USB instance |
None |
Definition at line 3337 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_dm_rpu | ( | usb_regs_t * | USBx | ) |
Disable USB drive DM pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPU_EN
USBx | USB instance |
None |
Definition at line 3157 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_dm_rpusw | ( | usb_regs_t * | USBx | ) |
Disable USB drive DM SW pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPUSW_EN
USBx | USB instance |
None |
Definition at line 3247 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_dp_rpd | ( | usb_regs_t * | USBx | ) |
Disable USB drive DP pull down during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPD_EN
USBx | USB instance |
None |
Definition at line 3292 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_dp_rpu | ( | usb_regs_t * | USBx | ) |
Disable USB drive DP pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPU_EN
USBx | USB instance |
None |
Definition at line 3112 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_dp_rpusw | ( | usb_regs_t * | USBx | ) |
Disable USB drive DP SW pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPUSW_EN
USBx | USB instance |
None |
Definition at line 3202 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_ldo33_lp | ( | aon_pmu_regs_t * | AON_PMUx | ) |
Disable USB Transceiver LDO_3.3V low power mode.
Register|BitsName --------|-------- USB_TRX_LDO | LP_EN
AON_PMUx | AON_PMU instance |
None |
Definition at line 405 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_ldo33_vref_test | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB Transceiver LDO_3.3V internal vref probe to test.
Register|BitsName --------|-------- USB_XCRV_LDO | VREF_TEST_EN
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 450 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_oeb | ( | usb_regs_t * | USBx | ) |
Disable USB drive transceiver output enable bar during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_OEB
USBx | USB instance |
None |
Definition at line 3067 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_secmp_pd | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB Transceiver single end comparator power down.
Register|BitsName --------|-------- USB_XCRV_CTRL | SECMP_PD
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 726 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_disable_xcvr_suspend | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Disable USB Transceiver suspend.
Register|BitsName --------|-------- USB_XCRV_CTRL | SUSPEND
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 806 of file gr55xx_ll_usb.h.
void ll_usb_enable | ( | void | ) |
Enable USB interrupt.
None |
__STATIC_INLINE void ll_usb_enable_addr_stat | ( | usb_regs_t * | USBx | ) |
Enable USB is in addressed status.
Register|BitsName --------|-------- CTRL | ADDR_STAT
USBx | USB instance |
None |
Definition at line 1176 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_cfg_stat | ( | usb_regs_t * | USBx | ) |
Enable USB is in addressed status.
Register|BitsName --------|-------- CTRL | CFG_STAT
USBx | USB instance |
None |
Definition at line 1221 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clk_force_off | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB clock force off.
Register|BitsName --------|-------- USB_LP_CTRL | CLK_FORCE_OFF
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 666 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clr_ep0_fifo | ( | usb_regs_t * | USBx | ) |
Enable Clear USB EP0 IN FIFO.
Register|BitsName --------|-------- EP0_1_CTRL | EP0_IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1540 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clr_ep1_fifo | ( | usb_regs_t * | USBx | ) |
Enable Clear USB EP1 OUT FIFO.
Register|BitsName --------|-------- EP0_1_CTRL | EP1_IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1570 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clr_ep2_fifo | ( | usb_regs_t * | USBx | ) |
Enable Clear USB EP2 IN FIFO.
Register|BitsName --------|-------- EP2_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1645 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clr_ep3_fifo | ( | usb_regs_t * | USBx | ) |
Enable Clear USB EP3 IN FIFO.
Register|BitsName --------|-------- EP3_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1720 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clr_ep4_fifo | ( | usb_regs_t * | USBx | ) |
Enable Clear USB EP4 IN FIFO.
Register|BitsName --------|-------- EP4_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1795 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_clr_ep5_fifo | ( | usb_regs_t * | USBx | ) |
Enable Clear USB EP4 IN FIFO.
Register|BitsName --------|-------- EP4_CTRL | IFIFO_CLR
USBx | USB instance |
None |
Definition at line 1870 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_cmd_err | ( | usb_regs_t * | USBx | ) |
Enable MCU interpret USB device error.
Register|BitsName --------|-------- CTRL | CMD_ERR
USBx | USB instance |
None |
Definition at line 1296 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_cmd_ok | ( | usb_regs_t * | USBx | ) |
Enable MCU interpret USB device ok.
Register|BitsName --------|-------- CTRL | CMD_OK
USBx | USB instance |
None |
Definition at line 1266 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_dev_remote_wakeup | ( | usb_regs_t * | USBx | ) |
Enable USB REMOTE_WAKEUP feature.
Register|BitsName --------|-------- CTRL | DEV_REMOTE_WAKEUP
USBx | USB instance |
None |
Definition at line 1131 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_drive_dm | ( | usb_regs_t * | USBx | ) |
Enable USB drive DM during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | DRIVE_DM
USBx | USB instance |
None |
Definition at line 3007 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_drive_dp | ( | usb_regs_t * | USBx | ) |
Enable USB drive DP during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | DRIVE_DP
USBx | USB instance |
None |
Definition at line 2962 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep0_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB has sent all data to EP0 IN FIFO.
Register|BitsName --------|-------- EP0_1_CTRL | EP0_DATA_RDY
USBx | USB instance |
None |
Definition at line 1495 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep0_fifo_switch | ( | usb_regs_t * | USBx | ) |
Enable USB EP0 FIFO switch.
Register|BitsName --------|-------- CTRL | EP0_FIFO_SWITCH
USBx | USB instance |
None |
Definition at line 1449 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep0_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB OUT data in EP0 is ready.
Register|BitsName --------|-------- CTRL | EP0_OUT_DATA_RDY
USBx | USB instance |
None |
Definition at line 1055 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep1_halt_mcu | ( | usb_regs_t * | USBx | ) |
Enable USB halt EP1.
Register|BitsName --------|-------- EP_ATTR | EP1_HALT_MCU
USBx | USB instance |
None |
Definition at line 2010 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep1_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB OUT data in EP1 is ready.
Register|BitsName --------|-------- CTRL | EP1_OUT_DATA_RDY
USBx | USB instance |
None |
Definition at line 1359 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep2_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB has sent all data to EP2 IN FIFO.
Register|BitsName --------|-------- EP2_CTRL | DATA_RDY
USBx | USB instance |
None |
Definition at line 1600 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep2_halt_mcu | ( | usb_regs_t * | USBx | ) |
Enable USB halt EP2.
Register|BitsName --------|-------- EP_ATTR | EP2_HALT_MCU
USBx | USB instance |
None |
Definition at line 2055 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep3_ahb_m | ( | usb_regs_t * | USBx | ) |
Enable USB ep3 AHB master.
Register|BitsName --------|-------- EP3_AHBM_CTRL | EN
USBx | USB instance |
None |
Definition at line 2560 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep3_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB has sent all data to EP3 IN FIFO.
Register|BitsName --------|-------- EP3_CTRL | DATA_RDY
USBx | USB instance |
None |
Definition at line 1675 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep3_halt_mcu | ( | usb_regs_t * | USBx | ) |
Enable USB halt EP3.
Register|BitsName --------|-------- EP_ATTR | EP3_HALT_MCU
USBx | USB instance |
None |
Definition at line 2100 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep4_ahb_m | ( | usb_regs_t * | USBx | ) |
Enable USB ep4 AHB master.
Register|BitsName --------|-------- EP4_AHBM_CTRL | EN
USBx | USB instance |
None |
Definition at line 2671 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep4_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB has sent all data to EP4 IN FIFO.
Register|BitsName --------|-------- EP4_CTRL | DATA_RDY
USBx | USB instance |
None |
Definition at line 1750 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep4_empty_packet | ( | usb_regs_t * | USBx | ) |
Enable USB EP4 empty packet.
Register|BitsName --------|-------- EP4_CTRL | EMPTY_PACKET_EN
USBx | USB instance |
None |
Definition at line 1825 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep5_ahb_m | ( | usb_regs_t * | USBx | ) |
Enable USB ep5 AHB master.
Register|BitsName --------|-------- EP5_CTRL | AHBM_EN
USBx | USB instance |
None |
Definition at line 2782 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep5_fifo_clr | ( | usb_regs_t * | USBx | ) |
Enable USB ep5 OUT FIFO clear.
Register|BitsName --------|-------- EP5_CTRL | AHBM_EN
USBx | USB instance |
None |
Definition at line 2827 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep5_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Enable USB OUT data in EP5 is ready.
Register|BitsName --------|-------- CTRL | EP5_OUT_DATA_RDY
USBx | USB instance |
None |
Definition at line 1404 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_ep5_rx_cnt_no_overwrite | ( | usb_regs_t * | USBx | ) |
USB ep5 RX data sum can't be overwritten.
Register|BitsName --------|-------- EP5_CTRL | RX_CNT_NO_OVERWRITE
USBx | USB instance |
None |
Definition at line 2872 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_it | ( | usb_regs_t * | USBx, |
uint32_t | mask | ||
) |
Enable USB interrupt.
Register|BitsName --------|-------- INT_EN | SUSPEND INT_EN | EP0_OUT_READY INT_EN | EP1_OUT_READY INT_EN | CRC16_ERR INT_EN | UPID_ERR INT_EN | TIMEOUT_ERR INT_EN | SEQ_ERR INT_EN | PID_CKS_ERR INT_EN | PID_CRC_ERR INT_EN | HOST_RESET INT_EN | AHB_XFER_ERR INT_EN | NSE_ERR INT_EN | EP3_AHB_XFER_DONE INT_EN | SYNC_ERR INT_EN | BIT_STUFF_ERR INT_EN | BYTE_ERR INT_EN | SOF INT_EN | EP0_TX_DONE INT_EN | EP2_TX_DONE INT_EN | EP3_TX_DONE INT_EN | INTO_CONFIG INT_EN | EP5_OUT_READY INT_EN | EP4_AHB_XFER_DONE INT_EN | EP4_TX_DONE INT_EN | EP5_AHB_XFER_DONE INT_EN | EP5_TIMER_OUT_ERR
None |
Definition at line 2306 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_mcu_wakeup | ( | usb_regs_t * | USBx | ) |
Enable USB MCU remote wakeup USB host.
Register|BitsName --------|-------- CTRL | MCU_WAKEUP
USBx | USB instance |
None |
Definition at line 1100 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_pmu_lp | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB low power.
Register|BitsName --------|-------- USB_LP_CTRL | PMU_LP_EN
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 620 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_suspend_clk_off | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable Turn off USB clock during USB suspend.
Register|BitsName --------|-------- USB_LP_CTRL | SUSPEND_CLK_OFF
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 575 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_sw_reset | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB software reset.
Register|BitsName --------|-------- USB_SW_RST | usb_software_reset
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 975 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_test_mode | ( | usb_regs_t * | USBx | ) |
Enable USB test mode.
Register|BitsName --------|-------- CTRL0 | EN
USBx | USB instance |
None |
Definition at line 2917 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_bias | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB Transceiver bias.
Register|BitsName --------|-------- USB_XCRV_CTRL | BIAS_EN
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 836 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_dm_rpd | ( | usb_regs_t * | USBx | ) |
Enable USB drive DM pull down during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPD_EN
USBx | USB instance |
None |
Definition at line 3322 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_dm_rpu | ( | usb_regs_t * | USBx | ) |
Enable USB drive DM pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPU_EN
USBx | USB instance |
None |
Definition at line 3142 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_dm_rpusw | ( | usb_regs_t * | USBx | ) |
Enable USB drive DM SW pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPUSW_EN
USBx | USB instance |
None |
Definition at line 3232 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_dp_rpd | ( | usb_regs_t * | USBx | ) |
Enable USB drive DP pull down during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPD_EN
USBx | USB instance |
None |
Definition at line 3277 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_dp_rpu | ( | usb_regs_t * | USBx | ) |
Enable USB drive DP pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPU_EN
USBx | USB instance |
None |
Definition at line 3097 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_dp_rpusw | ( | usb_regs_t * | USBx | ) |
Enable USB drive DP SW pullup during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPUSW_EN
USBx | USB instance |
None |
Definition at line 3187 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_ldo33_lp | ( | aon_pmu_regs_t * | AON_PMUx | ) |
Enable USB Transceiver LDO_3.3V low power mode.
Register|BitsName --------|-------- USB_TRX_LDO | LP_EN
AON_PMUx | AON_PMU instance |
None |
Definition at line 390 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_ldo33_vref_test | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB Transceiver LDO_3.3V internal vref probe to test.
Register|BitsName --------|-------- USB_XCRV_LDO | VREF_TEST_EN
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 435 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_oeb | ( | usb_regs_t * | USBx | ) |
Enable USB drive transceiver output enable bar during transceiver test mode.
Register|BitsName --------|-------- CTRL0 | XCVR_OEB
USBx | USB instance |
None |
Definition at line 3052 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_secmp_pd | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB Transceiver single end comparator power down.
Register|BitsName --------|-------- USB_XCRV_CTRL | SECMP_PD
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 711 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_enable_xcvr_suspend | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Enable USB Transceiver suspend.
Register|BitsName --------|-------- USB_XCRV_CTRL | SUSPEND
MCU_SUBx | MCU_SUB instance |
None |
Definition at line 791 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_enabled_clk_force_off_is | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB clock force off is enabled.
Register|BitsName --------|-------- USB_LP_CTRL | CLK_FORCE_OFF
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 696 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_cfg_desc_ctrl_size | ( | usb_regs_t * | USBx | ) |
Get USB config descriptor size.
Register|BitsName --------|-------- CFG_DESC_CTRL | SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3711 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_cfg_desc_ctrl_start | ( | usb_regs_t * | USBx | ) |
Get USB config descriptor start address.
Register|BitsName --------|-------- CFG_DESC_CTRL | START
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3678 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_enum_type | ( | usb_regs_t * | USBx | ) |
Get USB enumeration type.
Register|BitsName --------|-------- CTRL | MCU_ENUM
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 1040 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep0_rx_data_sum | ( | usb_regs_t * | USBx | ) |
Get USB received data sum in the EP0 IN FIFO.
Register|BitsName --------|-------- RX_CNT | EP0_RX_DATA_SUM
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3613 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep1_attr | ( | usb_regs_t * | USBx | ) |
Get USB Endpoint 1 attribute.
Register|BitsName --------|-------- EP_ATTR | EP1
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 1921 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep1_rx_data_sum | ( | usb_regs_t * | USBx | ) |
Get USB received data sum in the EP1 IN FIFO.
Register|BitsName --------|-------- RX_CNT | EP1_RX_DATA_SUM
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3629 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep2_attr | ( | usb_regs_t * | USBx | ) |
Get USB Endpoint 2 attribute.
Register|BitsName --------|-------- EP_ATTR | EP2
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 1958 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep3_ahb_m_burst_size | ( | usb_regs_t * | USBx | ) |
Get USB ep3 AHB master burst length;(default 64)
Register|BitsName --------|-------- EP3_AHBM_CTRL | BURST_SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 2623 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep3_ahb_m_rd_start_addr | ( | usb_regs_t * | USBx | ) |
Get USB ep3 AHB master read start address.
Register|BitsName --------|-------- EP3_AHBM_RADDR | RD_START_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 32 bit address |
Definition at line 2545 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep3_attr | ( | usb_regs_t * | USBx | ) |
Get USB Endpoint 1 attribute.
Register|BitsName --------|-------- EP_ATTR | EP3
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 1995 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep3_xfer_len | ( | usb_regs_t * | USBx | ) |
Get USB ep3 DMA total transfer length.
Register|BitsName --------|-------- EP3_XFER_LEN | EP3_XFER_LEN
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFFFF |
Definition at line 3498 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep4_ahb_m_burst_size | ( | usb_regs_t * | USBx | ) |
Get USB ep4 AHB master burst length;(default 64)
Register|BitsName --------|-------- EP4_AHBM_CTRL | BURST_SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 32 ~ 1023 |
Definition at line 2734 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep4_ahb_m_rd_start_addr | ( | usb_regs_t * | USBx | ) |
Get USB ep4 AHB master read start address.
Register|BitsName --------|-------- EP4_AHBM_RADDR | RD_START_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 32 bit address |
Definition at line 2656 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep4_fifo_wr_en | ( | usb_regs_t * | USBx | ) |
Get USB ep4 FIFO write byte enable value.
Register|BitsName --------|-------- EP4_FIFO_WR_EN | EP4_FIFO_WR_EN
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 4002 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep4_xfer_len | ( | usb_regs_t * | USBx | ) |
Get USB ep4 DMA total transfer length.
Register|BitsName --------|-------- EP4_XFER_LEN | EP4_XFER_LEN
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFFFF |
Definition at line 3531 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep5_ahb_m_rd_start_addr | ( | usb_regs_t * | USBx | ) |
Get USB ep5 AHB master read start address.
Register|BitsName --------|-------- EP5_AHBM_RADDR | RD_START_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 32 bit address |
Definition at line 2767 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep5_rx_data_sum | ( | usb_regs_t * | USBx | ) |
Get USB received data sum in the EP5 IN FIFO.
Register|BitsName --------|-------- EP5_RX_CNT | EP5_RX_CNT
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFFFFFFFFUL |
Definition at line 3645 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep5_timer_val | ( | usb_regs_t * | USBx | ) |
Get USB ep5 DMA total transfer length.
Register|BitsName --------|-------- EP5_TIMER | EP5_TIMER
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFFFF |
Definition at line 3597 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_ep5_xfer_len | ( | usb_regs_t * | USBx | ) |
Get USB ep5 DMA total transfer length.
Register|BitsName --------|-------- EP5_XFER_LEN | EP5_XFER_LEN
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFFFF |
Definition at line 3564 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_func_addr | ( | usb_regs_t * | USBx | ) |
Get USB function address.
Register|BitsName --------|-------- CTRL | FUNC_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 1 ~127 |
Definition at line 1344 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_input_endian_mode | ( | usb_regs_t * | USBx | ) |
Get USB input endian mode.
Register|BitsName --------|-------- CTRL0 | INPUT_ENDIAN_CTRL
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 3422 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_it_flag | ( | usb_regs_t * | USBx | ) |
get USB interrupt flag
Register|BitsName --------|-------- INT_STAT | SUSPEND INT_STAT | EP0_OUT_READY INT_STAT | EP1_OUT_READY INT_STAT | CRC16_ERR INT_STAT | UPID_ERR INT_STAT | TIMEOUT_ERR INT_STAT | SEQ_ERR INT_STAT | PID_CKS_ERR INT_STAT | PID_CRC_ERR INT_STAT | HOST_RESET INT_STAT | AHB_XFER_ERR INT_STAT | NSE_ERR INT_STAT | EP3_AHB_XFER_DONE INT_STAT | SYNC_ERR INT_STAT | BIT_STUFF_ERR INT_STAT | BYTE_ERR INT_STAT | SOF INT_STAT | EP0_TX_DONE INT_STAT | EP2_TX_DONE INT_STAT | EP3_TX_DONE INT_STAT | INTO_CONFIG INT_STAT | EP5_OUT_READY INT_STAT | EP4_AHB_XFER_DONE INT_STAT | EP4_TX_DONE INT_STAT | EP5_AHB_XFER_DONE INT_STAT | EP5_TIMER_OUT_ERR
USBx | USB instance |
intterupt | status register value. |
Definition at line 2237 of file gr55xx_ll_usb.h.
References LL_USB_INT_STAT_ALL.
__STATIC_INLINE uint32_t ll_usb_get_output_endian_mode | ( | usb_regs_t * | USBx | ) |
Get USB output endian mode.
Register|BitsName --------|-------- CTRL0 | OUTPUT_ENDIAN_CTRL
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 3387 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_probe_sel | ( | usb_regs_t * | USBx | ) |
Get USB probe select signal.
Register|BitsName --------|-------- CTRL0 | INPUT_ENDIAN_CTRL
USBx | USB instance |
Returned | Value can be one of the following values: |
Definition at line 3465 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc0_ctrl_size | ( | usb_regs_t * | USBx | ) |
Get USB Language ID descriptor size.
Register|BitsName --------|-------- STR_DESC0_CTRL | SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3777 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc0_ctrl_start | ( | usb_regs_t * | USBx | ) |
Get USB Language ID descriptor start address.
Register|BitsName --------|-------- STR_DESC0_CTRL | START
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3744 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc1_ctrl_size | ( | usb_regs_t * | USBx | ) |
Get USB string descriptor size.
Register|BitsName --------|-------- STR_DESC1_CTRL | SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3843 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc1_ctrl_start | ( | usb_regs_t * | USBx | ) |
Get USB string descriptor start address.
Register|BitsName --------|-------- STR_DESC1_CTRL | START
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 3810 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc2_ctrl_size | ( | usb_regs_t * | USBx | ) |
Get USB string descriptor(302) size.
Register|BitsName --------|-------- STR_DESC1_CTRL | SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 4085 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc2_ctrl_start | ( | usb_regs_t * | USBx | ) |
Get USB string descriptor(302) start address.
Register|BitsName --------|-------- STR_DESC1_CTRL | START
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 4052 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc3_ctrl_size | ( | usb_regs_t * | USBx | ) |
Get USB string descriptor(303) size.
Register|BitsName --------|-------- STR_DESC1_CTRL | SIZE
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 4151 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_str_desc3_ctrl_start | ( | usb_regs_t * | USBx | ) |
Get USB string descriptor(303) start address.
Register|BitsName --------|-------- STR_DESC1_CTRL | START
USBx | USB instance |
Returned | Value can be one of the following values: 0x0 ~ 0xFF |
Definition at line 4118 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_usb_ep0_fifo | ( | usb_regs_t * | USBx | ) |
Get USB endpoint 0 FIFO value.
Register|BitsName --------|-------- EP0_FIFO_ADDR | EP0_FIFO_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 32 bit address |
Definition at line 3876 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_usb_ep1_fifo | ( | usb_regs_t * | USBx | ) |
Get USB endpoint 1 FIFO value.
Register|BitsName --------|-------- EP1_FIFO_ADDR | EP1_FIFO_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 32 bit value |
Definition at line 3892 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_usb_ep5_fifo | ( | usb_regs_t * | USBx | ) |
Get USB endpoint 5 FIFO value.
Register|BitsName --------|-------- EP5_FIFO_ADDR | EP5_FIFO_ADDR
USBx | USB instance |
Returned | Value can be one of the following values: 32 bit value |
Definition at line 3959 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_xcrv_ldo33_bias | ( | aon_pmu_regs_t * | AON_PMUx | ) |
Get USB Transceiver LDO_3.3V vout trimming signal.
Register|BitsName --------|-------- USB_TRX_LDO | BIAS_SEL
AON_PMUx | AON_PMU instance |
Returned | Value can be one of the following values: |
Definition at line 512 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_xcrv_ldo33_VSEL | ( | aon_pmu_regs_t * | AON_PMUx | ) |
Get USB Transceiver LDO_3.3V offer XCVR's current.
Register|BitsName --------|-------- USB_TRX_LDO | VSEL
AON_PMUx | AON_PMU instance |
Returned | Value can be one of the following values: |
Definition at line 559 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_xcrv_rtrimn | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Get USB Transceiver D- output impedance trim.
Register|BitsName --------|-------- USB_XCRV_CTRL | RTRIMN
MCU_SUBx | MCU_SUB instance |
Returned | Value can be one of the following values: |
Definition at line 913 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_xcrv_rtrimp | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Get USB Transceiver D+ output impedance trim.
Register|BitsName --------|-------- USB_XCRV_CTRL | RTRIMP
MCU_SUBx | MCU_SUB instance |
Returned | Value can be one of the following values: |
Definition at line 960 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_get_xcrv_speed | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Get USB Transceiver speed.
Register|BitsName --------|-------- USB_XCRV_CTRL | SPEED
MCU_SUBx | MCU_SUB instance |
Returned | Value can be one of the following values: |
Definition at line 776 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_active_it_flag | ( | usb_regs_t * | USBx, |
uint32_t | flag | ||
) |
Check USB interrupt flag is actived.
Register|BitsName --------|-------- INT_STAT | SUSPEND INT_STAT | EP0_OUT_READY INT_STAT | EP1_OUT_READY INT_STAT | CRC16_ERR INT_STAT | UPID_ERR INT_STAT | TIMEOUT_ERR INT_STAT | SEQ_ERR INT_STAT | PID_CKS_ERR INT_STAT | PID_CRC_ERR INT_STAT | HOST_RESET INT_STAT | AHB_XFER_ERR INT_STAT | NSE_ERR INT_STAT | EP3 AHB_XFER_DONE INT_STAT | SYNC_ERR INT_STAT | BIT_STUFF_ERR INT_STAT | BYTE_ERR INT_STAT | SOF INT_STAT | EP0_TX_DONE INT_STAT | EP2_TX_DONE INT_STAT | EP3_TX_DONE INT_STAT | INTO_CONFIG INT_STAT | EP5_OUT_READY INT_STAT | EP4_AHB_XFER_DONE INT_STAT | EP4_TX_DONE INT_STAT | EP5_AHB_XFER_DONE INT_STAT | EP5_TIMER_OUT_ERR
State | of bit (1 or 0). |
Definition at line 2197 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_addr_stat | ( | usb_regs_t * | USBx | ) |
Check if USB is in addressed status is enabled.
Register|BitsName --------|-------- CTRL | ADDR_STAT
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1206 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_cfg_stat | ( | usb_regs_t * | USBx | ) |
Check if USB is in addressed status is enabled.
Register|BitsName --------|-------- CTRL | CFG_STAT
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1251 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_dev_remote_wakeup | ( | usb_regs_t * | USBx | ) |
Check if USB REMOTE_WAKEUP feature is enabled.
Register|BitsName --------|-------- CTRL | DEV_REMOTE_WAKEUP
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1161 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_drive_dm | ( | usb_regs_t * | USBx | ) |
Check if USB tdrive DM during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | DRIVE_DP
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3037 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_drive_dp | ( | usb_regs_t * | USBx | ) |
Check if USB tdrive DP during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | DRIVE_DP
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2992 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep0_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB has sent all data to EP0 IN FIFO is enabled.
Register|BitsName --------|-------- EP0_1_CTRL | EP0_DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1525 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep0_fifo_switch | ( | usb_regs_t * | USBx | ) |
Check if USB EP0 FIFO switch is enabled.
Register|BitsName --------|-------- CTRL | EP0_FIFO_SWITCH
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1479 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep0_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB OUT data in EP0 is ready is enabled.
Register|BitsName --------|-------- CTRL | EP0_OUT_DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1085 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep1_halt_mcu | ( | usb_regs_t * | USBx | ) |
Check if USB halt EP1 is enabled.
Register|BitsName --------|-------- EP_ATTR | EP1_HALT_MCU
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2040 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep1_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB OUT data in EP1 is ready is enabled.
Register|BitsName --------|-------- CTRL | EP1_OUT_DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1389 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep2_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB has sent all data to EP2 IN FIFO is enabled.
Register|BitsName --------|-------- EP2_CTRL | DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1630 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep2_halt_mcu | ( | usb_regs_t * | USBx | ) |
Check if USB halt EP2 is enabled.
Register|BitsName --------|-------- EP_ATTR | EP2_HALT_MCU
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2085 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep3_ahb_m | ( | usb_regs_t * | USBx | ) |
Check if USB ep3 AHB master is enabled.
Register|BitsName --------|-------- EP3_AHBM_CTRL | EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2590 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep3_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB has sent all data to EP3 IN FIFO is enabled.
Register|BitsName --------|-------- EP3_CTRL | DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1705 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep3_halt_mcu | ( | usb_regs_t * | USBx | ) |
Check if USB halt EP3 is enabled.
Register|BitsName --------|-------- EP_ATTR | EP3_HALT_MCU
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2130 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep4_ahb_m | ( | usb_regs_t * | USBx | ) |
Check if USB ep4 AHB master is enabled.
Register|BitsName --------|-------- EP4_AHBM_CTRL | EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2701 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep4_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB has sent all data to EP4 IN FIFO is enabled.
Register|BitsName --------|-------- EP4_CTRL | DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1780 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep4_empty_packet | ( | usb_regs_t * | USBx | ) |
Check if USB EP4 empty packet is enabled.
Register|BitsName --------|-------- EP4_CTRL | EMPTY_PACKET_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1855 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep5_ahb_m | ( | usb_regs_t * | USBx | ) |
Check if USB ep5 AHB master is enabled.
Register|BitsName --------|-------- EP5_CTRL | AHBM_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2812 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep5_fifo_clr | ( | usb_regs_t * | USBx | ) |
Check if USB ep5 OUT FIFO clear is enabled.
Register|BitsName --------|-------- EP5_CTRL | AHBM_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2857 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep5_out_dat_rdy | ( | usb_regs_t * | USBx | ) |
Check if USB OUT data in EP1 is ready is enabled.
Register|BitsName --------|-------- CTRL | EP5_OUT_DATA_RDY
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 1434 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_ep5_rx_cnt_no_overwrite | ( | usb_regs_t * | USBx | ) |
Check if USB ep5 RX data sum can't be overwritten is enabled.
Register|BitsName --------|-------- EP5_CTRL | RX_CNT_NO_OVERWRITE
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2902 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_it | ( | usb_regs_t * | USBx, |
uint32_t | mask | ||
) |
Check if USB interrupt is enabled.
Register|BitsName --------|-------- INT_EN | SUSPEND INT_EN | EP0_OUT_READY INT_EN | EP1_OUT_READY INT_EN | CRC16_ERR INT_EN | UPID_ERR INT_EN | TIMEOUT_ERR INT_EN | SEQ_ERR INT_EN | PID_CKS_ERR INT_EN | PID_CRC_ERR INT_EN | HOST_RESET INT_EN | AHB_XFER_ERR INT_EN | NSE_ERR INT_EN | EP3_AHB_XFER_DONE INT_EN | SYNC_ERR INT_EN | BIT_STUFF_ERR INT_EN | BYTE_ERR INT_EN | SOF INT_EN | EP0_TX_DONE INT_EN | EP2_TX_DONE INT_EN | EP3_TX_DONE INT_EN | INTO_CONFIG INT_EN | EP5_OUT_READY INT_EN | EP4_AHB_XFER_DONE INT_EN | EP4_TX_DONE INT_EN | EP5_AHB_XFER_DONE INT_EN | EP5_TIMER_OUT_ERR
State | of bit (1 or 0). |
Definition at line 2444 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_pmu_lp | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB low power is enabled.
Register|BitsName --------|-------- USB_LP_CTRL | PMU_LP_EN
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 650 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_suspend_clk_off | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if Turn off USB clock during USB suspend is enabled.
Register|BitsName --------|-------- USB_LP_CTRL | SUSPEND_CLK_OFF
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 605 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_sw_reset | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB software reset is enabled.
Register|BitsName --------|-------- USB_SW_RST | usb_software_reset
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 1005 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_test_mode | ( | usb_regs_t * | USBx | ) |
Check if USB test mode is enabled.
Register|BitsName --------|-------- CTRL0 | EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 2947 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_bias | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB Transceiver bias is enabled.
Register|BitsName --------|-------- USB_XCRV_CTRL | BIAS_EN
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 866 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_dm_rpd | ( | usb_regs_t * | USBx | ) |
Check if USB drive DM pull down during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPD_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3352 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_dm_rpu | ( | usb_regs_t * | USBx | ) |
Check if USB drive DM pullup during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPU_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3172 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_dm_rpusw | ( | usb_regs_t * | USBx | ) |
Check if USB drive DM SW pullup during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_DM_RPUSW_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3262 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_dp_rpd | ( | usb_regs_t * | USBx | ) |
Check if USB drive DP pull down during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPD_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3307 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_dp_rpu | ( | usb_regs_t * | USBx | ) |
Check if USB drive DP pullup during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPU_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3127 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_dp_rpusw | ( | usb_regs_t * | USBx | ) |
Check if USB drive DP SW pullup during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_DP_RPUSW_EN
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3217 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_ldo33_lp | ( | aon_pmu_regs_t * | AON_PMUx | ) |
Check if USB Transceiver LDO_3.3V low power mode is enabled.
Register|BitsName --------|-------- USB_TRX_LDO | LP_EN
AON_PMUx | AON_PMU instance |
State | of bit (1 or 0). |
Definition at line 420 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_ldo33_vref_test | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB Transceiver LDO_3.3V internal vref probe to test is enabled.
Register|BitsName --------|-------- USB_XCRV_LDO | VREF_TEST_EN
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 465 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_oeb | ( | usb_regs_t * | USBx | ) |
Check if USB drive transceiver output enable bar during transceiver test mode is enabled.
Register|BitsName --------|-------- CTRL0 | XCVR_OEB
USBx | USB instance |
State | of bit (1 or 0). |
Definition at line 3082 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_secmp_pd | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB Transceiver single end comparator power down is enabled.
Register|BitsName --------|-------- USB_XCRV_CTRL | SECMP_PD
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 741 of file gr55xx_ll_usb.h.
__STATIC_INLINE uint32_t ll_usb_is_enabled_xcvr_suspend | ( | mcu_sub_regs_t * | MCU_SUBx | ) |
Check if USB Transceiver suspend is enabled.
Register|BitsName --------|-------- USB_XCRV_CTRL | SUSPEND
MCU_SUBx | MCU_SUB instance |
State | of bit (1 or 0). |
Definition at line 821 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_cfg_desc_ctrl_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB config descriptor size.
Register|BitsName --------|-------- CFG_DESC_CTRL | SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 3695 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_cfg_desc_ctrl_start | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB config descriptor start address.
Register|BitsName --------|-------- CFG_DESC_CTRL | START
USBx | USB instance |
addr | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 3662 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep1_attr | ( | usb_regs_t * | USBx, |
uint32_t | attr | ||
) |
Set USB Endpoint 1 attribute.
Register|BitsName --------|-------- EP_ATTR | EP1
USBx | USB instance |
attr | This parameter can be one of the following values: |
None |
Definition at line 1903 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep2_attr | ( | usb_regs_t * | USBx, |
uint32_t | attr | ||
) |
Set USB Endpoint 2 attribute.
Register|BitsName --------|-------- EP_ATTR | EP2
USBx | USB instance |
attr | This parameter can be one of the following values: |
None |
Definition at line 1940 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep3_ahb_m_burst_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB ep3 AHB master burst length;(default 64)
Register|BitsName --------|-------- EP3_AHBM_CTRL | BURST_SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 2607 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep3_ahb_m_rd_start_addr | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB ep3 AHB master read start address.
Register|BitsName --------|-------- EP3_AHBM_RADDR | RD_START_ADDR
USBx | USB instance |
addr | This parameter can be one of the following values: 32 bit address |
None |
Definition at line 2529 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep3_attr | ( | usb_regs_t * | USBx, |
uint32_t | attr | ||
) |
Set USB Endpoint 3 attribute.
Register|BitsName --------|-------- EP_ATTR | EP3
USBx | USB instance |
attr | This parameter can be one of the following values: |
None |
Definition at line 1977 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep3_xfer_len | ( | usb_regs_t * | USBx, |
uint32_t | len | ||
) |
Set USB ep3 DMA total transfer length.
Register|BitsName --------|-------- EP3_XFER_LEN | EP3_XFER_LEN
USBx | USB instance |
len | This parameter can be one of the following values: 0x0 ~ 0xFFFF |
None |
Definition at line 3482 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep4_ahb_m_burst_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB ep4 AHB master burst length;(default 64)
Register|BitsName --------|-------- EP4_AHBM_CTRL | BURST_SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 32 ~ 1023 |
None |
Definition at line 2718 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep4_ahb_m_rd_start_addr | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB ep4 AHB master read start address.
Register|BitsName --------|-------- EP4_AHBM_RADDR | RD_START_ADDR
USBx | USB instance |
addr | This parameter can be one of the following values: 32 bit address |
None |
Definition at line 2640 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep4_fifo_wr_en | ( | usb_regs_t * | USBx, |
uint32_t | len | ||
) |
Set USB ep4 FIFO write byte enable value.
Register|BitsName --------|-------- EP4_FIFO_WR_EN | EP4_FIFO_WR_EN
USBx | USB instance |
len | This parameter can be one of the following values: |
None |
Definition at line 3981 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep4_xfer_len | ( | usb_regs_t * | USBx, |
uint32_t | len | ||
) |
Set USB ep4 DMA total transfer length.
Register|BitsName --------|-------- EP4_XFER_LEN | EP4_XFER_LEN
USBx | USB instance |
len | This parameter can be one of the following values: 0x0 ~ 0xFFFF |
None |
Definition at line 3515 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep5_ahb_m_rd_start_addr | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB ep5 AHB master read start address.
Register|BitsName --------|-------- EP5_AHBM_RADDR | RD_START_ADDR
USBx | USB instance |
addr | This parameter can be one of the following values: 32 bit address |
None |
Definition at line 2751 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep5_timer_val | ( | usb_regs_t * | USBx, |
uint32_t | len | ||
) |
Set USB ep5 DMA recieve data time out value.
Register|BitsName --------|-------- EP5_TIMER | EP5_TIMER
USBx | USB instance |
len | This parameter can be one of the following values: 0x0 ~ 0x3FF |
None |
Definition at line 3581 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_ep5_xfer_len | ( | usb_regs_t * | USBx, |
uint32_t | len | ||
) |
Set USB ep5 DMA total transfer length.
Register|BitsName --------|-------- EP5_XFER_LEN | EP5_XFER_LEN
USBx | USB instance |
len | This parameter can be one of the following values: 0x0 ~ 0xFFFF |
None |
Definition at line 3548 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_func_addr | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB function address.
Register|BitsName --------|-------- CTRL | FUNC_ADDR
USBx | USB instance |
addr | This parameter can be one of the following values: 1 ~127 |
None |
Definition at line 1328 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_input_endian_mode | ( | usb_regs_t * | USBx, |
uint32_t | mode | ||
) |
Set USB input endian mode.
Register|BitsName --------|-------- CTRL0 | INPUT_ENDIAN_CTRL
USBx | USB instance |
mode | This parameter can be one of the following values: |
None |
Definition at line 3405 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_output_endian_mode | ( | usb_regs_t * | USBx, |
uint32_t | mode | ||
) |
Set USB output endian mode.
Register|BitsName --------|-------- CTRL0 | OUTPUT_ENDIAN_CTRL
USBx | USB instance |
mode | This parameter can be one of the following values: |
None |
Definition at line 3370 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_probe_sel | ( | usb_regs_t * | USBx, |
uint32_t | sel | ||
) |
Set USB probe select signal.
Register|BitsName --------|-------- CTRL0 | INPUT_ENDIAN_CTRL
USBx | USB instance |
sel | This parameter can be one of the following values: |
None |
Definition at line 3444 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc0_ctrl_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB Language ID descriptor size.
Register|BitsName --------|-------- STR_DESC0_CTRL | SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 3761 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc0_ctrl_start | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB Language ID descriptor start address.
Register|BitsName --------|-------- STR_DESC0_CTRL | START
USBx | USB instance |
addr | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 3728 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc1_ctrl_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB string descriptor size.
Register|BitsName --------|-------- STR_DESC1_CTRL | SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 3827 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc1_ctrl_start | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB string descriptor start address.
Register|BitsName --------|-------- STR_DESC1_CTRL | START
USBx | USB instance |
addr | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 3794 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc2_ctrl_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB string descriptor(302) size.
Register|BitsName --------|-------- STR_DESC1_CTRL | SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 4069 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc2_ctrl_start | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB string descriptor(302) start address.
Register|BitsName --------|-------- STR_DESC1_CTRL | START
USBx | USB instance |
addr | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 4036 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc3_ctrl_size | ( | usb_regs_t * | USBx, |
uint32_t | size | ||
) |
Set USB string descriptor(303) size.
Register|BitsName --------|-------- STR_DESC1_CTRL | SIZE
USBx | USB instance |
size | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 4135 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_str_desc3_ctrl_start | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB string descriptor(303) start address.
Register|BitsName --------|-------- STR_DESC1_CTRL | START
USBx | USB instance |
addr | This parameter can be one of the following values: 0x0 ~ 0xFF |
None |
Definition at line 4102 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_usb_desc_sram_addr | ( | usb_regs_t * | USBx, |
uint32_t | addr | ||
) |
Set USB descriptor SRAM value.
Register|BitsName --------|-------- SRAM_ADDR | DESC_SRAM
USBx | USB instance |
addr | This parameter can be one of the following values: 32 bit value |
None |
Definition at line 4019 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_usb_enum_type | ( | usb_regs_t * | USBx, |
uint32_t | type | ||
) |
Set USB enumeration type.
Register|BitsName --------|-------- CTRL | MCU_ENUM
USBx | USB instance |
type | This parameter can be one of the following values: |
None |
Definition at line 1023 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_usb_ep0_fifo | ( | usb_regs_t * | USBx, |
uint32_t | value | ||
) |
Set USB endpoint 0 FIFO address.
Register|BitsName --------|-------- EP0_FIFO_ADDR | EP0_FIFO_ADDR
USBx | USB instance |
value | This parameter can be one of the following values: 32 bit address |
None |
Definition at line 3860 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_usb_ep2_fifo | ( | usb_regs_t * | USBx, |
uint32_t | value | ||
) |
Set USB endpoint 2 FIFO value.
Register|BitsName --------|-------- EP2_FIFO_ADDR | EP2_FIFO_ADDR
USBx | USB instance |
value | This parameter can be one of the following values: 32 bit value |
None |
Definition at line 3909 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_usb_ep3_fifo | ( | usb_regs_t * | USBx, |
uint32_t | value | ||
) |
Set USB endpoint 3 FIFO value.
Register|BitsName --------|-------- EP3_FIFO_ADDR | EP3_FIFO_ADDR
USBx | USB instance |
value | This parameter can be one of the following values: 32 bit value |
None |
Definition at line 3926 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_usb_ep4_fifo | ( | usb_regs_t * | USBx, |
uint32_t | value | ||
) |
Set USB endpoint 4 FIFO value.
Register|BitsName --------|-------- EP4_FIFO_ADDR | EP4_FIFO_ADDR
USBx | USB instance |
value | This parameter can be one of the following values: 32 bit value |
None |
Definition at line 3943 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_xcrv_ldo33_bias | ( | aon_pmu_regs_t * | AON_PMUx, |
uint32_t | value | ||
) |
Set USB Transceiver LDO_3.3V vout trimming signal.
Register|BitsName --------|-------- USB_TRX_LDO | BIAS_SEL
AON_PMUx | AON_PMU instance |
value | This parameter can be one of the following values: |
None |
Definition at line 489 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_xcrv_ldo33_VSEL | ( | aon_pmu_regs_t * | AON_PMUx, |
uint32_t | value | ||
) |
Set USB Transceiver LDO_3.3V offer XCVR's current.
Register|BitsName --------|-------- USB_TRX_LDO | VSEL
AON_PMUx | AON_PMU instance |
value | This parameter can be one of the following values: |
None |
Definition at line 536 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_xcrv_rtrimn | ( | mcu_sub_regs_t * | MCU_SUBx, |
uint32_t | value | ||
) |
Set USB Transceiver D- output impedance trim.
Register|BitsName --------|-------- USB_XCRV_CTRL | RTRIMN
MCU_SUBx | MCU_SUB instance |
value | This parameter can be one of the following values: |
None |
Definition at line 890 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_xcrv_rtrimp | ( | mcu_sub_regs_t * | MCU_SUBx, |
uint32_t | value | ||
) |
Set USB Transceiver D+ output impedance trim.
Register|BitsName --------|-------- USB_XCRV_CTRL | RTRIMP
MCU_SUBx | MCU_SUB instance |
value | This parameter can be one of the following values: |
None |
Definition at line 937 of file gr55xx_ll_usb.h.
__STATIC_INLINE void ll_usb_set_xcrv_speed | ( | mcu_sub_regs_t * | MCU_SUBx, |
uint32_t | speed | ||
) |
Set USB Transceiver speed.
Register|BitsName --------|-------- USB_XCRV_CTRL | SPEED
MCU_SUBx | MCU_SUB instance |
speed | This parameter can be one of the following values: |
None |
Definition at line 759 of file gr55xx_ll_usb.h.