Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Embed: (wiki syntax)

« Back to documentation index

_hw_usb_addr Union Reference

_hw_usb_addr Union Reference

HW_USB_ADDR - Address register (RW) More...

#include <MK64F12_usb.h>


Detailed Description

HW_USB_ADDR - Address register (RW)

Reset value: 0x00U

Holds the unique USB address that the USB module decodes when in Peripheral mode (HOSTMODEEN=0). When operating in Host mode (HOSTMODEEN=1) the USB module transmits this address with a TOKEN packet. This enables the USB module to uniquely address any USB peripheral. In either mode, CTL[USBENSOFEN] must be 1. The Address register is reset to 0x00 after the reset input becomes active or the USB module decodes a USB reset signal. This action initializes the Address register to decode address 0x00 as required by the USB specification.

Definition at line 2240 of file MK64F12_usb.h.