Struct usbctrl_regs#

Struct Documentation#

struct usbctrl_regs#

USB FS/LS controller device registers

Public Functions

inline uint8_t get_ADDR_ENDP_ADDRESS() volatile#

Get ADDR_ENDP’s ADDRESS field.

In device mode, the address that the device should respond to. Set in response to a SET_ADDR setup packet from the host. In host mode set to the address of the device to communicate with.

inline void set_ADDR_ENDP_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP’s ADDRESS field.

In device mode, the address that the device should respond to. Set in response to a SET_ADDR setup packet from the host. In host mode set to the address of the device to communicate with.

inline uint8_t get_ADDR_ENDP_ENDPOINT() volatile#

Get ADDR_ENDP’s ENDPOINT field.

Device endpoint to send data to. Only valid for HOST mode.

inline void set_ADDR_ENDP_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP’s ENDPOINT field.

Device endpoint to send data to. Only valid for HOST mode.

inline void get_ADDR_ENDP(uint8_t &ADDRESS, uint8_t &ENDPOINT) volatile#

Get all of ADDR_ENDP’s bit fields.

(read-write) Device address and endpoint control

inline void set_ADDR_ENDP(uint8_t ADDRESS, uint8_t ENDPOINT) volatile#

Set all of ADDR_ENDP’s bit fields.

(read-write) Device address and endpoint control

inline uint8_t get_ADDR_ENDP1_ADDRESS() volatile#

Get ADDR_ENDP1’s ADDRESS field.

Device address

inline void set_ADDR_ENDP1_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP1’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP1_ENDPOINT() volatile#

Get ADDR_ENDP1’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP1_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP1’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP1_INTEP_DIR() volatile#

Get ADDR_ENDP1’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP1_INTEP_DIR() volatile#

Set ADDR_ENDP1’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP1_INTEP_DIR() volatile#

Clear ADDR_ENDP1’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP1_INTEP_DIR() volatile#

Toggle ADDR_ENDP1’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP1_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP1’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP1_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP1’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP1_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP1’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP1_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP1’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP1(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP1’s bit fields.

(read-write) Interrupt endpoint 1. Only valid for HOST mode.

inline void set_ADDR_ENDP1(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP1’s bit fields.

(read-write) Interrupt endpoint 1. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP2_ADDRESS() volatile#

Get ADDR_ENDP2’s ADDRESS field.

Device address

inline void set_ADDR_ENDP2_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP2’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP2_ENDPOINT() volatile#

Get ADDR_ENDP2’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP2_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP2’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP2_INTEP_DIR() volatile#

Get ADDR_ENDP2’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP2_INTEP_DIR() volatile#

Set ADDR_ENDP2’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP2_INTEP_DIR() volatile#

Clear ADDR_ENDP2’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP2_INTEP_DIR() volatile#

Toggle ADDR_ENDP2’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP2_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP2’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP2_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP2’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP2_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP2’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP2_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP2’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP2(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP2’s bit fields.

(read-write) Interrupt endpoint 2. Only valid for HOST mode.

inline void set_ADDR_ENDP2(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP2’s bit fields.

(read-write) Interrupt endpoint 2. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP3_ADDRESS() volatile#

Get ADDR_ENDP3’s ADDRESS field.

Device address

inline void set_ADDR_ENDP3_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP3’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP3_ENDPOINT() volatile#

Get ADDR_ENDP3’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP3_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP3’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP3_INTEP_DIR() volatile#

Get ADDR_ENDP3’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP3_INTEP_DIR() volatile#

Set ADDR_ENDP3’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP3_INTEP_DIR() volatile#

Clear ADDR_ENDP3’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP3_INTEP_DIR() volatile#

Toggle ADDR_ENDP3’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP3_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP3’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP3_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP3’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP3_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP3’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP3_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP3’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP3(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP3’s bit fields.

(read-write) Interrupt endpoint 3. Only valid for HOST mode.

inline void set_ADDR_ENDP3(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP3’s bit fields.

(read-write) Interrupt endpoint 3. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP4_ADDRESS() volatile#

Get ADDR_ENDP4’s ADDRESS field.

Device address

inline void set_ADDR_ENDP4_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP4’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP4_ENDPOINT() volatile#

Get ADDR_ENDP4’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP4_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP4’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP4_INTEP_DIR() volatile#

Get ADDR_ENDP4’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP4_INTEP_DIR() volatile#

Set ADDR_ENDP4’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP4_INTEP_DIR() volatile#

Clear ADDR_ENDP4’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP4_INTEP_DIR() volatile#

Toggle ADDR_ENDP4’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP4_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP4’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP4_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP4’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP4_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP4’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP4_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP4’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP4(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP4’s bit fields.

(read-write) Interrupt endpoint 4. Only valid for HOST mode.

inline void set_ADDR_ENDP4(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP4’s bit fields.

(read-write) Interrupt endpoint 4. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP5_ADDRESS() volatile#

Get ADDR_ENDP5’s ADDRESS field.

Device address

inline void set_ADDR_ENDP5_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP5’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP5_ENDPOINT() volatile#

Get ADDR_ENDP5’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP5_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP5’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP5_INTEP_DIR() volatile#

Get ADDR_ENDP5’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP5_INTEP_DIR() volatile#

Set ADDR_ENDP5’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP5_INTEP_DIR() volatile#

Clear ADDR_ENDP5’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP5_INTEP_DIR() volatile#

Toggle ADDR_ENDP5’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP5_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP5’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP5_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP5’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP5_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP5’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP5_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP5’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP5(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP5’s bit fields.

(read-write) Interrupt endpoint 5. Only valid for HOST mode.

inline void set_ADDR_ENDP5(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP5’s bit fields.

(read-write) Interrupt endpoint 5. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP6_ADDRESS() volatile#

Get ADDR_ENDP6’s ADDRESS field.

Device address

inline void set_ADDR_ENDP6_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP6’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP6_ENDPOINT() volatile#

Get ADDR_ENDP6’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP6_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP6’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP6_INTEP_DIR() volatile#

Get ADDR_ENDP6’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP6_INTEP_DIR() volatile#

Set ADDR_ENDP6’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP6_INTEP_DIR() volatile#

Clear ADDR_ENDP6’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP6_INTEP_DIR() volatile#

Toggle ADDR_ENDP6’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP6_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP6’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP6_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP6’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP6_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP6’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP6_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP6’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP6(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP6’s bit fields.

(read-write) Interrupt endpoint 6. Only valid for HOST mode.

inline void set_ADDR_ENDP6(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP6’s bit fields.

(read-write) Interrupt endpoint 6. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP7_ADDRESS() volatile#

Get ADDR_ENDP7’s ADDRESS field.

Device address

inline void set_ADDR_ENDP7_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP7’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP7_ENDPOINT() volatile#

Get ADDR_ENDP7’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP7_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP7’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP7_INTEP_DIR() volatile#

Get ADDR_ENDP7’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP7_INTEP_DIR() volatile#

Set ADDR_ENDP7’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP7_INTEP_DIR() volatile#

Clear ADDR_ENDP7’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP7_INTEP_DIR() volatile#

Toggle ADDR_ENDP7’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP7_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP7’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP7_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP7’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP7_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP7’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP7_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP7’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP7(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP7’s bit fields.

(read-write) Interrupt endpoint 7. Only valid for HOST mode.

inline void set_ADDR_ENDP7(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP7’s bit fields.

(read-write) Interrupt endpoint 7. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP8_ADDRESS() volatile#

Get ADDR_ENDP8’s ADDRESS field.

Device address

inline void set_ADDR_ENDP8_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP8’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP8_ENDPOINT() volatile#

Get ADDR_ENDP8’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP8_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP8’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP8_INTEP_DIR() volatile#

Get ADDR_ENDP8’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP8_INTEP_DIR() volatile#

Set ADDR_ENDP8’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP8_INTEP_DIR() volatile#

Clear ADDR_ENDP8’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP8_INTEP_DIR() volatile#

Toggle ADDR_ENDP8’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP8_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP8’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP8_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP8’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP8_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP8’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP8_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP8’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP8(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP8’s bit fields.

(read-write) Interrupt endpoint 8. Only valid for HOST mode.

inline void set_ADDR_ENDP8(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP8’s bit fields.

(read-write) Interrupt endpoint 8. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP9_ADDRESS() volatile#

Get ADDR_ENDP9’s ADDRESS field.

Device address

inline void set_ADDR_ENDP9_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP9’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP9_ENDPOINT() volatile#

Get ADDR_ENDP9’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP9_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP9’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP9_INTEP_DIR() volatile#

Get ADDR_ENDP9’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP9_INTEP_DIR() volatile#

Set ADDR_ENDP9’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP9_INTEP_DIR() volatile#

Clear ADDR_ENDP9’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP9_INTEP_DIR() volatile#

Toggle ADDR_ENDP9’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP9_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP9’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP9_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP9’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP9_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP9’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP9_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP9’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP9(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP9’s bit fields.

(read-write) Interrupt endpoint 9. Only valid for HOST mode.

inline void set_ADDR_ENDP9(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP9’s bit fields.

(read-write) Interrupt endpoint 9. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP10_ADDRESS() volatile#

Get ADDR_ENDP10’s ADDRESS field.

Device address

inline void set_ADDR_ENDP10_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP10’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP10_ENDPOINT() volatile#

Get ADDR_ENDP10’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP10_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP10’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP10_INTEP_DIR() volatile#

Get ADDR_ENDP10’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP10_INTEP_DIR() volatile#

Set ADDR_ENDP10’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP10_INTEP_DIR() volatile#

Clear ADDR_ENDP10’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP10_INTEP_DIR() volatile#

Toggle ADDR_ENDP10’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP10_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP10’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP10_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP10’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP10_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP10’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP10_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP10’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP10(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP10’s bit fields.

(read-write) Interrupt endpoint 10. Only valid for HOST mode.

inline void set_ADDR_ENDP10(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP10’s bit fields.

(read-write) Interrupt endpoint 10. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP11_ADDRESS() volatile#

Get ADDR_ENDP11’s ADDRESS field.

Device address

inline void set_ADDR_ENDP11_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP11’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP11_ENDPOINT() volatile#

Get ADDR_ENDP11’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP11_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP11’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP11_INTEP_DIR() volatile#

Get ADDR_ENDP11’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP11_INTEP_DIR() volatile#

Set ADDR_ENDP11’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP11_INTEP_DIR() volatile#

Clear ADDR_ENDP11’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP11_INTEP_DIR() volatile#

Toggle ADDR_ENDP11’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP11_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP11’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP11_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP11’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP11_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP11’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP11_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP11’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP11(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP11’s bit fields.

(read-write) Interrupt endpoint 11. Only valid for HOST mode.

inline void set_ADDR_ENDP11(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP11’s bit fields.

(read-write) Interrupt endpoint 11. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP12_ADDRESS() volatile#

Get ADDR_ENDP12’s ADDRESS field.

Device address

inline void set_ADDR_ENDP12_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP12’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP12_ENDPOINT() volatile#

Get ADDR_ENDP12’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP12_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP12’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP12_INTEP_DIR() volatile#

Get ADDR_ENDP12’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP12_INTEP_DIR() volatile#

Set ADDR_ENDP12’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP12_INTEP_DIR() volatile#

Clear ADDR_ENDP12’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP12_INTEP_DIR() volatile#

Toggle ADDR_ENDP12’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP12_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP12’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP12_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP12’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP12_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP12’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP12_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP12’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP12(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP12’s bit fields.

(read-write) Interrupt endpoint 12. Only valid for HOST mode.

inline void set_ADDR_ENDP12(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP12’s bit fields.

(read-write) Interrupt endpoint 12. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP13_ADDRESS() volatile#

Get ADDR_ENDP13’s ADDRESS field.

Device address

inline void set_ADDR_ENDP13_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP13’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP13_ENDPOINT() volatile#

Get ADDR_ENDP13’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP13_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP13’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP13_INTEP_DIR() volatile#

Get ADDR_ENDP13’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP13_INTEP_DIR() volatile#

Set ADDR_ENDP13’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP13_INTEP_DIR() volatile#

Clear ADDR_ENDP13’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP13_INTEP_DIR() volatile#

Toggle ADDR_ENDP13’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP13_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP13’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP13_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP13’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP13_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP13’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP13_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP13’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP13(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP13’s bit fields.

(read-write) Interrupt endpoint 13. Only valid for HOST mode.

inline void set_ADDR_ENDP13(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP13’s bit fields.

(read-write) Interrupt endpoint 13. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP14_ADDRESS() volatile#

Get ADDR_ENDP14’s ADDRESS field.

Device address

inline void set_ADDR_ENDP14_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP14’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP14_ENDPOINT() volatile#

Get ADDR_ENDP14’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP14_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP14’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP14_INTEP_DIR() volatile#

Get ADDR_ENDP14’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP14_INTEP_DIR() volatile#

Set ADDR_ENDP14’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP14_INTEP_DIR() volatile#

Clear ADDR_ENDP14’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP14_INTEP_DIR() volatile#

Toggle ADDR_ENDP14’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP14_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP14’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP14_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP14’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP14_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP14’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP14_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP14’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP14(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP14’s bit fields.

(read-write) Interrupt endpoint 14. Only valid for HOST mode.

inline void set_ADDR_ENDP14(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP14’s bit fields.

(read-write) Interrupt endpoint 14. Only valid for HOST mode.

inline uint8_t get_ADDR_ENDP15_ADDRESS() volatile#

Get ADDR_ENDP15’s ADDRESS field.

Device address

inline void set_ADDR_ENDP15_ADDRESS(uint8_t value) volatile#

Set ADDR_ENDP15’s ADDRESS field.

Device address

inline uint8_t get_ADDR_ENDP15_ENDPOINT() volatile#

Get ADDR_ENDP15’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline void set_ADDR_ENDP15_ENDPOINT(uint8_t value) volatile#

Set ADDR_ENDP15’s ENDPOINT field.

Endpoint number of the interrupt endpoint

inline bool get_ADDR_ENDP15_INTEP_DIR() volatile#

Get ADDR_ENDP15’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void set_ADDR_ENDP15_INTEP_DIR() volatile#

Set ADDR_ENDP15’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void clear_ADDR_ENDP15_INTEP_DIR() volatile#

Clear ADDR_ENDP15’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline void toggle_ADDR_ENDP15_INTEP_DIR() volatile#

Toggle ADDR_ENDP15’s INTEP_DIR bit.

Direction of the interrupt endpoint. In=0, Out=1

inline bool get_ADDR_ENDP15_INTEP_PREAMBLE() volatile#

Get ADDR_ENDP15’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void set_ADDR_ENDP15_INTEP_PREAMBLE() volatile#

Set ADDR_ENDP15’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void clear_ADDR_ENDP15_INTEP_PREAMBLE() volatile#

Clear ADDR_ENDP15’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void toggle_ADDR_ENDP15_INTEP_PREAMBLE() volatile#

Toggle ADDR_ENDP15’s INTEP_PREAMBLE bit.

Interrupt EP requires preamble (is a low speed device on a full speed hub)

inline void get_ADDR_ENDP15(uint8_t &ADDRESS, uint8_t &ENDPOINT, bool &INTEP_DIR, bool &INTEP_PREAMBLE) volatile#

Get all of ADDR_ENDP15’s bit fields.

(read-write) Interrupt endpoint 15. Only valid for HOST mode.

inline void set_ADDR_ENDP15(uint8_t ADDRESS, uint8_t ENDPOINT, bool INTEP_DIR, bool INTEP_PREAMBLE) volatile#

Set all of ADDR_ENDP15’s bit fields.

(read-write) Interrupt endpoint 15. Only valid for HOST mode.

inline bool get_MAIN_CTRL_CONTROLLER_EN() volatile#

Get MAIN_CTRL’s CONTROLLER_EN bit.

Enable controller

inline void set_MAIN_CTRL_CONTROLLER_EN() volatile#

Set MAIN_CTRL’s CONTROLLER_EN bit.

Enable controller

inline void clear_MAIN_CTRL_CONTROLLER_EN() volatile#

Clear MAIN_CTRL’s CONTROLLER_EN bit.

Enable controller

inline void toggle_MAIN_CTRL_CONTROLLER_EN() volatile#

Toggle MAIN_CTRL’s CONTROLLER_EN bit.

Enable controller

inline bool get_MAIN_CTRL_HOST_NDEVICE() volatile#

Get MAIN_CTRL’s HOST_NDEVICE bit.

Device mode = 0, Host mode = 1

inline void set_MAIN_CTRL_HOST_NDEVICE() volatile#

Set MAIN_CTRL’s HOST_NDEVICE bit.

Device mode = 0, Host mode = 1

inline void clear_MAIN_CTRL_HOST_NDEVICE() volatile#

Clear MAIN_CTRL’s HOST_NDEVICE bit.

Device mode = 0, Host mode = 1

inline void toggle_MAIN_CTRL_HOST_NDEVICE() volatile#

Toggle MAIN_CTRL’s HOST_NDEVICE bit.

Device mode = 0, Host mode = 1

inline bool get_MAIN_CTRL_SIM_TIMING() volatile#

Get MAIN_CTRL’s SIM_TIMING bit.

Reduced timings for simulation

inline void set_MAIN_CTRL_SIM_TIMING() volatile#

Set MAIN_CTRL’s SIM_TIMING bit.

Reduced timings for simulation

inline void clear_MAIN_CTRL_SIM_TIMING() volatile#

Clear MAIN_CTRL’s SIM_TIMING bit.

Reduced timings for simulation

inline void toggle_MAIN_CTRL_SIM_TIMING() volatile#

Toggle MAIN_CTRL’s SIM_TIMING bit.

Reduced timings for simulation

inline void get_MAIN_CTRL(bool &CONTROLLER_EN, bool &HOST_NDEVICE, bool &SIM_TIMING) volatile#

Get all of MAIN_CTRL’s bit fields.

(read-write) Main control register

inline void set_MAIN_CTRL(bool CONTROLLER_EN, bool HOST_NDEVICE, bool SIM_TIMING) volatile#

Set all of MAIN_CTRL’s bit fields.

(read-write) Main control register

inline void set_SOF_WR_COUNT(uint16_t value) volatile#

Set SOF_WR’s COUNT field.

inline uint16_t get_SOF_RD_COUNT() volatile#

Get SOF_RD’s COUNT field.

inline bool get_SIE_CTRL_START_TRANS() volatile#

Get SIE_CTRL’s START_TRANS bit.

Host: Start transaction

inline void set_SIE_CTRL_START_TRANS() volatile#

Set SIE_CTRL’s START_TRANS bit.

Host: Start transaction

inline void clear_SIE_CTRL_START_TRANS() volatile#

Clear SIE_CTRL’s START_TRANS bit.

Host: Start transaction

inline void toggle_SIE_CTRL_START_TRANS() volatile#

Toggle SIE_CTRL’s START_TRANS bit.

Host: Start transaction

inline bool get_SIE_CTRL_SEND_SETUP() volatile#

Get SIE_CTRL’s SEND_SETUP bit.

Host: Send Setup packet

inline void set_SIE_CTRL_SEND_SETUP() volatile#

Set SIE_CTRL’s SEND_SETUP bit.

Host: Send Setup packet

inline void clear_SIE_CTRL_SEND_SETUP() volatile#

Clear SIE_CTRL’s SEND_SETUP bit.

Host: Send Setup packet

inline void toggle_SIE_CTRL_SEND_SETUP() volatile#

Toggle SIE_CTRL’s SEND_SETUP bit.

Host: Send Setup packet

inline bool get_SIE_CTRL_SEND_DATA() volatile#

Get SIE_CTRL’s SEND_DATA bit.

Host: Send transaction (OUT from host)

inline void set_SIE_CTRL_SEND_DATA() volatile#

Set SIE_CTRL’s SEND_DATA bit.

Host: Send transaction (OUT from host)

inline void clear_SIE_CTRL_SEND_DATA() volatile#

Clear SIE_CTRL’s SEND_DATA bit.

Host: Send transaction (OUT from host)

inline void toggle_SIE_CTRL_SEND_DATA() volatile#

Toggle SIE_CTRL’s SEND_DATA bit.

Host: Send transaction (OUT from host)

inline bool get_SIE_CTRL_RECEIVE_DATA() volatile#

Get SIE_CTRL’s RECEIVE_DATA bit.

Host: Receive transaction (IN to host)

inline void set_SIE_CTRL_RECEIVE_DATA() volatile#

Set SIE_CTRL’s RECEIVE_DATA bit.

Host: Receive transaction (IN to host)

inline void clear_SIE_CTRL_RECEIVE_DATA() volatile#

Clear SIE_CTRL’s RECEIVE_DATA bit.

Host: Receive transaction (IN to host)

inline void toggle_SIE_CTRL_RECEIVE_DATA() volatile#

Toggle SIE_CTRL’s RECEIVE_DATA bit.

Host: Receive transaction (IN to host)

inline bool get_SIE_CTRL_STOP_TRANS() volatile#

Get SIE_CTRL’s STOP_TRANS bit.

Host: Stop transaction

inline void set_SIE_CTRL_STOP_TRANS() volatile#

Set SIE_CTRL’s STOP_TRANS bit.

Host: Stop transaction

inline void clear_SIE_CTRL_STOP_TRANS() volatile#

Clear SIE_CTRL’s STOP_TRANS bit.

Host: Stop transaction

inline void toggle_SIE_CTRL_STOP_TRANS() volatile#

Toggle SIE_CTRL’s STOP_TRANS bit.

Host: Stop transaction

inline bool get_SIE_CTRL_PREAMBLE_EN() volatile#

Get SIE_CTRL’s PREAMBLE_EN bit.

Host: Preable enable for LS device on FS hub

inline void set_SIE_CTRL_PREAMBLE_EN() volatile#

Set SIE_CTRL’s PREAMBLE_EN bit.

Host: Preable enable for LS device on FS hub

inline void clear_SIE_CTRL_PREAMBLE_EN() volatile#

Clear SIE_CTRL’s PREAMBLE_EN bit.

Host: Preable enable for LS device on FS hub

inline void toggle_SIE_CTRL_PREAMBLE_EN() volatile#

Toggle SIE_CTRL’s PREAMBLE_EN bit.

Host: Preable enable for LS device on FS hub

inline bool get_SIE_CTRL_SOF_SYNC() volatile#

Get SIE_CTRL’s SOF_SYNC bit.

Host: Delay packet(s) until after SOF

inline void set_SIE_CTRL_SOF_SYNC() volatile#

Set SIE_CTRL’s SOF_SYNC bit.

Host: Delay packet(s) until after SOF

inline void clear_SIE_CTRL_SOF_SYNC() volatile#

Clear SIE_CTRL’s SOF_SYNC bit.

Host: Delay packet(s) until after SOF

inline void toggle_SIE_CTRL_SOF_SYNC() volatile#

Toggle SIE_CTRL’s SOF_SYNC bit.

Host: Delay packet(s) until after SOF

inline bool get_SIE_CTRL_SOF_EN() volatile#

Get SIE_CTRL’s SOF_EN bit.

Host: Enable SOF generation (for full speed bus)

inline void set_SIE_CTRL_SOF_EN() volatile#

Set SIE_CTRL’s SOF_EN bit.

Host: Enable SOF generation (for full speed bus)

inline void clear_SIE_CTRL_SOF_EN() volatile#

Clear SIE_CTRL’s SOF_EN bit.

Host: Enable SOF generation (for full speed bus)

inline void toggle_SIE_CTRL_SOF_EN() volatile#

Toggle SIE_CTRL’s SOF_EN bit.

Host: Enable SOF generation (for full speed bus)

inline bool get_SIE_CTRL_KEEP_ALIVE_EN() volatile#

Get SIE_CTRL’s KEEP_ALIVE_EN bit.

Host: Enable keep alive packet (for low speed bus)

inline void set_SIE_CTRL_KEEP_ALIVE_EN() volatile#

Set SIE_CTRL’s KEEP_ALIVE_EN bit.

Host: Enable keep alive packet (for low speed bus)

inline void clear_SIE_CTRL_KEEP_ALIVE_EN() volatile#

Clear SIE_CTRL’s KEEP_ALIVE_EN bit.

Host: Enable keep alive packet (for low speed bus)

inline void toggle_SIE_CTRL_KEEP_ALIVE_EN() volatile#

Toggle SIE_CTRL’s KEEP_ALIVE_EN bit.

Host: Enable keep alive packet (for low speed bus)

inline bool get_SIE_CTRL_VBUS_EN() volatile#

Get SIE_CTRL’s VBUS_EN bit.

Host: Enable VBUS

inline void set_SIE_CTRL_VBUS_EN() volatile#

Set SIE_CTRL’s VBUS_EN bit.

Host: Enable VBUS

inline void clear_SIE_CTRL_VBUS_EN() volatile#

Clear SIE_CTRL’s VBUS_EN bit.

Host: Enable VBUS

inline void toggle_SIE_CTRL_VBUS_EN() volatile#

Toggle SIE_CTRL’s VBUS_EN bit.

Host: Enable VBUS

inline bool get_SIE_CTRL_RESUME() volatile#

Get SIE_CTRL’s RESUME bit.

Device: Remote wakeup. Device can initiate its own resume after suspend.

inline void set_SIE_CTRL_RESUME() volatile#

Set SIE_CTRL’s RESUME bit.

Device: Remote wakeup. Device can initiate its own resume after suspend.

inline void clear_SIE_CTRL_RESUME() volatile#

Clear SIE_CTRL’s RESUME bit.

Device: Remote wakeup. Device can initiate its own resume after suspend.

inline void toggle_SIE_CTRL_RESUME() volatile#

Toggle SIE_CTRL’s RESUME bit.

Device: Remote wakeup. Device can initiate its own resume after suspend.

inline bool get_SIE_CTRL_RESET_BUS() volatile#

Get SIE_CTRL’s RESET_BUS bit.

Host: Reset bus

inline void set_SIE_CTRL_RESET_BUS() volatile#

Set SIE_CTRL’s RESET_BUS bit.

Host: Reset bus

inline void clear_SIE_CTRL_RESET_BUS() volatile#

Clear SIE_CTRL’s RESET_BUS bit.

Host: Reset bus

inline void toggle_SIE_CTRL_RESET_BUS() volatile#

Toggle SIE_CTRL’s RESET_BUS bit.

Host: Reset bus

inline bool get_SIE_CTRL_PULLDOWN_EN() volatile#

Get SIE_CTRL’s PULLDOWN_EN bit.

Host: Enable pull down resistors

inline void set_SIE_CTRL_PULLDOWN_EN() volatile#

Set SIE_CTRL’s PULLDOWN_EN bit.

Host: Enable pull down resistors

inline void clear_SIE_CTRL_PULLDOWN_EN() volatile#

Clear SIE_CTRL’s PULLDOWN_EN bit.

Host: Enable pull down resistors

inline void toggle_SIE_CTRL_PULLDOWN_EN() volatile#

Toggle SIE_CTRL’s PULLDOWN_EN bit.

Host: Enable pull down resistors

inline bool get_SIE_CTRL_PULLUP_EN() volatile#

Get SIE_CTRL’s PULLUP_EN bit.

Device: Enable pull up resistor

inline void set_SIE_CTRL_PULLUP_EN() volatile#

Set SIE_CTRL’s PULLUP_EN bit.

Device: Enable pull up resistor

inline void clear_SIE_CTRL_PULLUP_EN() volatile#

Clear SIE_CTRL’s PULLUP_EN bit.

Device: Enable pull up resistor

inline void toggle_SIE_CTRL_PULLUP_EN() volatile#

Toggle SIE_CTRL’s PULLUP_EN bit.

Device: Enable pull up resistor

inline bool get_SIE_CTRL_RPU_OPT() volatile#

Get SIE_CTRL’s RPU_OPT bit.

Device: Pull-up strength (0=1K2, 1=2k3)

inline void set_SIE_CTRL_RPU_OPT() volatile#

Set SIE_CTRL’s RPU_OPT bit.

Device: Pull-up strength (0=1K2, 1=2k3)

inline void clear_SIE_CTRL_RPU_OPT() volatile#

Clear SIE_CTRL’s RPU_OPT bit.

Device: Pull-up strength (0=1K2, 1=2k3)

inline void toggle_SIE_CTRL_RPU_OPT() volatile#

Toggle SIE_CTRL’s RPU_OPT bit.

Device: Pull-up strength (0=1K2, 1=2k3)

inline bool get_SIE_CTRL_TRANSCEIVER_PD() volatile#

Get SIE_CTRL’s TRANSCEIVER_PD bit.

Power down bus transceiver

inline void set_SIE_CTRL_TRANSCEIVER_PD() volatile#

Set SIE_CTRL’s TRANSCEIVER_PD bit.

Power down bus transceiver

inline void clear_SIE_CTRL_TRANSCEIVER_PD() volatile#

Clear SIE_CTRL’s TRANSCEIVER_PD bit.

Power down bus transceiver

inline void toggle_SIE_CTRL_TRANSCEIVER_PD() volatile#

Toggle SIE_CTRL’s TRANSCEIVER_PD bit.

Power down bus transceiver

inline bool get_SIE_CTRL_DIRECT_DM() volatile#

Get SIE_CTRL’s DIRECT_DM bit.

Direct control of DM

inline void set_SIE_CTRL_DIRECT_DM() volatile#

Set SIE_CTRL’s DIRECT_DM bit.

Direct control of DM

inline void clear_SIE_CTRL_DIRECT_DM() volatile#

Clear SIE_CTRL’s DIRECT_DM bit.

Direct control of DM

inline void toggle_SIE_CTRL_DIRECT_DM() volatile#

Toggle SIE_CTRL’s DIRECT_DM bit.

Direct control of DM

inline bool get_SIE_CTRL_DIRECT_DP() volatile#

Get SIE_CTRL’s DIRECT_DP bit.

Direct control of DP

inline void set_SIE_CTRL_DIRECT_DP() volatile#

Set SIE_CTRL’s DIRECT_DP bit.

Direct control of DP

inline void clear_SIE_CTRL_DIRECT_DP() volatile#

Clear SIE_CTRL’s DIRECT_DP bit.

Direct control of DP

inline void toggle_SIE_CTRL_DIRECT_DP() volatile#

Toggle SIE_CTRL’s DIRECT_DP bit.

Direct control of DP

inline bool get_SIE_CTRL_DIRECT_EN() volatile#

Get SIE_CTRL’s DIRECT_EN bit.

Direct bus drive enable

inline void set_SIE_CTRL_DIRECT_EN() volatile#

Set SIE_CTRL’s DIRECT_EN bit.

Direct bus drive enable

inline void clear_SIE_CTRL_DIRECT_EN() volatile#

Clear SIE_CTRL’s DIRECT_EN bit.

Direct bus drive enable

inline void toggle_SIE_CTRL_DIRECT_EN() volatile#

Toggle SIE_CTRL’s DIRECT_EN bit.

Direct bus drive enable

inline bool get_SIE_CTRL_EP0_INT_NAK() volatile#

Get SIE_CTRL’s EP0_INT_NAK bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a NAK

inline void set_SIE_CTRL_EP0_INT_NAK() volatile#

Set SIE_CTRL’s EP0_INT_NAK bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a NAK

inline void clear_SIE_CTRL_EP0_INT_NAK() volatile#

Clear SIE_CTRL’s EP0_INT_NAK bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a NAK

inline void toggle_SIE_CTRL_EP0_INT_NAK() volatile#

Toggle SIE_CTRL’s EP0_INT_NAK bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a NAK

inline bool get_SIE_CTRL_EP0_INT_2BUF() volatile#

Get SIE_CTRL’s EP0_INT_2BUF bit.

Device: Set bit in BUFF_STATUS for every 2 buffers completed on EP0

inline void set_SIE_CTRL_EP0_INT_2BUF() volatile#

Set SIE_CTRL’s EP0_INT_2BUF bit.

Device: Set bit in BUFF_STATUS for every 2 buffers completed on EP0

inline void clear_SIE_CTRL_EP0_INT_2BUF() volatile#

Clear SIE_CTRL’s EP0_INT_2BUF bit.

Device: Set bit in BUFF_STATUS for every 2 buffers completed on EP0

inline void toggle_SIE_CTRL_EP0_INT_2BUF() volatile#

Toggle SIE_CTRL’s EP0_INT_2BUF bit.

Device: Set bit in BUFF_STATUS for every 2 buffers completed on EP0

inline bool get_SIE_CTRL_EP0_INT_1BUF() volatile#

Get SIE_CTRL’s EP0_INT_1BUF bit.

Device: Set bit in BUFF_STATUS for every buffer completed on EP0

inline void set_SIE_CTRL_EP0_INT_1BUF() volatile#

Set SIE_CTRL’s EP0_INT_1BUF bit.

Device: Set bit in BUFF_STATUS for every buffer completed on EP0

inline void clear_SIE_CTRL_EP0_INT_1BUF() volatile#

Clear SIE_CTRL’s EP0_INT_1BUF bit.

Device: Set bit in BUFF_STATUS for every buffer completed on EP0

inline void toggle_SIE_CTRL_EP0_INT_1BUF() volatile#

Toggle SIE_CTRL’s EP0_INT_1BUF bit.

Device: Set bit in BUFF_STATUS for every buffer completed on EP0

inline bool get_SIE_CTRL_EP0_DOUBLE_BUF() volatile#

Get SIE_CTRL’s EP0_DOUBLE_BUF bit.

Device: EP0 single buffered = 0, double buffered = 1

inline void set_SIE_CTRL_EP0_DOUBLE_BUF() volatile#

Set SIE_CTRL’s EP0_DOUBLE_BUF bit.

Device: EP0 single buffered = 0, double buffered = 1

inline void clear_SIE_CTRL_EP0_DOUBLE_BUF() volatile#

Clear SIE_CTRL’s EP0_DOUBLE_BUF bit.

Device: EP0 single buffered = 0, double buffered = 1

inline void toggle_SIE_CTRL_EP0_DOUBLE_BUF() volatile#

Toggle SIE_CTRL’s EP0_DOUBLE_BUF bit.

Device: EP0 single buffered = 0, double buffered = 1

inline bool get_SIE_CTRL_EP0_INT_STALL() volatile#

Get SIE_CTRL’s EP0_INT_STALL bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a STALL

inline void set_SIE_CTRL_EP0_INT_STALL() volatile#

Set SIE_CTRL’s EP0_INT_STALL bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a STALL

inline void clear_SIE_CTRL_EP0_INT_STALL() volatile#

Clear SIE_CTRL’s EP0_INT_STALL bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a STALL

inline void toggle_SIE_CTRL_EP0_INT_STALL() volatile#

Toggle SIE_CTRL’s EP0_INT_STALL bit.

Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a STALL

inline void get_SIE_CTRL(bool &START_TRANS, bool &SEND_SETUP, bool &SEND_DATA, bool &RECEIVE_DATA, bool &STOP_TRANS, bool &PREAMBLE_EN, bool &SOF_SYNC, bool &SOF_EN, bool &KEEP_ALIVE_EN, bool &VBUS_EN, bool &RESUME, bool &RESET_BUS, bool &PULLDOWN_EN, bool &PULLUP_EN, bool &RPU_OPT, bool &TRANSCEIVER_PD, bool &DIRECT_DM, bool &DIRECT_DP, bool &DIRECT_EN, bool &EP0_INT_NAK, bool &EP0_INT_2BUF, bool &EP0_INT_1BUF, bool &EP0_DOUBLE_BUF, bool &EP0_INT_STALL) volatile#

Get all of SIE_CTRL’s bit fields.

(read-write) SIE control register

inline void set_SIE_CTRL(bool START_TRANS, bool SEND_SETUP, bool SEND_DATA, bool RECEIVE_DATA, bool STOP_TRANS, bool PREAMBLE_EN, bool SOF_SYNC, bool SOF_EN, bool KEEP_ALIVE_EN, bool VBUS_EN, bool RESUME, bool RESET_BUS, bool PULLDOWN_EN, bool PULLUP_EN, bool RPU_OPT, bool TRANSCEIVER_PD, bool DIRECT_DM, bool DIRECT_DP, bool DIRECT_EN, bool EP0_INT_NAK, bool EP0_INT_2BUF, bool EP0_INT_1BUF, bool EP0_DOUBLE_BUF, bool EP0_INT_STALL) volatile#

Set all of SIE_CTRL’s bit fields.

(read-write) SIE control register

inline bool get_SIE_STATUS_VBUS_DETECTED() volatile#

Get SIE_STATUS’s VBUS_DETECTED bit.

Device: VBUS Detected

inline uint8_t get_SIE_STATUS_LINE_STATE() volatile#

Get SIE_STATUS’s LINE_STATE field.

USB bus line state

inline bool get_SIE_STATUS_SUSPENDED() volatile#

Get SIE_STATUS’s SUSPENDED bit.

Bus in suspended state. Valid for device and host. Host and device will go into suspend if neither Keep Alive / SOF frames are enabled.

inline void set_SIE_STATUS_SUSPENDED() volatile#

Set SIE_STATUS’s SUSPENDED bit.

Bus in suspended state. Valid for device and host. Host and device will go into suspend if neither Keep Alive / SOF frames are enabled.

inline void clear_SIE_STATUS_SUSPENDED() volatile#

Clear SIE_STATUS’s SUSPENDED bit.

Bus in suspended state. Valid for device and host. Host and device will go into suspend if neither Keep Alive / SOF frames are enabled.

inline void toggle_SIE_STATUS_SUSPENDED() volatile#

Toggle SIE_STATUS’s SUSPENDED bit.

Bus in suspended state. Valid for device and host. Host and device will go into suspend if neither Keep Alive / SOF frames are enabled.

inline uint8_t get_SIE_STATUS_SPEED() volatile#

Get SIE_STATUS’s SPEED field.

Host: device speed. Disconnected = 00, LS = 01, FS = 10

inline void set_SIE_STATUS_SPEED(uint8_t value) volatile#

Set SIE_STATUS’s SPEED field.

Host: device speed. Disconnected = 00, LS = 01, FS = 10

inline bool get_SIE_STATUS_VBUS_OVER_CURR() volatile#

Get SIE_STATUS’s VBUS_OVER_CURR bit.

VBUS over current detected

inline bool get_SIE_STATUS_RESUME() volatile#

Get SIE_STATUS’s RESUME bit.

Host: Device has initiated a remote resume. Device: host has initiated a resume.

inline void set_SIE_STATUS_RESUME() volatile#

Set SIE_STATUS’s RESUME bit.

Host: Device has initiated a remote resume. Device: host has initiated a resume.

inline void clear_SIE_STATUS_RESUME() volatile#

Clear SIE_STATUS’s RESUME bit.

Host: Device has initiated a remote resume. Device: host has initiated a resume.

inline void toggle_SIE_STATUS_RESUME() volatile#

Toggle SIE_STATUS’s RESUME bit.

Host: Device has initiated a remote resume. Device: host has initiated a resume.

inline bool get_SIE_STATUS_CONNECTED() volatile#

Get SIE_STATUS’s CONNECTED bit.

Device: connected

inline void set_SIE_STATUS_CONNECTED() volatile#

Set SIE_STATUS’s CONNECTED bit.

Device: connected

inline void clear_SIE_STATUS_CONNECTED() volatile#

Clear SIE_STATUS’s CONNECTED bit.

Device: connected

inline void toggle_SIE_STATUS_CONNECTED() volatile#

Toggle SIE_STATUS’s CONNECTED bit.

Device: connected

inline bool get_SIE_STATUS_SETUP_REC() volatile#

Get SIE_STATUS’s SETUP_REC bit.

Device: Setup packet received

inline void set_SIE_STATUS_SETUP_REC() volatile#

Set SIE_STATUS’s SETUP_REC bit.

Device: Setup packet received

inline void clear_SIE_STATUS_SETUP_REC() volatile#

Clear SIE_STATUS’s SETUP_REC bit.

Device: Setup packet received

inline void toggle_SIE_STATUS_SETUP_REC() volatile#

Toggle SIE_STATUS’s SETUP_REC bit.

Device: Setup packet received

inline bool get_SIE_STATUS_TRANS_COMPLETE() volatile#

Get SIE_STATUS’s TRANS_COMPLETE bit.

Transaction complete.

Raised by device if:

  • An IN or OUT packet is sent with the LAST_BUFF

    bit set in the buffer control register

    Raised by host if:

  • A setup packet is sent when no data in or data out transaction follows * An IN packet is received and the LAST_BUFF bit is set in the buffer control register * An IN packet is received with zero length * An OUT packet is sent and the LAST_BUFF bit is set

inline void set_SIE_STATUS_TRANS_COMPLETE() volatile#

Set SIE_STATUS’s TRANS_COMPLETE bit.

Transaction complete.

Raised by device if:

  • An IN or OUT packet is sent with the LAST_BUFF

    bit set in the buffer control register

    Raised by host if:

  • A setup packet is sent when no data in or data out transaction follows * An IN packet is received and the LAST_BUFF bit is set in the buffer control register * An IN packet is received with zero length * An OUT packet is sent and the LAST_BUFF bit is set

inline void clear_SIE_STATUS_TRANS_COMPLETE() volatile#

Clear SIE_STATUS’s TRANS_COMPLETE bit.

Transaction complete.

Raised by device if:

  • An IN or OUT packet is sent with the LAST_BUFF

    bit set in the buffer control register

    Raised by host if:

  • A setup packet is sent when no data in or data out transaction follows * An IN packet is received and the LAST_BUFF bit is set in the buffer control register * An IN packet is received with zero length * An OUT packet is sent and the LAST_BUFF bit is set

inline void toggle_SIE_STATUS_TRANS_COMPLETE() volatile#

Toggle SIE_STATUS’s TRANS_COMPLETE bit.

Transaction complete.

Raised by device if:

  • An IN or OUT packet is sent with the LAST_BUFF

    bit set in the buffer control register

    Raised by host if:

  • A setup packet is sent when no data in or data out transaction follows * An IN packet is received and the LAST_BUFF bit is set in the buffer control register * An IN packet is received with zero length * An OUT packet is sent and the LAST_BUFF bit is set

inline bool get_SIE_STATUS_BUS_RESET() volatile#

Get SIE_STATUS’s BUS_RESET bit.

Device: bus reset received

inline void set_SIE_STATUS_BUS_RESET() volatile#

Set SIE_STATUS’s BUS_RESET bit.

Device: bus reset received

inline void clear_SIE_STATUS_BUS_RESET() volatile#

Clear SIE_STATUS’s BUS_RESET bit.

Device: bus reset received

inline void toggle_SIE_STATUS_BUS_RESET() volatile#

Toggle SIE_STATUS’s BUS_RESET bit.

Device: bus reset received

inline bool get_SIE_STATUS_CRC_ERROR() volatile#

Get SIE_STATUS’s CRC_ERROR bit.

CRC Error. Raised by the Serial RX engine.

inline void set_SIE_STATUS_CRC_ERROR() volatile#

Set SIE_STATUS’s CRC_ERROR bit.

CRC Error. Raised by the Serial RX engine.

inline void clear_SIE_STATUS_CRC_ERROR() volatile#

Clear SIE_STATUS’s CRC_ERROR bit.

CRC Error. Raised by the Serial RX engine.

inline void toggle_SIE_STATUS_CRC_ERROR() volatile#

Toggle SIE_STATUS’s CRC_ERROR bit.

CRC Error. Raised by the Serial RX engine.

inline bool get_SIE_STATUS_BIT_STUFF_ERROR() volatile#

Get SIE_STATUS’s BIT_STUFF_ERROR bit.

Bit Stuff Error. Raised by the Serial RX engine.

inline void set_SIE_STATUS_BIT_STUFF_ERROR() volatile#

Set SIE_STATUS’s BIT_STUFF_ERROR bit.

Bit Stuff Error. Raised by the Serial RX engine.

inline void clear_SIE_STATUS_BIT_STUFF_ERROR() volatile#

Clear SIE_STATUS’s BIT_STUFF_ERROR bit.

Bit Stuff Error. Raised by the Serial RX engine.

inline void toggle_SIE_STATUS_BIT_STUFF_ERROR() volatile#

Toggle SIE_STATUS’s BIT_STUFF_ERROR bit.

Bit Stuff Error. Raised by the Serial RX engine.

inline bool get_SIE_STATUS_RX_OVERFLOW() volatile#

Get SIE_STATUS’s RX_OVERFLOW bit.

RX overflow is raised by the Serial RX engine if the incoming data is too fast.

inline void set_SIE_STATUS_RX_OVERFLOW() volatile#

Set SIE_STATUS’s RX_OVERFLOW bit.

RX overflow is raised by the Serial RX engine if the incoming data is too fast.

inline void clear_SIE_STATUS_RX_OVERFLOW() volatile#

Clear SIE_STATUS’s RX_OVERFLOW bit.

RX overflow is raised by the Serial RX engine if the incoming data is too fast.

inline void toggle_SIE_STATUS_RX_OVERFLOW() volatile#

Toggle SIE_STATUS’s RX_OVERFLOW bit.

RX overflow is raised by the Serial RX engine if the incoming data is too fast.

inline bool get_SIE_STATUS_RX_TIMEOUT() volatile#

Get SIE_STATUS’s RX_TIMEOUT bit.

RX timeout is raised by both the host and device if an ACK is not received in the maximum time specified by the USB spec.

inline void set_SIE_STATUS_RX_TIMEOUT() volatile#

Set SIE_STATUS’s RX_TIMEOUT bit.

RX timeout is raised by both the host and device if an ACK is not received in the maximum time specified by the USB spec.

inline void clear_SIE_STATUS_RX_TIMEOUT() volatile#

Clear SIE_STATUS’s RX_TIMEOUT bit.

RX timeout is raised by both the host and device if an ACK is not received in the maximum time specified by the USB spec.

inline void toggle_SIE_STATUS_RX_TIMEOUT() volatile#

Toggle SIE_STATUS’s RX_TIMEOUT bit.

RX timeout is raised by both the host and device if an ACK is not received in the maximum time specified by the USB spec.

inline bool get_SIE_STATUS_NAK_REC() volatile#

Get SIE_STATUS’s NAK_REC bit.

Host: NAK received

inline void set_SIE_STATUS_NAK_REC() volatile#

Set SIE_STATUS’s NAK_REC bit.

Host: NAK received

inline void clear_SIE_STATUS_NAK_REC() volatile#

Clear SIE_STATUS’s NAK_REC bit.

Host: NAK received

inline void toggle_SIE_STATUS_NAK_REC() volatile#

Toggle SIE_STATUS’s NAK_REC bit.

Host: NAK received

inline bool get_SIE_STATUS_STALL_REC() volatile#

Get SIE_STATUS’s STALL_REC bit.

Host: STALL received

inline void set_SIE_STATUS_STALL_REC() volatile#

Set SIE_STATUS’s STALL_REC bit.

Host: STALL received

inline void clear_SIE_STATUS_STALL_REC() volatile#

Clear SIE_STATUS’s STALL_REC bit.

Host: STALL received

inline void toggle_SIE_STATUS_STALL_REC() volatile#

Toggle SIE_STATUS’s STALL_REC bit.

Host: STALL received

inline bool get_SIE_STATUS_ACK_REC() volatile#

Get SIE_STATUS’s ACK_REC bit.

ACK received. Raised by both host and device.

inline void set_SIE_STATUS_ACK_REC() volatile#

Set SIE_STATUS’s ACK_REC bit.

ACK received. Raised by both host and device.

inline void clear_SIE_STATUS_ACK_REC() volatile#

Clear SIE_STATUS’s ACK_REC bit.

ACK received. Raised by both host and device.

inline void toggle_SIE_STATUS_ACK_REC() volatile#

Toggle SIE_STATUS’s ACK_REC bit.

ACK received. Raised by both host and device.

inline bool get_SIE_STATUS_DATA_SEQ_ERROR() volatile#

Get SIE_STATUS’s DATA_SEQ_ERROR bit.

Data Sequence Error.

The device can raise a sequence error in the following conditions:

  • A SETUP packet is received followed by a DATA1 packet (data phase should always be DATA0) * An OUT packet is received from the host but doesn’t match the data pid in the buffer control register read from DPSRAM

    The host can raise a data sequence error in the following conditions:

  • An IN packet from the device has the wrong data PID

inline void set_SIE_STATUS_DATA_SEQ_ERROR() volatile#

Set SIE_STATUS’s DATA_SEQ_ERROR bit.

Data Sequence Error.

The device can raise a sequence error in the following conditions:

  • A SETUP packet is received followed by a DATA1 packet (data phase should always be DATA0) * An OUT packet is received from the host but doesn’t match the data pid in the buffer control register read from DPSRAM

    The host can raise a data sequence error in the following conditions:

  • An IN packet from the device has the wrong data PID

inline void clear_SIE_STATUS_DATA_SEQ_ERROR() volatile#

Clear SIE_STATUS’s DATA_SEQ_ERROR bit.

Data Sequence Error.

The device can raise a sequence error in the following conditions:

  • A SETUP packet is received followed by a DATA1 packet (data phase should always be DATA0) * An OUT packet is received from the host but doesn’t match the data pid in the buffer control register read from DPSRAM

    The host can raise a data sequence error in the following conditions:

  • An IN packet from the device has the wrong data PID

inline void toggle_SIE_STATUS_DATA_SEQ_ERROR() volatile#

Toggle SIE_STATUS’s DATA_SEQ_ERROR bit.

Data Sequence Error.

The device can raise a sequence error in the following conditions:

  • A SETUP packet is received followed by a DATA1 packet (data phase should always be DATA0) * An OUT packet is received from the host but doesn’t match the data pid in the buffer control register read from DPSRAM

    The host can raise a data sequence error in the following conditions:

  • An IN packet from the device has the wrong data PID

inline void get_SIE_STATUS(bool &VBUS_DETECTED, uint8_t &LINE_STATE, bool &SUSPENDED, uint8_t &SPEED, bool &VBUS_OVER_CURR, bool &RESUME, bool &CONNECTED, bool &SETUP_REC, bool &TRANS_COMPLETE, bool &BUS_RESET, bool &CRC_ERROR, bool &BIT_STUFF_ERROR, bool &RX_OVERFLOW, bool &RX_TIMEOUT, bool &NAK_REC, bool &STALL_REC, bool &ACK_REC, bool &DATA_SEQ_ERROR) volatile#

Get all of SIE_STATUS’s bit fields.

(read-write) SIE status register

inline void set_SIE_STATUS(bool SUSPENDED, uint8_t SPEED, bool RESUME, bool CONNECTED, bool SETUP_REC, bool TRANS_COMPLETE, bool BUS_RESET, bool CRC_ERROR, bool BIT_STUFF_ERROR, bool RX_OVERFLOW, bool RX_TIMEOUT, bool NAK_REC, bool STALL_REC, bool ACK_REC, bool DATA_SEQ_ERROR) volatile#

Set all of SIE_STATUS’s bit fields.

(read-write) SIE status register

inline uint16_t get_INT_EP_CTRL_INT_EP_ACTIVE() volatile#

Get INT_EP_CTRL’s INT_EP_ACTIVE field.

Host: Enable interrupt endpoint 1 -> 15

inline void set_INT_EP_CTRL_INT_EP_ACTIVE(uint16_t value) volatile#

Set INT_EP_CTRL’s INT_EP_ACTIVE field.

Host: Enable interrupt endpoint 1 -> 15

inline bool get_BUFF_STATUS_EP0_IN() volatile#

Get BUFF_STATUS’s EP0_IN bit.

inline void set_BUFF_STATUS_EP0_IN() volatile#

Set BUFF_STATUS’s EP0_IN bit.

inline void clear_BUFF_STATUS_EP0_IN() volatile#

Clear BUFF_STATUS’s EP0_IN bit.

inline void toggle_BUFF_STATUS_EP0_IN() volatile#

Toggle BUFF_STATUS’s EP0_IN bit.

inline bool get_BUFF_STATUS_EP0_OUT() volatile#

Get BUFF_STATUS’s EP0_OUT bit.

inline void set_BUFF_STATUS_EP0_OUT() volatile#

Set BUFF_STATUS’s EP0_OUT bit.

inline void clear_BUFF_STATUS_EP0_OUT() volatile#

Clear BUFF_STATUS’s EP0_OUT bit.

inline void toggle_BUFF_STATUS_EP0_OUT() volatile#

Toggle BUFF_STATUS’s EP0_OUT bit.

inline bool get_BUFF_STATUS_EP1_IN() volatile#

Get BUFF_STATUS’s EP1_IN bit.

inline void set_BUFF_STATUS_EP1_IN() volatile#

Set BUFF_STATUS’s EP1_IN bit.

inline void clear_BUFF_STATUS_EP1_IN() volatile#

Clear BUFF_STATUS’s EP1_IN bit.

inline void toggle_BUFF_STATUS_EP1_IN() volatile#

Toggle BUFF_STATUS’s EP1_IN bit.

inline bool get_BUFF_STATUS_EP1_OUT() volatile#

Get BUFF_STATUS’s EP1_OUT bit.

inline void set_BUFF_STATUS_EP1_OUT() volatile#

Set BUFF_STATUS’s EP1_OUT bit.

inline void clear_BUFF_STATUS_EP1_OUT() volatile#

Clear BUFF_STATUS’s EP1_OUT bit.

inline void toggle_BUFF_STATUS_EP1_OUT() volatile#

Toggle BUFF_STATUS’s EP1_OUT bit.

inline bool get_BUFF_STATUS_EP2_IN() volatile#

Get BUFF_STATUS’s EP2_IN bit.

inline void set_BUFF_STATUS_EP2_IN() volatile#

Set BUFF_STATUS’s EP2_IN bit.

inline void clear_BUFF_STATUS_EP2_IN() volatile#

Clear BUFF_STATUS’s EP2_IN bit.

inline void toggle_BUFF_STATUS_EP2_IN() volatile#

Toggle BUFF_STATUS’s EP2_IN bit.

inline bool get_BUFF_STATUS_EP2_OUT() volatile#

Get BUFF_STATUS’s EP2_OUT bit.

inline void set_BUFF_STATUS_EP2_OUT() volatile#

Set BUFF_STATUS’s EP2_OUT bit.

inline void clear_BUFF_STATUS_EP2_OUT() volatile#

Clear BUFF_STATUS’s EP2_OUT bit.

inline void toggle_BUFF_STATUS_EP2_OUT() volatile#

Toggle BUFF_STATUS’s EP2_OUT bit.

inline bool get_BUFF_STATUS_EP3_IN() volatile#

Get BUFF_STATUS’s EP3_IN bit.

inline void set_BUFF_STATUS_EP3_IN() volatile#

Set BUFF_STATUS’s EP3_IN bit.

inline void clear_BUFF_STATUS_EP3_IN() volatile#

Clear BUFF_STATUS’s EP3_IN bit.

inline void toggle_BUFF_STATUS_EP3_IN() volatile#

Toggle BUFF_STATUS’s EP3_IN bit.

inline bool get_BUFF_STATUS_EP3_OUT() volatile#

Get BUFF_STATUS’s EP3_OUT bit.

inline void set_BUFF_STATUS_EP3_OUT() volatile#

Set BUFF_STATUS’s EP3_OUT bit.

inline void clear_BUFF_STATUS_EP3_OUT() volatile#

Clear BUFF_STATUS’s EP3_OUT bit.

inline void toggle_BUFF_STATUS_EP3_OUT() volatile#

Toggle BUFF_STATUS’s EP3_OUT bit.

inline bool get_BUFF_STATUS_EP4_IN() volatile#

Get BUFF_STATUS’s EP4_IN bit.

inline void set_BUFF_STATUS_EP4_IN() volatile#

Set BUFF_STATUS’s EP4_IN bit.

inline void clear_BUFF_STATUS_EP4_IN() volatile#

Clear BUFF_STATUS’s EP4_IN bit.

inline void toggle_BUFF_STATUS_EP4_IN() volatile#

Toggle BUFF_STATUS’s EP4_IN bit.

inline bool get_BUFF_STATUS_EP4_OUT() volatile#

Get BUFF_STATUS’s EP4_OUT bit.

inline void set_BUFF_STATUS_EP4_OUT() volatile#

Set BUFF_STATUS’s EP4_OUT bit.

inline void clear_BUFF_STATUS_EP4_OUT() volatile#

Clear BUFF_STATUS’s EP4_OUT bit.

inline void toggle_BUFF_STATUS_EP4_OUT() volatile#

Toggle BUFF_STATUS’s EP4_OUT bit.

inline bool get_BUFF_STATUS_EP5_IN() volatile#

Get BUFF_STATUS’s EP5_IN bit.

inline void set_BUFF_STATUS_EP5_IN() volatile#

Set BUFF_STATUS’s EP5_IN bit.

inline void clear_BUFF_STATUS_EP5_IN() volatile#

Clear BUFF_STATUS’s EP5_IN bit.

inline void toggle_BUFF_STATUS_EP5_IN() volatile#

Toggle BUFF_STATUS’s EP5_IN bit.

inline bool get_BUFF_STATUS_EP5_OUT() volatile#

Get BUFF_STATUS’s EP5_OUT bit.

inline void set_BUFF_STATUS_EP5_OUT() volatile#

Set BUFF_STATUS’s EP5_OUT bit.

inline void clear_BUFF_STATUS_EP5_OUT() volatile#

Clear BUFF_STATUS’s EP5_OUT bit.

inline void toggle_BUFF_STATUS_EP5_OUT() volatile#

Toggle BUFF_STATUS’s EP5_OUT bit.

inline bool get_BUFF_STATUS_EP6_IN() volatile#

Get BUFF_STATUS’s EP6_IN bit.

inline void set_BUFF_STATUS_EP6_IN() volatile#

Set BUFF_STATUS’s EP6_IN bit.

inline void clear_BUFF_STATUS_EP6_IN() volatile#

Clear BUFF_STATUS’s EP6_IN bit.

inline void toggle_BUFF_STATUS_EP6_IN() volatile#

Toggle BUFF_STATUS’s EP6_IN bit.

inline bool get_BUFF_STATUS_EP6_OUT() volatile#

Get BUFF_STATUS’s EP6_OUT bit.

inline void set_BUFF_STATUS_EP6_OUT() volatile#

Set BUFF_STATUS’s EP6_OUT bit.

inline void clear_BUFF_STATUS_EP6_OUT() volatile#

Clear BUFF_STATUS’s EP6_OUT bit.

inline void toggle_BUFF_STATUS_EP6_OUT() volatile#

Toggle BUFF_STATUS’s EP6_OUT bit.

inline bool get_BUFF_STATUS_EP7_IN() volatile#

Get BUFF_STATUS’s EP7_IN bit.

inline void set_BUFF_STATUS_EP7_IN() volatile#

Set BUFF_STATUS’s EP7_IN bit.

inline void clear_BUFF_STATUS_EP7_IN() volatile#

Clear BUFF_STATUS’s EP7_IN bit.

inline void toggle_BUFF_STATUS_EP7_IN() volatile#

Toggle BUFF_STATUS’s EP7_IN bit.

inline bool get_BUFF_STATUS_EP7_OUT() volatile#

Get BUFF_STATUS’s EP7_OUT bit.

inline void set_BUFF_STATUS_EP7_OUT() volatile#

Set BUFF_STATUS’s EP7_OUT bit.

inline void clear_BUFF_STATUS_EP7_OUT() volatile#

Clear BUFF_STATUS’s EP7_OUT bit.

inline void toggle_BUFF_STATUS_EP7_OUT() volatile#

Toggle BUFF_STATUS’s EP7_OUT bit.

inline bool get_BUFF_STATUS_EP8_IN() volatile#

Get BUFF_STATUS’s EP8_IN bit.

inline void set_BUFF_STATUS_EP8_IN() volatile#

Set BUFF_STATUS’s EP8_IN bit.

inline void clear_BUFF_STATUS_EP8_IN() volatile#

Clear BUFF_STATUS’s EP8_IN bit.

inline void toggle_BUFF_STATUS_EP8_IN() volatile#

Toggle BUFF_STATUS’s EP8_IN bit.

inline bool get_BUFF_STATUS_EP8_OUT() volatile#

Get BUFF_STATUS’s EP8_OUT bit.

inline void set_BUFF_STATUS_EP8_OUT() volatile#

Set BUFF_STATUS’s EP8_OUT bit.

inline void clear_BUFF_STATUS_EP8_OUT() volatile#

Clear BUFF_STATUS’s EP8_OUT bit.

inline void toggle_BUFF_STATUS_EP8_OUT() volatile#

Toggle BUFF_STATUS’s EP8_OUT bit.

inline bool get_BUFF_STATUS_EP9_IN() volatile#

Get BUFF_STATUS’s EP9_IN bit.

inline void set_BUFF_STATUS_EP9_IN() volatile#

Set BUFF_STATUS’s EP9_IN bit.

inline void clear_BUFF_STATUS_EP9_IN() volatile#

Clear BUFF_STATUS’s EP9_IN bit.

inline void toggle_BUFF_STATUS_EP9_IN() volatile#

Toggle BUFF_STATUS’s EP9_IN bit.

inline bool get_BUFF_STATUS_EP9_OUT() volatile#

Get BUFF_STATUS’s EP9_OUT bit.

inline void set_BUFF_STATUS_EP9_OUT() volatile#

Set BUFF_STATUS’s EP9_OUT bit.

inline void clear_BUFF_STATUS_EP9_OUT() volatile#

Clear BUFF_STATUS’s EP9_OUT bit.

inline void toggle_BUFF_STATUS_EP9_OUT() volatile#

Toggle BUFF_STATUS’s EP9_OUT bit.

inline bool get_BUFF_STATUS_EP10_IN() volatile#

Get BUFF_STATUS’s EP10_IN bit.

inline void set_BUFF_STATUS_EP10_IN() volatile#

Set BUFF_STATUS’s EP10_IN bit.

inline void clear_BUFF_STATUS_EP10_IN() volatile#

Clear BUFF_STATUS’s EP10_IN bit.

inline void toggle_BUFF_STATUS_EP10_IN() volatile#

Toggle BUFF_STATUS’s EP10_IN bit.

inline bool get_BUFF_STATUS_EP10_OUT() volatile#

Get BUFF_STATUS’s EP10_OUT bit.

inline void set_BUFF_STATUS_EP10_OUT() volatile#

Set BUFF_STATUS’s EP10_OUT bit.

inline void clear_BUFF_STATUS_EP10_OUT() volatile#

Clear BUFF_STATUS’s EP10_OUT bit.

inline void toggle_BUFF_STATUS_EP10_OUT() volatile#

Toggle BUFF_STATUS’s EP10_OUT bit.

inline bool get_BUFF_STATUS_EP11_IN() volatile#

Get BUFF_STATUS’s EP11_IN bit.

inline void set_BUFF_STATUS_EP11_IN() volatile#

Set BUFF_STATUS’s EP11_IN bit.

inline void clear_BUFF_STATUS_EP11_IN() volatile#

Clear BUFF_STATUS’s EP11_IN bit.

inline void toggle_BUFF_STATUS_EP11_IN() volatile#

Toggle BUFF_STATUS’s EP11_IN bit.

inline bool get_BUFF_STATUS_EP11_OUT() volatile#

Get BUFF_STATUS’s EP11_OUT bit.

inline void set_BUFF_STATUS_EP11_OUT() volatile#

Set BUFF_STATUS’s EP11_OUT bit.

inline void clear_BUFF_STATUS_EP11_OUT() volatile#

Clear BUFF_STATUS’s EP11_OUT bit.

inline void toggle_BUFF_STATUS_EP11_OUT() volatile#

Toggle BUFF_STATUS’s EP11_OUT bit.

inline bool get_BUFF_STATUS_EP12_IN() volatile#

Get BUFF_STATUS’s EP12_IN bit.

inline void set_BUFF_STATUS_EP12_IN() volatile#

Set BUFF_STATUS’s EP12_IN bit.

inline void clear_BUFF_STATUS_EP12_IN() volatile#

Clear BUFF_STATUS’s EP12_IN bit.

inline void toggle_BUFF_STATUS_EP12_IN() volatile#

Toggle BUFF_STATUS’s EP12_IN bit.

inline bool get_BUFF_STATUS_EP12_OUT() volatile#

Get BUFF_STATUS’s EP12_OUT bit.

inline void set_BUFF_STATUS_EP12_OUT() volatile#

Set BUFF_STATUS’s EP12_OUT bit.

inline void clear_BUFF_STATUS_EP12_OUT() volatile#

Clear BUFF_STATUS’s EP12_OUT bit.

inline void toggle_BUFF_STATUS_EP12_OUT() volatile#

Toggle BUFF_STATUS’s EP12_OUT bit.

inline bool get_BUFF_STATUS_EP13_IN() volatile#

Get BUFF_STATUS’s EP13_IN bit.

inline void set_BUFF_STATUS_EP13_IN() volatile#

Set BUFF_STATUS’s EP13_IN bit.

inline void clear_BUFF_STATUS_EP13_IN() volatile#

Clear BUFF_STATUS’s EP13_IN bit.

inline void toggle_BUFF_STATUS_EP13_IN() volatile#

Toggle BUFF_STATUS’s EP13_IN bit.

inline bool get_BUFF_STATUS_EP13_OUT() volatile#

Get BUFF_STATUS’s EP13_OUT bit.

inline void set_BUFF_STATUS_EP13_OUT() volatile#

Set BUFF_STATUS’s EP13_OUT bit.

inline void clear_BUFF_STATUS_EP13_OUT() volatile#

Clear BUFF_STATUS’s EP13_OUT bit.

inline void toggle_BUFF_STATUS_EP13_OUT() volatile#

Toggle BUFF_STATUS’s EP13_OUT bit.

inline bool get_BUFF_STATUS_EP14_IN() volatile#

Get BUFF_STATUS’s EP14_IN bit.

inline void set_BUFF_STATUS_EP14_IN() volatile#

Set BUFF_STATUS’s EP14_IN bit.

inline void clear_BUFF_STATUS_EP14_IN() volatile#

Clear BUFF_STATUS’s EP14_IN bit.

inline void toggle_BUFF_STATUS_EP14_IN() volatile#

Toggle BUFF_STATUS’s EP14_IN bit.

inline bool get_BUFF_STATUS_EP14_OUT() volatile#

Get BUFF_STATUS’s EP14_OUT bit.

inline void set_BUFF_STATUS_EP14_OUT() volatile#

Set BUFF_STATUS’s EP14_OUT bit.

inline void clear_BUFF_STATUS_EP14_OUT() volatile#

Clear BUFF_STATUS’s EP14_OUT bit.

inline void toggle_BUFF_STATUS_EP14_OUT() volatile#

Toggle BUFF_STATUS’s EP14_OUT bit.

inline bool get_BUFF_STATUS_EP15_IN() volatile#

Get BUFF_STATUS’s EP15_IN bit.

inline void set_BUFF_STATUS_EP15_IN() volatile#

Set BUFF_STATUS’s EP15_IN bit.

inline void clear_BUFF_STATUS_EP15_IN() volatile#

Clear BUFF_STATUS’s EP15_IN bit.

inline void toggle_BUFF_STATUS_EP15_IN() volatile#

Toggle BUFF_STATUS’s EP15_IN bit.

inline bool get_BUFF_STATUS_EP15_OUT() volatile#

Get BUFF_STATUS’s EP15_OUT bit.

inline void set_BUFF_STATUS_EP15_OUT() volatile#

Set BUFF_STATUS’s EP15_OUT bit.

inline void clear_BUFF_STATUS_EP15_OUT() volatile#

Clear BUFF_STATUS’s EP15_OUT bit.

inline void toggle_BUFF_STATUS_EP15_OUT() volatile#

Toggle BUFF_STATUS’s EP15_OUT bit.

inline void get_BUFF_STATUS(bool &EP0_IN, bool &EP0_OUT, bool &EP1_IN, bool &EP1_OUT, bool &EP2_IN, bool &EP2_OUT, bool &EP3_IN, bool &EP3_OUT, bool &EP4_IN, bool &EP4_OUT, bool &EP5_IN, bool &EP5_OUT, bool &EP6_IN, bool &EP6_OUT, bool &EP7_IN, bool &EP7_OUT, bool &EP8_IN, bool &EP8_OUT, bool &EP9_IN, bool &EP9_OUT, bool &EP10_IN, bool &EP10_OUT, bool &EP11_IN, bool &EP11_OUT, bool &EP12_IN, bool &EP12_OUT, bool &EP13_IN, bool &EP13_OUT, bool &EP14_IN, bool &EP14_OUT, bool &EP15_IN, bool &EP15_OUT) volatile#

Get all of BUFF_STATUS’s bit fields.

(read-write) Buffer status register. A bit set here indicates that a buffer has completed on the endpoint (if the buffer interrupt is enabled). It is possible for 2 buffers to be completed, so clearing the buffer status bit may instantly re set it on the next clock cycle.

inline void set_BUFF_STATUS(bool EP0_IN, bool EP0_OUT, bool EP1_IN, bool EP1_OUT, bool EP2_IN, bool EP2_OUT, bool EP3_IN, bool EP3_OUT, bool EP4_IN, bool EP4_OUT, bool EP5_IN, bool EP5_OUT, bool EP6_IN, bool EP6_OUT, bool EP7_IN, bool EP7_OUT, bool EP8_IN, bool EP8_OUT, bool EP9_IN, bool EP9_OUT, bool EP10_IN, bool EP10_OUT, bool EP11_IN, bool EP11_OUT, bool EP12_IN, bool EP12_OUT, bool EP13_IN, bool EP13_OUT, bool EP14_IN, bool EP14_OUT, bool EP15_IN, bool EP15_OUT) volatile#

Set all of BUFF_STATUS’s bit fields.

(read-write) Buffer status register. A bit set here indicates that a buffer has completed on the endpoint (if the buffer interrupt is enabled). It is possible for 2 buffers to be completed, so clearing the buffer status bit may instantly re set it on the next clock cycle.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP0_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP0_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP0_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP0_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP1_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP1_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP1_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP1_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP2_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP2_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP2_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP2_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP3_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP3_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP3_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP3_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP4_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP4_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP4_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP4_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP5_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP5_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP5_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP5_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP6_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP6_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP6_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP6_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP7_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP7_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP7_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP7_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP8_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP8_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP8_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP8_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP9_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP9_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP9_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP9_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP10_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP10_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP10_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP10_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP11_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP11_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP11_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP11_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP12_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP12_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP12_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP12_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP13_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP13_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP13_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP13_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP14_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP14_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP14_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP14_OUT bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP15_IN() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP15_IN bit.

inline bool get_BUFF_CPU_SHOULD_HANDLE_EP15_OUT() volatile#

Get BUFF_CPU_SHOULD_HANDLE’s EP15_OUT bit.

inline void get_BUFF_CPU_SHOULD_HANDLE(bool &EP0_IN, bool &EP0_OUT, bool &EP1_IN, bool &EP1_OUT, bool &EP2_IN, bool &EP2_OUT, bool &EP3_IN, bool &EP3_OUT, bool &EP4_IN, bool &EP4_OUT, bool &EP5_IN, bool &EP5_OUT, bool &EP6_IN, bool &EP6_OUT, bool &EP7_IN, bool &EP7_OUT, bool &EP8_IN, bool &EP8_OUT, bool &EP9_IN, bool &EP9_OUT, bool &EP10_IN, bool &EP10_OUT, bool &EP11_IN, bool &EP11_OUT, bool &EP12_IN, bool &EP12_OUT, bool &EP13_IN, bool &EP13_OUT, bool &EP14_IN, bool &EP14_OUT, bool &EP15_IN, bool &EP15_OUT) volatile#

Get all of BUFF_CPU_SHOULD_HANDLE’s bit fields.

(read-only) Which of the double buffers should be handled. Only valid if using an interrupt per buffer (i.e. not per 2 buffers). Not valid for host interrupt endpoint polling because they are only single buffered.

inline bool get_EP_ABORT_EP0_IN() volatile#

Get EP_ABORT’s EP0_IN bit.

inline void set_EP_ABORT_EP0_IN() volatile#

Set EP_ABORT’s EP0_IN bit.

inline void clear_EP_ABORT_EP0_IN() volatile#

Clear EP_ABORT’s EP0_IN bit.

inline void toggle_EP_ABORT_EP0_IN() volatile#

Toggle EP_ABORT’s EP0_IN bit.

inline bool get_EP_ABORT_EP0_OUT() volatile#

Get EP_ABORT’s EP0_OUT bit.

inline void set_EP_ABORT_EP0_OUT() volatile#

Set EP_ABORT’s EP0_OUT bit.

inline void clear_EP_ABORT_EP0_OUT() volatile#

Clear EP_ABORT’s EP0_OUT bit.

inline void toggle_EP_ABORT_EP0_OUT() volatile#

Toggle EP_ABORT’s EP0_OUT bit.

inline bool get_EP_ABORT_EP1_IN() volatile#

Get EP_ABORT’s EP1_IN bit.

inline void set_EP_ABORT_EP1_IN() volatile#

Set EP_ABORT’s EP1_IN bit.

inline void clear_EP_ABORT_EP1_IN() volatile#

Clear EP_ABORT’s EP1_IN bit.

inline void toggle_EP_ABORT_EP1_IN() volatile#

Toggle EP_ABORT’s EP1_IN bit.

inline bool get_EP_ABORT_EP1_OUT() volatile#

Get EP_ABORT’s EP1_OUT bit.

inline void set_EP_ABORT_EP1_OUT() volatile#

Set EP_ABORT’s EP1_OUT bit.

inline void clear_EP_ABORT_EP1_OUT() volatile#

Clear EP_ABORT’s EP1_OUT bit.

inline void toggle_EP_ABORT_EP1_OUT() volatile#

Toggle EP_ABORT’s EP1_OUT bit.

inline bool get_EP_ABORT_EP2_IN() volatile#

Get EP_ABORT’s EP2_IN bit.

inline void set_EP_ABORT_EP2_IN() volatile#

Set EP_ABORT’s EP2_IN bit.

inline void clear_EP_ABORT_EP2_IN() volatile#

Clear EP_ABORT’s EP2_IN bit.

inline void toggle_EP_ABORT_EP2_IN() volatile#

Toggle EP_ABORT’s EP2_IN bit.

inline bool get_EP_ABORT_EP2_OUT() volatile#

Get EP_ABORT’s EP2_OUT bit.

inline void set_EP_ABORT_EP2_OUT() volatile#

Set EP_ABORT’s EP2_OUT bit.

inline void clear_EP_ABORT_EP2_OUT() volatile#

Clear EP_ABORT’s EP2_OUT bit.

inline void toggle_EP_ABORT_EP2_OUT() volatile#

Toggle EP_ABORT’s EP2_OUT bit.

inline bool get_EP_ABORT_EP3_IN() volatile#

Get EP_ABORT’s EP3_IN bit.

inline void set_EP_ABORT_EP3_IN() volatile#

Set EP_ABORT’s EP3_IN bit.

inline void clear_EP_ABORT_EP3_IN() volatile#

Clear EP_ABORT’s EP3_IN bit.

inline void toggle_EP_ABORT_EP3_IN() volatile#

Toggle EP_ABORT’s EP3_IN bit.

inline bool get_EP_ABORT_EP3_OUT() volatile#

Get EP_ABORT’s EP3_OUT bit.

inline void set_EP_ABORT_EP3_OUT() volatile#

Set EP_ABORT’s EP3_OUT bit.

inline void clear_EP_ABORT_EP3_OUT() volatile#

Clear EP_ABORT’s EP3_OUT bit.

inline void toggle_EP_ABORT_EP3_OUT() volatile#

Toggle EP_ABORT’s EP3_OUT bit.

inline bool get_EP_ABORT_EP4_IN() volatile#

Get EP_ABORT’s EP4_IN bit.

inline void set_EP_ABORT_EP4_IN() volatile#

Set EP_ABORT’s EP4_IN bit.

inline void clear_EP_ABORT_EP4_IN() volatile#

Clear EP_ABORT’s EP4_IN bit.

inline void toggle_EP_ABORT_EP4_IN() volatile#

Toggle EP_ABORT’s EP4_IN bit.

inline bool get_EP_ABORT_EP4_OUT() volatile#

Get EP_ABORT’s EP4_OUT bit.

inline void set_EP_ABORT_EP4_OUT() volatile#

Set EP_ABORT’s EP4_OUT bit.

inline void clear_EP_ABORT_EP4_OUT() volatile#

Clear EP_ABORT’s EP4_OUT bit.

inline void toggle_EP_ABORT_EP4_OUT() volatile#

Toggle EP_ABORT’s EP4_OUT bit.

inline bool get_EP_ABORT_EP5_IN() volatile#

Get EP_ABORT’s EP5_IN bit.

inline void set_EP_ABORT_EP5_IN() volatile#

Set EP_ABORT’s EP5_IN bit.

inline void clear_EP_ABORT_EP5_IN() volatile#

Clear EP_ABORT’s EP5_IN bit.

inline void toggle_EP_ABORT_EP5_IN() volatile#

Toggle EP_ABORT’s EP5_IN bit.

inline bool get_EP_ABORT_EP5_OUT() volatile#

Get EP_ABORT’s EP5_OUT bit.

inline void set_EP_ABORT_EP5_OUT() volatile#

Set EP_ABORT’s EP5_OUT bit.

inline void clear_EP_ABORT_EP5_OUT() volatile#

Clear EP_ABORT’s EP5_OUT bit.

inline void toggle_EP_ABORT_EP5_OUT() volatile#

Toggle EP_ABORT’s EP5_OUT bit.

inline bool get_EP_ABORT_EP6_IN() volatile#

Get EP_ABORT’s EP6_IN bit.

inline void set_EP_ABORT_EP6_IN() volatile#

Set EP_ABORT’s EP6_IN bit.

inline void clear_EP_ABORT_EP6_IN() volatile#

Clear EP_ABORT’s EP6_IN bit.

inline void toggle_EP_ABORT_EP6_IN() volatile#

Toggle EP_ABORT’s EP6_IN bit.

inline bool get_EP_ABORT_EP6_OUT() volatile#

Get EP_ABORT’s EP6_OUT bit.

inline void set_EP_ABORT_EP6_OUT() volatile#

Set EP_ABORT’s EP6_OUT bit.

inline void clear_EP_ABORT_EP6_OUT() volatile#

Clear EP_ABORT’s EP6_OUT bit.

inline void toggle_EP_ABORT_EP6_OUT() volatile#

Toggle EP_ABORT’s EP6_OUT bit.

inline bool get_EP_ABORT_EP7_IN() volatile#

Get EP_ABORT’s EP7_IN bit.

inline void set_EP_ABORT_EP7_IN() volatile#

Set EP_ABORT’s EP7_IN bit.

inline void clear_EP_ABORT_EP7_IN() volatile#

Clear EP_ABORT’s EP7_IN bit.

inline void toggle_EP_ABORT_EP7_IN() volatile#

Toggle EP_ABORT’s EP7_IN bit.

inline bool get_EP_ABORT_EP7_OUT() volatile#

Get EP_ABORT’s EP7_OUT bit.

inline void set_EP_ABORT_EP7_OUT() volatile#

Set EP_ABORT’s EP7_OUT bit.

inline void clear_EP_ABORT_EP7_OUT() volatile#

Clear EP_ABORT’s EP7_OUT bit.

inline void toggle_EP_ABORT_EP7_OUT() volatile#

Toggle EP_ABORT’s EP7_OUT bit.

inline bool get_EP_ABORT_EP8_IN() volatile#

Get EP_ABORT’s EP8_IN bit.

inline void set_EP_ABORT_EP8_IN() volatile#

Set EP_ABORT’s EP8_IN bit.

inline void clear_EP_ABORT_EP8_IN() volatile#

Clear EP_ABORT’s EP8_IN bit.

inline void toggle_EP_ABORT_EP8_IN() volatile#

Toggle EP_ABORT’s EP8_IN bit.

inline bool get_EP_ABORT_EP8_OUT() volatile#

Get EP_ABORT’s EP8_OUT bit.

inline void set_EP_ABORT_EP8_OUT() volatile#

Set EP_ABORT’s EP8_OUT bit.

inline void clear_EP_ABORT_EP8_OUT() volatile#

Clear EP_ABORT’s EP8_OUT bit.

inline void toggle_EP_ABORT_EP8_OUT() volatile#

Toggle EP_ABORT’s EP8_OUT bit.

inline bool get_EP_ABORT_EP9_IN() volatile#

Get EP_ABORT’s EP9_IN bit.

inline void set_EP_ABORT_EP9_IN() volatile#

Set EP_ABORT’s EP9_IN bit.

inline void clear_EP_ABORT_EP9_IN() volatile#

Clear EP_ABORT’s EP9_IN bit.

inline void toggle_EP_ABORT_EP9_IN() volatile#

Toggle EP_ABORT’s EP9_IN bit.

inline bool get_EP_ABORT_EP9_OUT() volatile#

Get EP_ABORT’s EP9_OUT bit.

inline void set_EP_ABORT_EP9_OUT() volatile#

Set EP_ABORT’s EP9_OUT bit.

inline void clear_EP_ABORT_EP9_OUT() volatile#

Clear EP_ABORT’s EP9_OUT bit.

inline void toggle_EP_ABORT_EP9_OUT() volatile#

Toggle EP_ABORT’s EP9_OUT bit.

inline bool get_EP_ABORT_EP10_IN() volatile#

Get EP_ABORT’s EP10_IN bit.

inline void set_EP_ABORT_EP10_IN() volatile#

Set EP_ABORT’s EP10_IN bit.

inline void clear_EP_ABORT_EP10_IN() volatile#

Clear EP_ABORT’s EP10_IN bit.

inline void toggle_EP_ABORT_EP10_IN() volatile#

Toggle EP_ABORT’s EP10_IN bit.

inline bool get_EP_ABORT_EP10_OUT() volatile#

Get EP_ABORT’s EP10_OUT bit.

inline void set_EP_ABORT_EP10_OUT() volatile#

Set EP_ABORT’s EP10_OUT bit.

inline void clear_EP_ABORT_EP10_OUT() volatile#

Clear EP_ABORT’s EP10_OUT bit.

inline void toggle_EP_ABORT_EP10_OUT() volatile#

Toggle EP_ABORT’s EP10_OUT bit.

inline bool get_EP_ABORT_EP11_IN() volatile#

Get EP_ABORT’s EP11_IN bit.

inline void set_EP_ABORT_EP11_IN() volatile#

Set EP_ABORT’s EP11_IN bit.

inline void clear_EP_ABORT_EP11_IN() volatile#

Clear EP_ABORT’s EP11_IN bit.

inline void toggle_EP_ABORT_EP11_IN() volatile#

Toggle EP_ABORT’s EP11_IN bit.

inline bool get_EP_ABORT_EP11_OUT() volatile#

Get EP_ABORT’s EP11_OUT bit.

inline void set_EP_ABORT_EP11_OUT() volatile#

Set EP_ABORT’s EP11_OUT bit.

inline void clear_EP_ABORT_EP11_OUT() volatile#

Clear EP_ABORT’s EP11_OUT bit.

inline void toggle_EP_ABORT_EP11_OUT() volatile#

Toggle EP_ABORT’s EP11_OUT bit.

inline bool get_EP_ABORT_EP12_IN() volatile#

Get EP_ABORT’s EP12_IN bit.

inline void set_EP_ABORT_EP12_IN() volatile#

Set EP_ABORT’s EP12_IN bit.

inline void clear_EP_ABORT_EP12_IN() volatile#

Clear EP_ABORT’s EP12_IN bit.

inline void toggle_EP_ABORT_EP12_IN() volatile#

Toggle EP_ABORT’s EP12_IN bit.

inline bool get_EP_ABORT_EP12_OUT() volatile#

Get EP_ABORT’s EP12_OUT bit.

inline void set_EP_ABORT_EP12_OUT() volatile#

Set EP_ABORT’s EP12_OUT bit.

inline void clear_EP_ABORT_EP12_OUT() volatile#

Clear EP_ABORT’s EP12_OUT bit.

inline void toggle_EP_ABORT_EP12_OUT() volatile#

Toggle EP_ABORT’s EP12_OUT bit.

inline bool get_EP_ABORT_EP13_IN() volatile#

Get EP_ABORT’s EP13_IN bit.

inline void set_EP_ABORT_EP13_IN() volatile#

Set EP_ABORT’s EP13_IN bit.

inline void clear_EP_ABORT_EP13_IN() volatile#

Clear EP_ABORT’s EP13_IN bit.

inline void toggle_EP_ABORT_EP13_IN() volatile#

Toggle EP_ABORT’s EP13_IN bit.

inline bool get_EP_ABORT_EP13_OUT() volatile#

Get EP_ABORT’s EP13_OUT bit.

inline void set_EP_ABORT_EP13_OUT() volatile#

Set EP_ABORT’s EP13_OUT bit.

inline void clear_EP_ABORT_EP13_OUT() volatile#

Clear EP_ABORT’s EP13_OUT bit.

inline void toggle_EP_ABORT_EP13_OUT() volatile#

Toggle EP_ABORT’s EP13_OUT bit.

inline bool get_EP_ABORT_EP14_IN() volatile#

Get EP_ABORT’s EP14_IN bit.

inline void set_EP_ABORT_EP14_IN() volatile#

Set EP_ABORT’s EP14_IN bit.

inline void clear_EP_ABORT_EP14_IN() volatile#

Clear EP_ABORT’s EP14_IN bit.

inline void toggle_EP_ABORT_EP14_IN() volatile#

Toggle EP_ABORT’s EP14_IN bit.

inline bool get_EP_ABORT_EP14_OUT() volatile#

Get EP_ABORT’s EP14_OUT bit.

inline void set_EP_ABORT_EP14_OUT() volatile#

Set EP_ABORT’s EP14_OUT bit.

inline void clear_EP_ABORT_EP14_OUT() volatile#

Clear EP_ABORT’s EP14_OUT bit.

inline void toggle_EP_ABORT_EP14_OUT() volatile#

Toggle EP_ABORT’s EP14_OUT bit.

inline bool get_EP_ABORT_EP15_IN() volatile#

Get EP_ABORT’s EP15_IN bit.

inline void set_EP_ABORT_EP15_IN() volatile#

Set EP_ABORT’s EP15_IN bit.

inline void clear_EP_ABORT_EP15_IN() volatile#

Clear EP_ABORT’s EP15_IN bit.

inline void toggle_EP_ABORT_EP15_IN() volatile#

Toggle EP_ABORT’s EP15_IN bit.

inline bool get_EP_ABORT_EP15_OUT() volatile#

Get EP_ABORT’s EP15_OUT bit.

inline void set_EP_ABORT_EP15_OUT() volatile#

Set EP_ABORT’s EP15_OUT bit.

inline void clear_EP_ABORT_EP15_OUT() volatile#

Clear EP_ABORT’s EP15_OUT bit.

inline void toggle_EP_ABORT_EP15_OUT() volatile#

Toggle EP_ABORT’s EP15_OUT bit.

inline void get_EP_ABORT(bool &EP0_IN, bool &EP0_OUT, bool &EP1_IN, bool &EP1_OUT, bool &EP2_IN, bool &EP2_OUT, bool &EP3_IN, bool &EP3_OUT, bool &EP4_IN, bool &EP4_OUT, bool &EP5_IN, bool &EP5_OUT, bool &EP6_IN, bool &EP6_OUT, bool &EP7_IN, bool &EP7_OUT, bool &EP8_IN, bool &EP8_OUT, bool &EP9_IN, bool &EP9_OUT, bool &EP10_IN, bool &EP10_OUT, bool &EP11_IN, bool &EP11_OUT, bool &EP12_IN, bool &EP12_OUT, bool &EP13_IN, bool &EP13_OUT, bool &EP14_IN, bool &EP14_OUT, bool &EP15_IN, bool &EP15_OUT) volatile#

Get all of EP_ABORT’s bit fields.

(read-write) Device only: Can be set to ignore the buffer control register for this endpoint in case you would like to revoke a buffer. A NAK will be sent for every access to the endpoint until this bit is cleared. A corresponding bit in EP_ABORT_DONE is set when it is safe to modify the buffer control register.

inline void set_EP_ABORT(bool EP0_IN, bool EP0_OUT, bool EP1_IN, bool EP1_OUT, bool EP2_IN, bool EP2_OUT, bool EP3_IN, bool EP3_OUT, bool EP4_IN, bool EP4_OUT, bool EP5_IN, bool EP5_OUT, bool EP6_IN, bool EP6_OUT, bool EP7_IN, bool EP7_OUT, bool EP8_IN, bool EP8_OUT, bool EP9_IN, bool EP9_OUT, bool EP10_IN, bool EP10_OUT, bool EP11_IN, bool EP11_OUT, bool EP12_IN, bool EP12_OUT, bool EP13_IN, bool EP13_OUT, bool EP14_IN, bool EP14_OUT, bool EP15_IN, bool EP15_OUT) volatile#

Set all of EP_ABORT’s bit fields.

(read-write) Device only: Can be set to ignore the buffer control register for this endpoint in case you would like to revoke a buffer. A NAK will be sent for every access to the endpoint until this bit is cleared. A corresponding bit in EP_ABORT_DONE is set when it is safe to modify the buffer control register.

inline bool get_EP_ABORT_DONE_EP0_IN() volatile#

Get EP_ABORT_DONE’s EP0_IN bit.

inline void set_EP_ABORT_DONE_EP0_IN() volatile#

Set EP_ABORT_DONE’s EP0_IN bit.

inline void clear_EP_ABORT_DONE_EP0_IN() volatile#

Clear EP_ABORT_DONE’s EP0_IN bit.

inline void toggle_EP_ABORT_DONE_EP0_IN() volatile#

Toggle EP_ABORT_DONE’s EP0_IN bit.

inline bool get_EP_ABORT_DONE_EP0_OUT() volatile#

Get EP_ABORT_DONE’s EP0_OUT bit.

inline void set_EP_ABORT_DONE_EP0_OUT() volatile#

Set EP_ABORT_DONE’s EP0_OUT bit.

inline void clear_EP_ABORT_DONE_EP0_OUT() volatile#

Clear EP_ABORT_DONE’s EP0_OUT bit.

inline void toggle_EP_ABORT_DONE_EP0_OUT() volatile#

Toggle EP_ABORT_DONE’s EP0_OUT bit.

inline bool get_EP_ABORT_DONE_EP1_IN() volatile#

Get EP_ABORT_DONE’s EP1_IN bit.

inline void set_EP_ABORT_DONE_EP1_IN() volatile#

Set EP_ABORT_DONE’s EP1_IN bit.

inline void clear_EP_ABORT_DONE_EP1_IN() volatile#

Clear EP_ABORT_DONE’s EP1_IN bit.

inline void toggle_EP_ABORT_DONE_EP1_IN() volatile#

Toggle EP_ABORT_DONE’s EP1_IN bit.

inline bool get_EP_ABORT_DONE_EP1_OUT() volatile#

Get EP_ABORT_DONE’s EP1_OUT bit.

inline void set_EP_ABORT_DONE_EP1_OUT() volatile#

Set EP_ABORT_DONE’s EP1_OUT bit.

inline void clear_EP_ABORT_DONE_EP1_OUT() volatile#

Clear EP_ABORT_DONE’s EP1_OUT bit.

inline void toggle_EP_ABORT_DONE_EP1_OUT() volatile#

Toggle EP_ABORT_DONE’s EP1_OUT bit.

inline bool get_EP_ABORT_DONE_EP2_IN() volatile#

Get EP_ABORT_DONE’s EP2_IN bit.

inline void set_EP_ABORT_DONE_EP2_IN() volatile#

Set EP_ABORT_DONE’s EP2_IN bit.

inline void clear_EP_ABORT_DONE_EP2_IN() volatile#

Clear EP_ABORT_DONE’s EP2_IN bit.

inline void toggle_EP_ABORT_DONE_EP2_IN() volatile#

Toggle EP_ABORT_DONE’s EP2_IN bit.

inline bool get_EP_ABORT_DONE_EP2_OUT() volatile#

Get EP_ABORT_DONE’s EP2_OUT bit.

inline void set_EP_ABORT_DONE_EP2_OUT() volatile#

Set EP_ABORT_DONE’s EP2_OUT bit.

inline void clear_EP_ABORT_DONE_EP2_OUT() volatile#

Clear EP_ABORT_DONE’s EP2_OUT bit.

inline void toggle_EP_ABORT_DONE_EP2_OUT() volatile#

Toggle EP_ABORT_DONE’s EP2_OUT bit.

inline bool get_EP_ABORT_DONE_EP3_IN() volatile#

Get EP_ABORT_DONE’s EP3_IN bit.

inline void set_EP_ABORT_DONE_EP3_IN() volatile#

Set EP_ABORT_DONE’s EP3_IN bit.

inline void clear_EP_ABORT_DONE_EP3_IN() volatile#

Clear EP_ABORT_DONE’s EP3_IN bit.

inline void toggle_EP_ABORT_DONE_EP3_IN() volatile#

Toggle EP_ABORT_DONE’s EP3_IN bit.

inline bool get_EP_ABORT_DONE_EP3_OUT() volatile#

Get EP_ABORT_DONE’s EP3_OUT bit.

inline void set_EP_ABORT_DONE_EP3_OUT() volatile#

Set EP_ABORT_DONE’s EP3_OUT bit.

inline void clear_EP_ABORT_DONE_EP3_OUT() volatile#

Clear EP_ABORT_DONE’s EP3_OUT bit.

inline void toggle_EP_ABORT_DONE_EP3_OUT() volatile#

Toggle EP_ABORT_DONE’s EP3_OUT bit.

inline bool get_EP_ABORT_DONE_EP4_IN() volatile#

Get EP_ABORT_DONE’s EP4_IN bit.

inline void set_EP_ABORT_DONE_EP4_IN() volatile#

Set EP_ABORT_DONE’s EP4_IN bit.

inline void clear_EP_ABORT_DONE_EP4_IN() volatile#

Clear EP_ABORT_DONE’s EP4_IN bit.

inline void toggle_EP_ABORT_DONE_EP4_IN() volatile#

Toggle EP_ABORT_DONE’s EP4_IN bit.

inline bool get_EP_ABORT_DONE_EP4_OUT() volatile#

Get EP_ABORT_DONE’s EP4_OUT bit.

inline void set_EP_ABORT_DONE_EP4_OUT() volatile#

Set EP_ABORT_DONE’s EP4_OUT bit.

inline void clear_EP_ABORT_DONE_EP4_OUT() volatile#

Clear EP_ABORT_DONE’s EP4_OUT bit.

inline void toggle_EP_ABORT_DONE_EP4_OUT() volatile#

Toggle EP_ABORT_DONE’s EP4_OUT bit.

inline bool get_EP_ABORT_DONE_EP5_IN() volatile#

Get EP_ABORT_DONE’s EP5_IN bit.

inline void set_EP_ABORT_DONE_EP5_IN() volatile#

Set EP_ABORT_DONE’s EP5_IN bit.

inline void clear_EP_ABORT_DONE_EP5_IN() volatile#

Clear EP_ABORT_DONE’s EP5_IN bit.

inline void toggle_EP_ABORT_DONE_EP5_IN() volatile#

Toggle EP_ABORT_DONE’s EP5_IN bit.

inline bool get_EP_ABORT_DONE_EP5_OUT() volatile#

Get EP_ABORT_DONE’s EP5_OUT bit.

inline void set_EP_ABORT_DONE_EP5_OUT() volatile#

Set EP_ABORT_DONE’s EP5_OUT bit.

inline void clear_EP_ABORT_DONE_EP5_OUT() volatile#

Clear EP_ABORT_DONE’s EP5_OUT bit.

inline void toggle_EP_ABORT_DONE_EP5_OUT() volatile#

Toggle EP_ABORT_DONE’s EP5_OUT bit.

inline bool get_EP_ABORT_DONE_EP6_IN() volatile#

Get EP_ABORT_DONE’s EP6_IN bit.

inline void set_EP_ABORT_DONE_EP6_IN() volatile#

Set EP_ABORT_DONE’s EP6_IN bit.

inline void clear_EP_ABORT_DONE_EP6_IN() volatile#

Clear EP_ABORT_DONE’s EP6_IN bit.

inline void toggle_EP_ABORT_DONE_EP6_IN() volatile#

Toggle EP_ABORT_DONE’s EP6_IN bit.

inline bool get_EP_ABORT_DONE_EP6_OUT() volatile#

Get EP_ABORT_DONE’s EP6_OUT bit.

inline void set_EP_ABORT_DONE_EP6_OUT() volatile#

Set EP_ABORT_DONE’s EP6_OUT bit.

inline void clear_EP_ABORT_DONE_EP6_OUT() volatile#

Clear EP_ABORT_DONE’s EP6_OUT bit.

inline void toggle_EP_ABORT_DONE_EP6_OUT() volatile#

Toggle EP_ABORT_DONE’s EP6_OUT bit.

inline bool get_EP_ABORT_DONE_EP7_IN() volatile#

Get EP_ABORT_DONE’s EP7_IN bit.

inline void set_EP_ABORT_DONE_EP7_IN() volatile#

Set EP_ABORT_DONE’s EP7_IN bit.

inline void clear_EP_ABORT_DONE_EP7_IN() volatile#

Clear EP_ABORT_DONE’s EP7_IN bit.

inline void toggle_EP_ABORT_DONE_EP7_IN() volatile#

Toggle EP_ABORT_DONE’s EP7_IN bit.

inline bool get_EP_ABORT_DONE_EP7_OUT() volatile#

Get EP_ABORT_DONE’s EP7_OUT bit.

inline void set_EP_ABORT_DONE_EP7_OUT() volatile#

Set EP_ABORT_DONE’s EP7_OUT bit.

inline void clear_EP_ABORT_DONE_EP7_OUT() volatile#

Clear EP_ABORT_DONE’s EP7_OUT bit.

inline void toggle_EP_ABORT_DONE_EP7_OUT() volatile#

Toggle EP_ABORT_DONE’s EP7_OUT bit.

inline bool get_EP_ABORT_DONE_EP8_IN() volatile#

Get EP_ABORT_DONE’s EP8_IN bit.

inline void set_EP_ABORT_DONE_EP8_IN() volatile#

Set EP_ABORT_DONE’s EP8_IN bit.

inline void clear_EP_ABORT_DONE_EP8_IN() volatile#

Clear EP_ABORT_DONE’s EP8_IN bit.

inline void toggle_EP_ABORT_DONE_EP8_IN() volatile#

Toggle EP_ABORT_DONE’s EP8_IN bit.

inline bool get_EP_ABORT_DONE_EP8_OUT() volatile#

Get EP_ABORT_DONE’s EP8_OUT bit.

inline void set_EP_ABORT_DONE_EP8_OUT() volatile#

Set EP_ABORT_DONE’s EP8_OUT bit.

inline void clear_EP_ABORT_DONE_EP8_OUT() volatile#

Clear EP_ABORT_DONE’s EP8_OUT bit.

inline void toggle_EP_ABORT_DONE_EP8_OUT() volatile#

Toggle EP_ABORT_DONE’s EP8_OUT bit.

inline bool get_EP_ABORT_DONE_EP9_IN() volatile#

Get EP_ABORT_DONE’s EP9_IN bit.

inline void set_EP_ABORT_DONE_EP9_IN() volatile#

Set EP_ABORT_DONE’s EP9_IN bit.

inline void clear_EP_ABORT_DONE_EP9_IN() volatile#

Clear EP_ABORT_DONE’s EP9_IN bit.

inline void toggle_EP_ABORT_DONE_EP9_IN() volatile#

Toggle EP_ABORT_DONE’s EP9_IN bit.

inline bool get_EP_ABORT_DONE_EP9_OUT() volatile#

Get EP_ABORT_DONE’s EP9_OUT bit.

inline void set_EP_ABORT_DONE_EP9_OUT() volatile#

Set EP_ABORT_DONE’s EP9_OUT bit.

inline void clear_EP_ABORT_DONE_EP9_OUT() volatile#

Clear EP_ABORT_DONE’s EP9_OUT bit.

inline void toggle_EP_ABORT_DONE_EP9_OUT() volatile#

Toggle EP_ABORT_DONE’s EP9_OUT bit.

inline bool get_EP_ABORT_DONE_EP10_IN() volatile#

Get EP_ABORT_DONE’s EP10_IN bit.

inline void set_EP_ABORT_DONE_EP10_IN() volatile#

Set EP_ABORT_DONE’s EP10_IN bit.

inline void clear_EP_ABORT_DONE_EP10_IN() volatile#

Clear EP_ABORT_DONE’s EP10_IN bit.

inline void toggle_EP_ABORT_DONE_EP10_IN() volatile#

Toggle EP_ABORT_DONE’s EP10_IN bit.

inline bool get_EP_ABORT_DONE_EP10_OUT() volatile#

Get EP_ABORT_DONE’s EP10_OUT bit.

inline void set_EP_ABORT_DONE_EP10_OUT() volatile#

Set EP_ABORT_DONE’s EP10_OUT bit.

inline void clear_EP_ABORT_DONE_EP10_OUT() volatile#

Clear EP_ABORT_DONE’s EP10_OUT bit.

inline void toggle_EP_ABORT_DONE_EP10_OUT() volatile#

Toggle EP_ABORT_DONE’s EP10_OUT bit.

inline bool get_EP_ABORT_DONE_EP11_IN() volatile#

Get EP_ABORT_DONE’s EP11_IN bit.

inline void set_EP_ABORT_DONE_EP11_IN() volatile#

Set EP_ABORT_DONE’s EP11_IN bit.

inline void clear_EP_ABORT_DONE_EP11_IN() volatile#

Clear EP_ABORT_DONE’s EP11_IN bit.

inline void toggle_EP_ABORT_DONE_EP11_IN() volatile#

Toggle EP_ABORT_DONE’s EP11_IN bit.

inline bool get_EP_ABORT_DONE_EP11_OUT() volatile#

Get EP_ABORT_DONE’s EP11_OUT bit.

inline void set_EP_ABORT_DONE_EP11_OUT() volatile#

Set EP_ABORT_DONE’s EP11_OUT bit.

inline void clear_EP_ABORT_DONE_EP11_OUT() volatile#

Clear EP_ABORT_DONE’s EP11_OUT bit.

inline void toggle_EP_ABORT_DONE_EP11_OUT() volatile#

Toggle EP_ABORT_DONE’s EP11_OUT bit.

inline bool get_EP_ABORT_DONE_EP12_IN() volatile#

Get EP_ABORT_DONE’s EP12_IN bit.

inline void set_EP_ABORT_DONE_EP12_IN() volatile#

Set EP_ABORT_DONE’s EP12_IN bit.

inline void clear_EP_ABORT_DONE_EP12_IN() volatile#

Clear EP_ABORT_DONE’s EP12_IN bit.

inline void toggle_EP_ABORT_DONE_EP12_IN() volatile#

Toggle EP_ABORT_DONE’s EP12_IN bit.

inline bool get_EP_ABORT_DONE_EP12_OUT() volatile#

Get EP_ABORT_DONE’s EP12_OUT bit.

inline void set_EP_ABORT_DONE_EP12_OUT() volatile#

Set EP_ABORT_DONE’s EP12_OUT bit.

inline void clear_EP_ABORT_DONE_EP12_OUT() volatile#

Clear EP_ABORT_DONE’s EP12_OUT bit.

inline void toggle_EP_ABORT_DONE_EP12_OUT() volatile#

Toggle EP_ABORT_DONE’s EP12_OUT bit.

inline bool get_EP_ABORT_DONE_EP13_IN() volatile#

Get EP_ABORT_DONE’s EP13_IN bit.

inline void set_EP_ABORT_DONE_EP13_IN() volatile#

Set EP_ABORT_DONE’s EP13_IN bit.

inline void clear_EP_ABORT_DONE_EP13_IN() volatile#

Clear EP_ABORT_DONE’s EP13_IN bit.

inline void toggle_EP_ABORT_DONE_EP13_IN() volatile#

Toggle EP_ABORT_DONE’s EP13_IN bit.

inline bool get_EP_ABORT_DONE_EP13_OUT() volatile#

Get EP_ABORT_DONE’s EP13_OUT bit.

inline void set_EP_ABORT_DONE_EP13_OUT() volatile#

Set EP_ABORT_DONE’s EP13_OUT bit.

inline void clear_EP_ABORT_DONE_EP13_OUT() volatile#

Clear EP_ABORT_DONE’s EP13_OUT bit.

inline void toggle_EP_ABORT_DONE_EP13_OUT() volatile#

Toggle EP_ABORT_DONE’s EP13_OUT bit.

inline bool get_EP_ABORT_DONE_EP14_IN() volatile#

Get EP_ABORT_DONE’s EP14_IN bit.

inline void set_EP_ABORT_DONE_EP14_IN() volatile#

Set EP_ABORT_DONE’s EP14_IN bit.

inline void clear_EP_ABORT_DONE_EP14_IN() volatile#

Clear EP_ABORT_DONE’s EP14_IN bit.

inline void toggle_EP_ABORT_DONE_EP14_IN() volatile#

Toggle EP_ABORT_DONE’s EP14_IN bit.

inline bool get_EP_ABORT_DONE_EP14_OUT() volatile#

Get EP_ABORT_DONE’s EP14_OUT bit.

inline void set_EP_ABORT_DONE_EP14_OUT() volatile#

Set EP_ABORT_DONE’s EP14_OUT bit.

inline void clear_EP_ABORT_DONE_EP14_OUT() volatile#

Clear EP_ABORT_DONE’s EP14_OUT bit.

inline void toggle_EP_ABORT_DONE_EP14_OUT() volatile#

Toggle EP_ABORT_DONE’s EP14_OUT bit.

inline bool get_EP_ABORT_DONE_EP15_IN() volatile#

Get EP_ABORT_DONE’s EP15_IN bit.

inline void set_EP_ABORT_DONE_EP15_IN() volatile#

Set EP_ABORT_DONE’s EP15_IN bit.

inline void clear_EP_ABORT_DONE_EP15_IN() volatile#

Clear EP_ABORT_DONE’s EP15_IN bit.

inline void toggle_EP_ABORT_DONE_EP15_IN() volatile#

Toggle EP_ABORT_DONE’s EP15_IN bit.

inline bool get_EP_ABORT_DONE_EP15_OUT() volatile#

Get EP_ABORT_DONE’s EP15_OUT bit.

inline void set_EP_ABORT_DONE_EP15_OUT() volatile#

Set EP_ABORT_DONE’s EP15_OUT bit.

inline void clear_EP_ABORT_DONE_EP15_OUT() volatile#

Clear EP_ABORT_DONE’s EP15_OUT bit.

inline void toggle_EP_ABORT_DONE_EP15_OUT() volatile#

Toggle EP_ABORT_DONE’s EP15_OUT bit.

inline void get_EP_ABORT_DONE(bool &EP0_IN, bool &EP0_OUT, bool &EP1_IN, bool &EP1_OUT, bool &EP2_IN, bool &EP2_OUT, bool &EP3_IN, bool &EP3_OUT, bool &EP4_IN, bool &EP4_OUT, bool &EP5_IN, bool &EP5_OUT, bool &EP6_IN, bool &EP6_OUT, bool &EP7_IN, bool &EP7_OUT, bool &EP8_IN, bool &EP8_OUT, bool &EP9_IN, bool &EP9_OUT, bool &EP10_IN, bool &EP10_OUT, bool &EP11_IN, bool &EP11_OUT, bool &EP12_IN, bool &EP12_OUT, bool &EP13_IN, bool &EP13_OUT, bool &EP14_IN, bool &EP14_OUT, bool &EP15_IN, bool &EP15_OUT) volatile#

Get all of EP_ABORT_DONE’s bit fields.

(read-write) Device only: Used in conjunction with EP_ABORT. Set once an endpoint is idle so the programmer knows it is safe to modify the buffer control register.

inline void set_EP_ABORT_DONE(bool EP0_IN, bool EP0_OUT, bool EP1_IN, bool EP1_OUT, bool EP2_IN, bool EP2_OUT, bool EP3_IN, bool EP3_OUT, bool EP4_IN, bool EP4_OUT, bool EP5_IN, bool EP5_OUT, bool EP6_IN, bool EP6_OUT, bool EP7_IN, bool EP7_OUT, bool EP8_IN, bool EP8_OUT, bool EP9_IN, bool EP9_OUT, bool EP10_IN, bool EP10_OUT, bool EP11_IN, bool EP11_OUT, bool EP12_IN, bool EP12_OUT, bool EP13_IN, bool EP13_OUT, bool EP14_IN, bool EP14_OUT, bool EP15_IN, bool EP15_OUT) volatile#

Set all of EP_ABORT_DONE’s bit fields.

(read-write) Device only: Used in conjunction with EP_ABORT. Set once an endpoint is idle so the programmer knows it is safe to modify the buffer control register.

inline bool get_EP_STALL_ARM_EP0_IN() volatile#

Get EP_STALL_ARM’s EP0_IN bit.

inline void set_EP_STALL_ARM_EP0_IN() volatile#

Set EP_STALL_ARM’s EP0_IN bit.

inline void clear_EP_STALL_ARM_EP0_IN() volatile#

Clear EP_STALL_ARM’s EP0_IN bit.

inline void toggle_EP_STALL_ARM_EP0_IN() volatile#

Toggle EP_STALL_ARM’s EP0_IN bit.

inline bool get_EP_STALL_ARM_EP0_OUT() volatile#

Get EP_STALL_ARM’s EP0_OUT bit.

inline void set_EP_STALL_ARM_EP0_OUT() volatile#

Set EP_STALL_ARM’s EP0_OUT bit.

inline void clear_EP_STALL_ARM_EP0_OUT() volatile#

Clear EP_STALL_ARM’s EP0_OUT bit.

inline void toggle_EP_STALL_ARM_EP0_OUT() volatile#

Toggle EP_STALL_ARM’s EP0_OUT bit.

inline void get_EP_STALL_ARM(bool &EP0_IN, bool &EP0_OUT) volatile#

Get all of EP_STALL_ARM’s bit fields.

(read-write) Device: this bit must be set in conjunction with the STALL bit in the buffer control register to send a STALL on EP0. The device controller clears these bits when a SETUP packet is received because the USB spec requires that a STALL condition is cleared when a SETUP packet is received.

inline void set_EP_STALL_ARM(bool EP0_IN, bool EP0_OUT) volatile#

Set all of EP_STALL_ARM’s bit fields.

(read-write) Device: this bit must be set in conjunction with the STALL bit in the buffer control register to send a STALL on EP0. The device controller clears these bits when a SETUP packet is received because the USB spec requires that a STALL condition is cleared when a SETUP packet is received.

inline uint16_t get_NAK_POLL_DELAY_LS() volatile#

Get NAK_POLL’s DELAY_LS field.

NAK polling interval for a low speed device

inline void set_NAK_POLL_DELAY_LS(uint16_t value) volatile#

Set NAK_POLL’s DELAY_LS field.

NAK polling interval for a low speed device

inline uint16_t get_NAK_POLL_DELAY_FS() volatile#

Get NAK_POLL’s DELAY_FS field.

NAK polling interval for a full speed device

inline void set_NAK_POLL_DELAY_FS(uint16_t value) volatile#

Set NAK_POLL’s DELAY_FS field.

NAK polling interval for a full speed device

inline void get_NAK_POLL(uint16_t &DELAY_LS, uint16_t &DELAY_FS) volatile#

Get all of NAK_POLL’s bit fields.

(read-write) Used by the host controller. Sets the wait time in microseconds before trying again if the device replies with a NAK.

inline void set_NAK_POLL(uint16_t DELAY_LS, uint16_t DELAY_FS) volatile#

Set all of NAK_POLL’s bit fields.

(read-write) Used by the host controller. Sets the wait time in microseconds before trying again if the device replies with a NAK.

inline bool get_EP_STATUS_STALL_NAK_EP0_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP0_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP0_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP0_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP0_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP0_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP0_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP0_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP0_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP0_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP0_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP0_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP0_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP0_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP0_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP0_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP1_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP1_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP1_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP1_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP1_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP1_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP1_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP1_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP1_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP1_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP1_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP1_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP1_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP1_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP1_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP1_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP2_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP2_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP2_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP2_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP2_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP2_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP2_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP2_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP2_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP2_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP2_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP2_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP2_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP2_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP2_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP2_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP3_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP3_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP3_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP3_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP3_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP3_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP3_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP3_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP3_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP3_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP3_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP3_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP3_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP3_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP3_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP3_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP4_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP4_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP4_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP4_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP4_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP4_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP4_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP4_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP4_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP4_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP4_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP4_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP4_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP4_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP4_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP4_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP5_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP5_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP5_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP5_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP5_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP5_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP5_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP5_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP5_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP5_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP5_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP5_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP5_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP5_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP5_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP5_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP6_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP6_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP6_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP6_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP6_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP6_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP6_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP6_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP6_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP6_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP6_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP6_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP6_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP6_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP6_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP6_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP7_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP7_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP7_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP7_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP7_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP7_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP7_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP7_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP7_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP7_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP7_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP7_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP7_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP7_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP7_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP7_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP8_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP8_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP8_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP8_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP8_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP8_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP8_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP8_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP8_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP8_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP8_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP8_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP8_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP8_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP8_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP8_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP9_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP9_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP9_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP9_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP9_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP9_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP9_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP9_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP9_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP9_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP9_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP9_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP9_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP9_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP9_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP9_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP10_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP10_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP10_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP10_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP10_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP10_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP10_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP10_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP10_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP10_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP10_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP10_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP10_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP10_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP10_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP10_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP11_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP11_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP11_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP11_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP11_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP11_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP11_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP11_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP11_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP11_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP11_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP11_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP11_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP11_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP11_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP11_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP12_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP12_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP12_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP12_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP12_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP12_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP12_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP12_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP12_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP12_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP12_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP12_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP12_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP12_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP12_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP12_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP13_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP13_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP13_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP13_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP13_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP13_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP13_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP13_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP13_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP13_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP13_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP13_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP13_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP13_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP13_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP13_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP14_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP14_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP14_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP14_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP14_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP14_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP14_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP14_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP14_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP14_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP14_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP14_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP14_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP14_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP14_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP14_OUT bit.

inline bool get_EP_STATUS_STALL_NAK_EP15_IN() volatile#

Get EP_STATUS_STALL_NAK’s EP15_IN bit.

inline void set_EP_STATUS_STALL_NAK_EP15_IN() volatile#

Set EP_STATUS_STALL_NAK’s EP15_IN bit.

inline void clear_EP_STATUS_STALL_NAK_EP15_IN() volatile#

Clear EP_STATUS_STALL_NAK’s EP15_IN bit.

inline void toggle_EP_STATUS_STALL_NAK_EP15_IN() volatile#

Toggle EP_STATUS_STALL_NAK’s EP15_IN bit.

inline bool get_EP_STATUS_STALL_NAK_EP15_OUT() volatile#

Get EP_STATUS_STALL_NAK’s EP15_OUT bit.

inline void set_EP_STATUS_STALL_NAK_EP15_OUT() volatile#

Set EP_STATUS_STALL_NAK’s EP15_OUT bit.

inline void clear_EP_STATUS_STALL_NAK_EP15_OUT() volatile#

Clear EP_STATUS_STALL_NAK’s EP15_OUT bit.

inline void toggle_EP_STATUS_STALL_NAK_EP15_OUT() volatile#

Toggle EP_STATUS_STALL_NAK’s EP15_OUT bit.

inline void get_EP_STATUS_STALL_NAK(bool &EP0_IN, bool &EP0_OUT, bool &EP1_IN, bool &EP1_OUT, bool &EP2_IN, bool &EP2_OUT, bool &EP3_IN, bool &EP3_OUT, bool &EP4_IN, bool &EP4_OUT, bool &EP5_IN, bool &EP5_OUT, bool &EP6_IN, bool &EP6_OUT, bool &EP7_IN, bool &EP7_OUT, bool &EP8_IN, bool &EP8_OUT, bool &EP9_IN, bool &EP9_OUT, bool &EP10_IN, bool &EP10_OUT, bool &EP11_IN, bool &EP11_OUT, bool &EP12_IN, bool &EP12_OUT, bool &EP13_IN, bool &EP13_OUT, bool &EP14_IN, bool &EP14_OUT, bool &EP15_IN, bool &EP15_OUT) volatile#

Get all of EP_STATUS_STALL_NAK’s bit fields.

(read-write) Device: bits are set when the IRQ_ON_NAK or IRQ_ON_STALL bits are set. For EP0 this comes from SIE_CTRL. For all other endpoints it comes from the endpoint control register.

inline void set_EP_STATUS_STALL_NAK(bool EP0_IN, bool EP0_OUT, bool EP1_IN, bool EP1_OUT, bool EP2_IN, bool EP2_OUT, bool EP3_IN, bool EP3_OUT, bool EP4_IN, bool EP4_OUT, bool EP5_IN, bool EP5_OUT, bool EP6_IN, bool EP6_OUT, bool EP7_IN, bool EP7_OUT, bool EP8_IN, bool EP8_OUT, bool EP9_IN, bool EP9_OUT, bool EP10_IN, bool EP10_OUT, bool EP11_IN, bool EP11_OUT, bool EP12_IN, bool EP12_OUT, bool EP13_IN, bool EP13_OUT, bool EP14_IN, bool EP14_OUT, bool EP15_IN, bool EP15_OUT) volatile#

Set all of EP_STATUS_STALL_NAK’s bit fields.

(read-write) Device: bits are set when the IRQ_ON_NAK or IRQ_ON_STALL bits are set. For EP0 this comes from SIE_CTRL. For all other endpoints it comes from the endpoint control register.

inline bool get_USB_MUXING_TO_PHY() volatile#

Get USB_MUXING’s TO_PHY bit.

inline void set_USB_MUXING_TO_PHY() volatile#

Set USB_MUXING’s TO_PHY bit.

inline void clear_USB_MUXING_TO_PHY() volatile#

Clear USB_MUXING’s TO_PHY bit.

inline void toggle_USB_MUXING_TO_PHY() volatile#

Toggle USB_MUXING’s TO_PHY bit.

inline bool get_USB_MUXING_TO_EXTPHY() volatile#

Get USB_MUXING’s TO_EXTPHY bit.

inline void set_USB_MUXING_TO_EXTPHY() volatile#

Set USB_MUXING’s TO_EXTPHY bit.

inline void clear_USB_MUXING_TO_EXTPHY() volatile#

Clear USB_MUXING’s TO_EXTPHY bit.

inline void toggle_USB_MUXING_TO_EXTPHY() volatile#

Toggle USB_MUXING’s TO_EXTPHY bit.

inline bool get_USB_MUXING_TO_DIGITAL_PAD() volatile#

Get USB_MUXING’s TO_DIGITAL_PAD bit.

inline void set_USB_MUXING_TO_DIGITAL_PAD() volatile#

Set USB_MUXING’s TO_DIGITAL_PAD bit.

inline void clear_USB_MUXING_TO_DIGITAL_PAD() volatile#

Clear USB_MUXING’s TO_DIGITAL_PAD bit.

inline void toggle_USB_MUXING_TO_DIGITAL_PAD() volatile#

Toggle USB_MUXING’s TO_DIGITAL_PAD bit.

inline bool get_USB_MUXING_SOFTCON() volatile#

Get USB_MUXING’s SOFTCON bit.

inline void set_USB_MUXING_SOFTCON() volatile#

Set USB_MUXING’s SOFTCON bit.

inline void clear_USB_MUXING_SOFTCON() volatile#

Clear USB_MUXING’s SOFTCON bit.

inline void toggle_USB_MUXING_SOFTCON() volatile#

Toggle USB_MUXING’s SOFTCON bit.

inline void get_USB_MUXING(bool &TO_PHY, bool &TO_EXTPHY, bool &TO_DIGITAL_PAD, bool &SOFTCON) volatile#

Get all of USB_MUXING’s bit fields.

(read-write) Where to connect the USB controller. Should be to_phy by default.

inline void set_USB_MUXING(bool TO_PHY, bool TO_EXTPHY, bool TO_DIGITAL_PAD, bool SOFTCON) volatile#

Set all of USB_MUXING’s bit fields.

(read-write) Where to connect the USB controller. Should be to_phy by default.

inline bool get_USB_PWR_VBUS_EN() volatile#

Get USB_PWR’s VBUS_EN bit.

inline void set_USB_PWR_VBUS_EN() volatile#

Set USB_PWR’s VBUS_EN bit.

inline void clear_USB_PWR_VBUS_EN() volatile#

Clear USB_PWR’s VBUS_EN bit.

inline void toggle_USB_PWR_VBUS_EN() volatile#

Toggle USB_PWR’s VBUS_EN bit.

inline bool get_USB_PWR_VBUS_EN_OVERRIDE_EN() volatile#

Get USB_PWR’s VBUS_EN_OVERRIDE_EN bit.

inline void set_USB_PWR_VBUS_EN_OVERRIDE_EN() volatile#

Set USB_PWR’s VBUS_EN_OVERRIDE_EN bit.

inline void clear_USB_PWR_VBUS_EN_OVERRIDE_EN() volatile#

Clear USB_PWR’s VBUS_EN_OVERRIDE_EN bit.

inline void toggle_USB_PWR_VBUS_EN_OVERRIDE_EN() volatile#

Toggle USB_PWR’s VBUS_EN_OVERRIDE_EN bit.

inline bool get_USB_PWR_VBUS_DETECT() volatile#

Get USB_PWR’s VBUS_DETECT bit.

inline void set_USB_PWR_VBUS_DETECT() volatile#

Set USB_PWR’s VBUS_DETECT bit.

inline void clear_USB_PWR_VBUS_DETECT() volatile#

Clear USB_PWR’s VBUS_DETECT bit.

inline void toggle_USB_PWR_VBUS_DETECT() volatile#

Toggle USB_PWR’s VBUS_DETECT bit.

inline bool get_USB_PWR_VBUS_DETECT_OVERRIDE_EN() volatile#

Get USB_PWR’s VBUS_DETECT_OVERRIDE_EN bit.

inline void set_USB_PWR_VBUS_DETECT_OVERRIDE_EN() volatile#

Set USB_PWR’s VBUS_DETECT_OVERRIDE_EN bit.

inline void clear_USB_PWR_VBUS_DETECT_OVERRIDE_EN() volatile#

Clear USB_PWR’s VBUS_DETECT_OVERRIDE_EN bit.

inline void toggle_USB_PWR_VBUS_DETECT_OVERRIDE_EN() volatile#

Toggle USB_PWR’s VBUS_DETECT_OVERRIDE_EN bit.

inline bool get_USB_PWR_OVERCURR_DETECT() volatile#

Get USB_PWR’s OVERCURR_DETECT bit.

inline void set_USB_PWR_OVERCURR_DETECT() volatile#

Set USB_PWR’s OVERCURR_DETECT bit.

inline void clear_USB_PWR_OVERCURR_DETECT() volatile#

Clear USB_PWR’s OVERCURR_DETECT bit.

inline void toggle_USB_PWR_OVERCURR_DETECT() volatile#

Toggle USB_PWR’s OVERCURR_DETECT bit.

inline bool get_USB_PWR_OVERCURR_DETECT_EN() volatile#

Get USB_PWR’s OVERCURR_DETECT_EN bit.

inline void set_USB_PWR_OVERCURR_DETECT_EN() volatile#

Set USB_PWR’s OVERCURR_DETECT_EN bit.

inline void clear_USB_PWR_OVERCURR_DETECT_EN() volatile#

Clear USB_PWR’s OVERCURR_DETECT_EN bit.

inline void toggle_USB_PWR_OVERCURR_DETECT_EN() volatile#

Toggle USB_PWR’s OVERCURR_DETECT_EN bit.

inline void get_USB_PWR(bool &VBUS_EN, bool &VBUS_EN_OVERRIDE_EN, bool &VBUS_DETECT, bool &VBUS_DETECT_OVERRIDE_EN, bool &OVERCURR_DETECT, bool &OVERCURR_DETECT_EN) volatile#

Get all of USB_PWR’s bit fields.

(read-write) Overrides for the power signals in the event that the VBUS signals are not hooked up to GPIO. Set the value of the override and then the override enable to switch over to the override value.

inline void set_USB_PWR(bool VBUS_EN, bool VBUS_EN_OVERRIDE_EN, bool VBUS_DETECT, bool VBUS_DETECT_OVERRIDE_EN, bool OVERCURR_DETECT, bool OVERCURR_DETECT_EN) volatile#

Set all of USB_PWR’s bit fields.

(read-write) Overrides for the power signals in the event that the VBUS signals are not hooked up to GPIO. Set the value of the override and then the override enable to switch over to the override value.

inline bool get_USBPHY_DIRECT_DP_PULLUP_HISEL() volatile#

Get USBPHY_DIRECT’s DP_PULLUP_HISEL bit.

Enable the second DP pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline void set_USBPHY_DIRECT_DP_PULLUP_HISEL() volatile#

Set USBPHY_DIRECT’s DP_PULLUP_HISEL bit.

Enable the second DP pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline void clear_USBPHY_DIRECT_DP_PULLUP_HISEL() volatile#

Clear USBPHY_DIRECT’s DP_PULLUP_HISEL bit.

Enable the second DP pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline void toggle_USBPHY_DIRECT_DP_PULLUP_HISEL() volatile#

Toggle USBPHY_DIRECT’s DP_PULLUP_HISEL bit.

Enable the second DP pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline bool get_USBPHY_DIRECT_DP_PULLUP_EN() volatile#

Get USBPHY_DIRECT’s DP_PULLUP_EN bit.

DP pull up enable

inline void set_USBPHY_DIRECT_DP_PULLUP_EN() volatile#

Set USBPHY_DIRECT’s DP_PULLUP_EN bit.

DP pull up enable

inline void clear_USBPHY_DIRECT_DP_PULLUP_EN() volatile#

Clear USBPHY_DIRECT’s DP_PULLUP_EN bit.

DP pull up enable

inline void toggle_USBPHY_DIRECT_DP_PULLUP_EN() volatile#

Toggle USBPHY_DIRECT’s DP_PULLUP_EN bit.

DP pull up enable

inline bool get_USBPHY_DIRECT_DP_PULLDN_EN() volatile#

Get USBPHY_DIRECT’s DP_PULLDN_EN bit.

DP pull down enable

inline void set_USBPHY_DIRECT_DP_PULLDN_EN() volatile#

Set USBPHY_DIRECT’s DP_PULLDN_EN bit.

DP pull down enable

inline void clear_USBPHY_DIRECT_DP_PULLDN_EN() volatile#

Clear USBPHY_DIRECT’s DP_PULLDN_EN bit.

DP pull down enable

inline void toggle_USBPHY_DIRECT_DP_PULLDN_EN() volatile#

Toggle USBPHY_DIRECT’s DP_PULLDN_EN bit.

DP pull down enable

inline bool get_USBPHY_DIRECT_DM_PULLUP_HISEL() volatile#

Get USBPHY_DIRECT’s DM_PULLUP_HISEL bit.

Enable the second DM pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline void set_USBPHY_DIRECT_DM_PULLUP_HISEL() volatile#

Set USBPHY_DIRECT’s DM_PULLUP_HISEL bit.

Enable the second DM pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline void clear_USBPHY_DIRECT_DM_PULLUP_HISEL() volatile#

Clear USBPHY_DIRECT’s DM_PULLUP_HISEL bit.

Enable the second DM pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline void toggle_USBPHY_DIRECT_DM_PULLUP_HISEL() volatile#

Toggle USBPHY_DIRECT’s DM_PULLUP_HISEL bit.

Enable the second DM pull up resistor. 0 - Pull = Rpu2; 1 - Pull = Rpu1

  • Rpu2

inline bool get_USBPHY_DIRECT_DM_PULLUP_EN() volatile#

Get USBPHY_DIRECT’s DM_PULLUP_EN bit.

DM pull up enable

inline void set_USBPHY_DIRECT_DM_PULLUP_EN() volatile#

Set USBPHY_DIRECT’s DM_PULLUP_EN bit.

DM pull up enable

inline void clear_USBPHY_DIRECT_DM_PULLUP_EN() volatile#

Clear USBPHY_DIRECT’s DM_PULLUP_EN bit.

DM pull up enable

inline void toggle_USBPHY_DIRECT_DM_PULLUP_EN() volatile#

Toggle USBPHY_DIRECT’s DM_PULLUP_EN bit.

DM pull up enable

inline bool get_USBPHY_DIRECT_DM_PULLDN_EN() volatile#

Get USBPHY_DIRECT’s DM_PULLDN_EN bit.

DM pull down enable

inline void set_USBPHY_DIRECT_DM_PULLDN_EN() volatile#

Set USBPHY_DIRECT’s DM_PULLDN_EN bit.

DM pull down enable

inline void clear_USBPHY_DIRECT_DM_PULLDN_EN() volatile#

Clear USBPHY_DIRECT’s DM_PULLDN_EN bit.

DM pull down enable

inline void toggle_USBPHY_DIRECT_DM_PULLDN_EN() volatile#

Toggle USBPHY_DIRECT’s DM_PULLDN_EN bit.

DM pull down enable

inline bool get_USBPHY_DIRECT_TX_DP_OE() volatile#

Get USBPHY_DIRECT’s TX_DP_OE bit.

Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state; 1 - DPP/DPM driving

If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state; 1 - DPP driving

inline void set_USBPHY_DIRECT_TX_DP_OE() volatile#

Set USBPHY_DIRECT’s TX_DP_OE bit.

Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state; 1 - DPP/DPM driving

If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state; 1 - DPP driving

inline void clear_USBPHY_DIRECT_TX_DP_OE() volatile#

Clear USBPHY_DIRECT’s TX_DP_OE bit.

Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state; 1 - DPP/DPM driving

If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state; 1 - DPP driving

inline void toggle_USBPHY_DIRECT_TX_DP_OE() volatile#

Toggle USBPHY_DIRECT’s TX_DP_OE bit.

Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state; 1 - DPP/DPM driving

If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state; 1 - DPP driving

inline bool get_USBPHY_DIRECT_TX_DM_OE() volatile#

Get USBPHY_DIRECT’s TX_DM_OE bit.

Output enable. If TX_DIFFMODE=1, Ignored.

If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state; 1 - DPM driving

inline void set_USBPHY_DIRECT_TX_DM_OE() volatile#

Set USBPHY_DIRECT’s TX_DM_OE bit.

Output enable. If TX_DIFFMODE=1, Ignored.

If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state; 1 - DPM driving

inline void clear_USBPHY_DIRECT_TX_DM_OE() volatile#

Clear USBPHY_DIRECT’s TX_DM_OE bit.

Output enable. If TX_DIFFMODE=1, Ignored.

If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state; 1 - DPM driving

inline void toggle_USBPHY_DIRECT_TX_DM_OE() volatile#

Toggle USBPHY_DIRECT’s TX_DM_OE bit.

Output enable. If TX_DIFFMODE=1, Ignored.

If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state; 1 - DPM driving

inline bool get_USBPHY_DIRECT_TX_DP() volatile#

Get USBPHY_DIRECT’s TX_DP bit.

Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP

If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP

inline void set_USBPHY_DIRECT_TX_DP() volatile#

Set USBPHY_DIRECT’s TX_DP bit.

Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP

If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP

inline void clear_USBPHY_DIRECT_TX_DP() volatile#

Clear USBPHY_DIRECT’s TX_DP bit.

Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP

If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP

inline void toggle_USBPHY_DIRECT_TX_DP() volatile#

Toggle USBPHY_DIRECT’s TX_DP bit.

Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP

If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP

inline bool get_USBPHY_DIRECT_TX_DM() volatile#

Get USBPHY_DIRECT’s TX_DM bit.

Output data. TX_DIFFMODE=1, Ignored

TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM

inline void set_USBPHY_DIRECT_TX_DM() volatile#

Set USBPHY_DIRECT’s TX_DM bit.

Output data. TX_DIFFMODE=1, Ignored

TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM

inline void clear_USBPHY_DIRECT_TX_DM() volatile#

Clear USBPHY_DIRECT’s TX_DM bit.

Output data. TX_DIFFMODE=1, Ignored

TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM

inline void toggle_USBPHY_DIRECT_TX_DM() volatile#

Toggle USBPHY_DIRECT’s TX_DM bit.

Output data. TX_DIFFMODE=1, Ignored

TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM

inline bool get_USBPHY_DIRECT_RX_PD() volatile#

Get USBPHY_DIRECT’s RX_PD bit.

RX power down override (if override enable is set). 1 = powered down.

inline void set_USBPHY_DIRECT_RX_PD() volatile#

Set USBPHY_DIRECT’s RX_PD bit.

RX power down override (if override enable is set). 1 = powered down.

inline void clear_USBPHY_DIRECT_RX_PD() volatile#

Clear USBPHY_DIRECT’s RX_PD bit.

RX power down override (if override enable is set). 1 = powered down.

inline void toggle_USBPHY_DIRECT_RX_PD() volatile#

Toggle USBPHY_DIRECT’s RX_PD bit.

RX power down override (if override enable is set). 1 = powered down.

inline bool get_USBPHY_DIRECT_TX_PD() volatile#

Get USBPHY_DIRECT’s TX_PD bit.

TX power down override (if override enable is set). 1 = powered down.

inline void set_USBPHY_DIRECT_TX_PD() volatile#

Set USBPHY_DIRECT’s TX_PD bit.

TX power down override (if override enable is set). 1 = powered down.

inline void clear_USBPHY_DIRECT_TX_PD() volatile#

Clear USBPHY_DIRECT’s TX_PD bit.

TX power down override (if override enable is set). 1 = powered down.

inline void toggle_USBPHY_DIRECT_TX_PD() volatile#

Toggle USBPHY_DIRECT’s TX_PD bit.

TX power down override (if override enable is set). 1 = powered down.

inline bool get_USBPHY_DIRECT_TX_FSSLEW() volatile#

Get USBPHY_DIRECT’s TX_FSSLEW bit.

TX_FSSLEW=0: Low speed slew rate

TX_FSSLEW=1: Full speed slew rate

inline void set_USBPHY_DIRECT_TX_FSSLEW() volatile#

Set USBPHY_DIRECT’s TX_FSSLEW bit.

TX_FSSLEW=0: Low speed slew rate

TX_FSSLEW=1: Full speed slew rate

inline void clear_USBPHY_DIRECT_TX_FSSLEW() volatile#

Clear USBPHY_DIRECT’s TX_FSSLEW bit.

TX_FSSLEW=0: Low speed slew rate

TX_FSSLEW=1: Full speed slew rate

inline void toggle_USBPHY_DIRECT_TX_FSSLEW() volatile#

Toggle USBPHY_DIRECT’s TX_FSSLEW bit.

TX_FSSLEW=0: Low speed slew rate

TX_FSSLEW=1: Full speed slew rate

inline bool get_USBPHY_DIRECT_TX_DIFFMODE() volatile#

Get USBPHY_DIRECT’s TX_DIFFMODE bit.

TX_DIFFMODE=0: Single ended mode

TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored)

inline void set_USBPHY_DIRECT_TX_DIFFMODE() volatile#

Set USBPHY_DIRECT’s TX_DIFFMODE bit.

TX_DIFFMODE=0: Single ended mode

TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored)

inline void clear_USBPHY_DIRECT_TX_DIFFMODE() volatile#

Clear USBPHY_DIRECT’s TX_DIFFMODE bit.

TX_DIFFMODE=0: Single ended mode

TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored)

inline void toggle_USBPHY_DIRECT_TX_DIFFMODE() volatile#

Toggle USBPHY_DIRECT’s TX_DIFFMODE bit.

TX_DIFFMODE=0: Single ended mode

TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored)

inline bool get_USBPHY_DIRECT_RX_DD() volatile#

Get USBPHY_DIRECT’s RX_DD bit.

Differential RX

inline bool get_USBPHY_DIRECT_RX_DP() volatile#

Get USBPHY_DIRECT’s RX_DP bit.

DPP pin state

inline bool get_USBPHY_DIRECT_RX_DM() volatile#

Get USBPHY_DIRECT’s RX_DM bit.

DPM pin state

inline bool get_USBPHY_DIRECT_DP_OVCN() volatile#

Get USBPHY_DIRECT’s DP_OVCN bit.

DP overcurrent

inline bool get_USBPHY_DIRECT_DM_OVCN() volatile#

Get USBPHY_DIRECT’s DM_OVCN bit.

DM overcurrent

inline bool get_USBPHY_DIRECT_DP_OVV() volatile#

Get USBPHY_DIRECT’s DP_OVV bit.

DP over voltage

inline bool get_USBPHY_DIRECT_DM_OVV() volatile#

Get USBPHY_DIRECT’s DM_OVV bit.

DM over voltage

inline void get_USBPHY_DIRECT(bool &DP_PULLUP_HISEL, bool &DP_PULLUP_EN, bool &DP_PULLDN_EN, bool &DM_PULLUP_HISEL, bool &DM_PULLUP_EN, bool &DM_PULLDN_EN, bool &TX_DP_OE, bool &TX_DM_OE, bool &TX_DP, bool &TX_DM, bool &RX_PD, bool &TX_PD, bool &TX_FSSLEW, bool &TX_DIFFMODE, bool &RX_DD, bool &RX_DP, bool &RX_DM, bool &DP_OVCN, bool &DM_OVCN, bool &DP_OVV, bool &DM_OVV) volatile#

Get all of USBPHY_DIRECT’s bit fields.

(read-write) This register allows for direct control of the USB phy. Use in conjunction with usbphy_direct_override register to enable each override bit.

inline void set_USBPHY_DIRECT(bool DP_PULLUP_HISEL, bool DP_PULLUP_EN, bool DP_PULLDN_EN, bool DM_PULLUP_HISEL, bool DM_PULLUP_EN, bool DM_PULLDN_EN, bool TX_DP_OE, bool TX_DM_OE, bool TX_DP, bool TX_DM, bool RX_PD, bool TX_PD, bool TX_FSSLEW, bool TX_DIFFMODE) volatile#

Set all of USBPHY_DIRECT’s bit fields.

(read-write) This register allows for direct control of the USB phy. Use in conjunction with usbphy_direct_override register to enable each override bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_HISEL_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_HISEL_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_HISEL_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_HISEL_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_HISEL_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_HISEL_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_HISEL_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_HISEL_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_HISEL_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_HISEL_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_HISEL_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_HISEL_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_HISEL_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_HISEL_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_HISEL_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_HISEL_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_EN_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_EN_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_EN_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_EN_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_EN_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_EN_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_DP_PULLUP_EN_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s DP_PULLUP_EN_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_DP_PULLDN_EN_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s DP_PULLDN_EN_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_DP_PULLDN_EN_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s DP_PULLDN_EN_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_DP_PULLDN_EN_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s DP_PULLDN_EN_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_DP_PULLDN_EN_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s DP_PULLDN_EN_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_DM_PULLDN_EN_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s DM_PULLDN_EN_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_DM_PULLDN_EN_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s DM_PULLDN_EN_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_DM_PULLDN_EN_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s DM_PULLDN_EN_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_DM_PULLDN_EN_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s DM_PULLDN_EN_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_DP_OE_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_DP_OE_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_DP_OE_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_DP_OE_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_DP_OE_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_DP_OE_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_DP_OE_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_DP_OE_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_DM_OE_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_DM_OE_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_DM_OE_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_DM_OE_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_DM_OE_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_DM_OE_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_DM_OE_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_DM_OE_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_DP_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_DP_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_DP_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_DP_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_DP_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_DP_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_DP_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_DP_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_DM_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_DM_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_DM_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_DM_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_DM_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_DM_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_DM_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_DM_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_RX_PD_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s RX_PD_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_RX_PD_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s RX_PD_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_RX_PD_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s RX_PD_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_RX_PD_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s RX_PD_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_PD_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_PD_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_PD_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_PD_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_PD_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_PD_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_PD_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_PD_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_FSSLEW_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_FSSLEW_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_FSSLEW_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_FSSLEW_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_FSSLEW_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_FSSLEW_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_FSSLEW_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_FSSLEW_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_DM_PULLUP_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s DM_PULLUP_OVERRIDE_EN bit.

inline bool get_USBPHY_DIRECT_OVERRIDE_TX_DIFFMODE_OVERRIDE_EN() volatile#

Get USBPHY_DIRECT_OVERRIDE’s TX_DIFFMODE_OVERRIDE_EN bit.

inline void set_USBPHY_DIRECT_OVERRIDE_TX_DIFFMODE_OVERRIDE_EN() volatile#

Set USBPHY_DIRECT_OVERRIDE’s TX_DIFFMODE_OVERRIDE_EN bit.

inline void clear_USBPHY_DIRECT_OVERRIDE_TX_DIFFMODE_OVERRIDE_EN() volatile#

Clear USBPHY_DIRECT_OVERRIDE’s TX_DIFFMODE_OVERRIDE_EN bit.

inline void toggle_USBPHY_DIRECT_OVERRIDE_TX_DIFFMODE_OVERRIDE_EN() volatile#

Toggle USBPHY_DIRECT_OVERRIDE’s TX_DIFFMODE_OVERRIDE_EN bit.

inline void get_USBPHY_DIRECT_OVERRIDE(bool &DP_PULLUP_HISEL_OVERRIDE_EN, bool &DM_PULLUP_HISEL_OVERRIDE_EN, bool &DP_PULLUP_EN_OVERRIDE_EN, bool &DP_PULLDN_EN_OVERRIDE_EN, bool &DM_PULLDN_EN_OVERRIDE_EN, bool &TX_DP_OE_OVERRIDE_EN, bool &TX_DM_OE_OVERRIDE_EN, bool &TX_DP_OVERRIDE_EN, bool &TX_DM_OVERRIDE_EN, bool &RX_PD_OVERRIDE_EN, bool &TX_PD_OVERRIDE_EN, bool &TX_FSSLEW_OVERRIDE_EN, bool &DM_PULLUP_OVERRIDE_EN, bool &TX_DIFFMODE_OVERRIDE_EN) volatile#

Get all of USBPHY_DIRECT_OVERRIDE’s bit fields.

(read-write) Override enable for each control in usbphy_direct

inline void set_USBPHY_DIRECT_OVERRIDE(bool DP_PULLUP_HISEL_OVERRIDE_EN, bool DM_PULLUP_HISEL_OVERRIDE_EN, bool DP_PULLUP_EN_OVERRIDE_EN, bool DP_PULLDN_EN_OVERRIDE_EN, bool DM_PULLDN_EN_OVERRIDE_EN, bool TX_DP_OE_OVERRIDE_EN, bool TX_DM_OE_OVERRIDE_EN, bool TX_DP_OVERRIDE_EN, bool TX_DM_OVERRIDE_EN, bool RX_PD_OVERRIDE_EN, bool TX_PD_OVERRIDE_EN, bool TX_FSSLEW_OVERRIDE_EN, bool DM_PULLUP_OVERRIDE_EN, bool TX_DIFFMODE_OVERRIDE_EN) volatile#

Set all of USBPHY_DIRECT_OVERRIDE’s bit fields.

(read-write) Override enable for each control in usbphy_direct

inline uint8_t get_USBPHY_TRIM_DP_PULLDN_TRIM() volatile#

Get USBPHY_TRIM’s DP_PULLDN_TRIM field.

Value to drive to USB PHY

DP pulldown resistor trim control

Experimental data suggests that the reset value will work, but this register allows adjustment if required

inline void set_USBPHY_TRIM_DP_PULLDN_TRIM(uint8_t value) volatile#

Set USBPHY_TRIM’s DP_PULLDN_TRIM field.

Value to drive to USB PHY

DP pulldown resistor trim control

Experimental data suggests that the reset value will work, but this register allows adjustment if required

inline uint8_t get_USBPHY_TRIM_DM_PULLDN_TRIM() volatile#

Get USBPHY_TRIM’s DM_PULLDN_TRIM field.

Value to drive to USB PHY

DM pulldown resistor trim control

Experimental data suggests that the reset value will work, but this register allows adjustment if required

inline void set_USBPHY_TRIM_DM_PULLDN_TRIM(uint8_t value) volatile#

Set USBPHY_TRIM’s DM_PULLDN_TRIM field.

Value to drive to USB PHY

DM pulldown resistor trim control

Experimental data suggests that the reset value will work, but this register allows adjustment if required

inline void get_USBPHY_TRIM(uint8_t &DP_PULLDN_TRIM, uint8_t &DM_PULLDN_TRIM) volatile#

Get all of USBPHY_TRIM’s bit fields.

(read-write) Used to adjust trim values of USB phy pull down resistors.

inline void set_USBPHY_TRIM(uint8_t DP_PULLDN_TRIM, uint8_t DM_PULLDN_TRIM) volatile#

Set all of USBPHY_TRIM’s bit fields.

(read-write) Used to adjust trim values of USB phy pull down resistors.

inline bool get_INTR_HOST_CONN_DIS() volatile#

Get INTR’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline bool get_INTR_HOST_RESUME() volatile#

Get INTR’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTR_HOST_SOF() volatile#

Get INTR’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline bool get_INTR_TRANS_COMPLETE() volatile#

Get INTR’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline bool get_INTR_BUFF_STATUS() volatile#

Get INTR’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline bool get_INTR_ERROR_DATA_SEQ() volatile#

Get INTR’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline bool get_INTR_ERROR_RX_TIMEOUT() volatile#

Get INTR’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline bool get_INTR_ERROR_RX_OVERFLOW() volatile#

Get INTR’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline bool get_INTR_ERROR_BIT_STUFF() volatile#

Get INTR’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline bool get_INTR_ERROR_CRC() volatile#

Get INTR’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline bool get_INTR_STALL() volatile#

Get INTR’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline bool get_INTR_VBUS_DETECT() volatile#

Get INTR’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline bool get_INTR_BUS_RESET() volatile#

Get INTR’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline bool get_INTR_DEV_CONN_DIS() volatile#

Get INTR’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline bool get_INTR_DEV_SUSPEND() volatile#

Get INTR’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline bool get_INTR_DEV_RESUME_FROM_HOST() volatile#

Get INTR’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTR_SETUP_REQ() volatile#

Get INTR’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline bool get_INTR_DEV_SOF() volatile#

Get INTR’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline bool get_INTR_ABORT_DONE() volatile#

Get INTR’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline bool get_INTR_EP_STALL_NAK() volatile#

Get INTR’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void get_INTR(bool &HOST_CONN_DIS, bool &HOST_RESUME, bool &HOST_SOF, bool &TRANS_COMPLETE, bool &BUFF_STATUS, bool &ERROR_DATA_SEQ, bool &ERROR_RX_TIMEOUT, bool &ERROR_RX_OVERFLOW, bool &ERROR_BIT_STUFF, bool &ERROR_CRC, bool &STALL, bool &VBUS_DETECT, bool &BUS_RESET, bool &DEV_CONN_DIS, bool &DEV_SUSPEND, bool &DEV_RESUME_FROM_HOST, bool &SETUP_REQ, bool &DEV_SOF, bool &ABORT_DONE, bool &EP_STALL_NAK) volatile#

Get all of INTR’s bit fields.

(read-only) Raw Interrupts

inline bool get_INTE_HOST_CONN_DIS() volatile#

Get INTE’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline void set_INTE_HOST_CONN_DIS() volatile#

Set INTE’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline void clear_INTE_HOST_CONN_DIS() volatile#

Clear INTE’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline void toggle_INTE_HOST_CONN_DIS() volatile#

Toggle INTE’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline bool get_INTE_HOST_RESUME() volatile#

Get INTE’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline void set_INTE_HOST_RESUME() volatile#

Set INTE’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline void clear_INTE_HOST_RESUME() volatile#

Clear INTE’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline void toggle_INTE_HOST_RESUME() volatile#

Toggle INTE’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTE_HOST_SOF() volatile#

Get INTE’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline void set_INTE_HOST_SOF() volatile#

Set INTE’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline void clear_INTE_HOST_SOF() volatile#

Clear INTE’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline void toggle_INTE_HOST_SOF() volatile#

Toggle INTE’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline bool get_INTE_TRANS_COMPLETE() volatile#

Get INTE’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline void set_INTE_TRANS_COMPLETE() volatile#

Set INTE’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline void clear_INTE_TRANS_COMPLETE() volatile#

Clear INTE’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline void toggle_INTE_TRANS_COMPLETE() volatile#

Toggle INTE’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline bool get_INTE_BUFF_STATUS() volatile#

Get INTE’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline void set_INTE_BUFF_STATUS() volatile#

Set INTE’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline void clear_INTE_BUFF_STATUS() volatile#

Clear INTE’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline void toggle_INTE_BUFF_STATUS() volatile#

Toggle INTE’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline bool get_INTE_ERROR_DATA_SEQ() volatile#

Get INTE’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline void set_INTE_ERROR_DATA_SEQ() volatile#

Set INTE’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline void clear_INTE_ERROR_DATA_SEQ() volatile#

Clear INTE’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline void toggle_INTE_ERROR_DATA_SEQ() volatile#

Toggle INTE’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline bool get_INTE_ERROR_RX_TIMEOUT() volatile#

Get INTE’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline void set_INTE_ERROR_RX_TIMEOUT() volatile#

Set INTE’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline void clear_INTE_ERROR_RX_TIMEOUT() volatile#

Clear INTE’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline void toggle_INTE_ERROR_RX_TIMEOUT() volatile#

Toggle INTE’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline bool get_INTE_ERROR_RX_OVERFLOW() volatile#

Get INTE’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline void set_INTE_ERROR_RX_OVERFLOW() volatile#

Set INTE’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline void clear_INTE_ERROR_RX_OVERFLOW() volatile#

Clear INTE’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline void toggle_INTE_ERROR_RX_OVERFLOW() volatile#

Toggle INTE’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline bool get_INTE_ERROR_BIT_STUFF() volatile#

Get INTE’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline void set_INTE_ERROR_BIT_STUFF() volatile#

Set INTE’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline void clear_INTE_ERROR_BIT_STUFF() volatile#

Clear INTE’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline void toggle_INTE_ERROR_BIT_STUFF() volatile#

Toggle INTE’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline bool get_INTE_ERROR_CRC() volatile#

Get INTE’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline void set_INTE_ERROR_CRC() volatile#

Set INTE’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline void clear_INTE_ERROR_CRC() volatile#

Clear INTE’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline void toggle_INTE_ERROR_CRC() volatile#

Toggle INTE’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline bool get_INTE_STALL() volatile#

Get INTE’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline void set_INTE_STALL() volatile#

Set INTE’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline void clear_INTE_STALL() volatile#

Clear INTE’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline void toggle_INTE_STALL() volatile#

Toggle INTE’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline bool get_INTE_VBUS_DETECT() volatile#

Get INTE’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline void set_INTE_VBUS_DETECT() volatile#

Set INTE’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline void clear_INTE_VBUS_DETECT() volatile#

Clear INTE’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline void toggle_INTE_VBUS_DETECT() volatile#

Toggle INTE’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline bool get_INTE_BUS_RESET() volatile#

Get INTE’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline void set_INTE_BUS_RESET() volatile#

Set INTE’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline void clear_INTE_BUS_RESET() volatile#

Clear INTE’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline void toggle_INTE_BUS_RESET() volatile#

Toggle INTE’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline bool get_INTE_DEV_CONN_DIS() volatile#

Get INTE’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline void set_INTE_DEV_CONN_DIS() volatile#

Set INTE’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline void clear_INTE_DEV_CONN_DIS() volatile#

Clear INTE’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline void toggle_INTE_DEV_CONN_DIS() volatile#

Toggle INTE’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline bool get_INTE_DEV_SUSPEND() volatile#

Get INTE’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline void set_INTE_DEV_SUSPEND() volatile#

Set INTE’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline void clear_INTE_DEV_SUSPEND() volatile#

Clear INTE’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline void toggle_INTE_DEV_SUSPEND() volatile#

Toggle INTE’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline bool get_INTE_DEV_RESUME_FROM_HOST() volatile#

Get INTE’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline void set_INTE_DEV_RESUME_FROM_HOST() volatile#

Set INTE’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline void clear_INTE_DEV_RESUME_FROM_HOST() volatile#

Clear INTE’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline void toggle_INTE_DEV_RESUME_FROM_HOST() volatile#

Toggle INTE’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTE_SETUP_REQ() volatile#

Get INTE’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline void set_INTE_SETUP_REQ() volatile#

Set INTE’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline void clear_INTE_SETUP_REQ() volatile#

Clear INTE’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline void toggle_INTE_SETUP_REQ() volatile#

Toggle INTE’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline bool get_INTE_DEV_SOF() volatile#

Get INTE’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline void set_INTE_DEV_SOF() volatile#

Set INTE’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline void clear_INTE_DEV_SOF() volatile#

Clear INTE’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline void toggle_INTE_DEV_SOF() volatile#

Toggle INTE’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline bool get_INTE_ABORT_DONE() volatile#

Get INTE’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline void set_INTE_ABORT_DONE() volatile#

Set INTE’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline void clear_INTE_ABORT_DONE() volatile#

Clear INTE’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline void toggle_INTE_ABORT_DONE() volatile#

Toggle INTE’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline bool get_INTE_EP_STALL_NAK() volatile#

Get INTE’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void set_INTE_EP_STALL_NAK() volatile#

Set INTE’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void clear_INTE_EP_STALL_NAK() volatile#

Clear INTE’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void toggle_INTE_EP_STALL_NAK() volatile#

Toggle INTE’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void get_INTE(bool &HOST_CONN_DIS, bool &HOST_RESUME, bool &HOST_SOF, bool &TRANS_COMPLETE, bool &BUFF_STATUS, bool &ERROR_DATA_SEQ, bool &ERROR_RX_TIMEOUT, bool &ERROR_RX_OVERFLOW, bool &ERROR_BIT_STUFF, bool &ERROR_CRC, bool &STALL, bool &VBUS_DETECT, bool &BUS_RESET, bool &DEV_CONN_DIS, bool &DEV_SUSPEND, bool &DEV_RESUME_FROM_HOST, bool &SETUP_REQ, bool &DEV_SOF, bool &ABORT_DONE, bool &EP_STALL_NAK) volatile#

Get all of INTE’s bit fields.

(read-write) Interrupt Enable

inline void set_INTE(bool HOST_CONN_DIS, bool HOST_RESUME, bool HOST_SOF, bool TRANS_COMPLETE, bool BUFF_STATUS, bool ERROR_DATA_SEQ, bool ERROR_RX_TIMEOUT, bool ERROR_RX_OVERFLOW, bool ERROR_BIT_STUFF, bool ERROR_CRC, bool STALL, bool VBUS_DETECT, bool BUS_RESET, bool DEV_CONN_DIS, bool DEV_SUSPEND, bool DEV_RESUME_FROM_HOST, bool SETUP_REQ, bool DEV_SOF, bool ABORT_DONE, bool EP_STALL_NAK) volatile#

Set all of INTE’s bit fields.

(read-write) Interrupt Enable

inline bool get_INTF_HOST_CONN_DIS() volatile#

Get INTF’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline void set_INTF_HOST_CONN_DIS() volatile#

Set INTF’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline void clear_INTF_HOST_CONN_DIS() volatile#

Clear INTF’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline void toggle_INTF_HOST_CONN_DIS() volatile#

Toggle INTF’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline bool get_INTF_HOST_RESUME() volatile#

Get INTF’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline void set_INTF_HOST_RESUME() volatile#

Set INTF’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline void clear_INTF_HOST_RESUME() volatile#

Clear INTF’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline void toggle_INTF_HOST_RESUME() volatile#

Toggle INTF’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTF_HOST_SOF() volatile#

Get INTF’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline void set_INTF_HOST_SOF() volatile#

Set INTF’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline void clear_INTF_HOST_SOF() volatile#

Clear INTF’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline void toggle_INTF_HOST_SOF() volatile#

Toggle INTF’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline bool get_INTF_TRANS_COMPLETE() volatile#

Get INTF’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline void set_INTF_TRANS_COMPLETE() volatile#

Set INTF’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline void clear_INTF_TRANS_COMPLETE() volatile#

Clear INTF’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline void toggle_INTF_TRANS_COMPLETE() volatile#

Toggle INTF’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline bool get_INTF_BUFF_STATUS() volatile#

Get INTF’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline void set_INTF_BUFF_STATUS() volatile#

Set INTF’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline void clear_INTF_BUFF_STATUS() volatile#

Clear INTF’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline void toggle_INTF_BUFF_STATUS() volatile#

Toggle INTF’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline bool get_INTF_ERROR_DATA_SEQ() volatile#

Get INTF’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline void set_INTF_ERROR_DATA_SEQ() volatile#

Set INTF’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline void clear_INTF_ERROR_DATA_SEQ() volatile#

Clear INTF’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline void toggle_INTF_ERROR_DATA_SEQ() volatile#

Toggle INTF’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline bool get_INTF_ERROR_RX_TIMEOUT() volatile#

Get INTF’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline void set_INTF_ERROR_RX_TIMEOUT() volatile#

Set INTF’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline void clear_INTF_ERROR_RX_TIMEOUT() volatile#

Clear INTF’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline void toggle_INTF_ERROR_RX_TIMEOUT() volatile#

Toggle INTF’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline bool get_INTF_ERROR_RX_OVERFLOW() volatile#

Get INTF’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline void set_INTF_ERROR_RX_OVERFLOW() volatile#

Set INTF’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline void clear_INTF_ERROR_RX_OVERFLOW() volatile#

Clear INTF’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline void toggle_INTF_ERROR_RX_OVERFLOW() volatile#

Toggle INTF’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline bool get_INTF_ERROR_BIT_STUFF() volatile#

Get INTF’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline void set_INTF_ERROR_BIT_STUFF() volatile#

Set INTF’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline void clear_INTF_ERROR_BIT_STUFF() volatile#

Clear INTF’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline void toggle_INTF_ERROR_BIT_STUFF() volatile#

Toggle INTF’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline bool get_INTF_ERROR_CRC() volatile#

Get INTF’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline void set_INTF_ERROR_CRC() volatile#

Set INTF’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline void clear_INTF_ERROR_CRC() volatile#

Clear INTF’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline void toggle_INTF_ERROR_CRC() volatile#

Toggle INTF’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline bool get_INTF_STALL() volatile#

Get INTF’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline void set_INTF_STALL() volatile#

Set INTF’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline void clear_INTF_STALL() volatile#

Clear INTF’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline void toggle_INTF_STALL() volatile#

Toggle INTF’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline bool get_INTF_VBUS_DETECT() volatile#

Get INTF’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline void set_INTF_VBUS_DETECT() volatile#

Set INTF’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline void clear_INTF_VBUS_DETECT() volatile#

Clear INTF’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline void toggle_INTF_VBUS_DETECT() volatile#

Toggle INTF’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline bool get_INTF_BUS_RESET() volatile#

Get INTF’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline void set_INTF_BUS_RESET() volatile#

Set INTF’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline void clear_INTF_BUS_RESET() volatile#

Clear INTF’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline void toggle_INTF_BUS_RESET() volatile#

Toggle INTF’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline bool get_INTF_DEV_CONN_DIS() volatile#

Get INTF’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline void set_INTF_DEV_CONN_DIS() volatile#

Set INTF’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline void clear_INTF_DEV_CONN_DIS() volatile#

Clear INTF’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline void toggle_INTF_DEV_CONN_DIS() volatile#

Toggle INTF’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline bool get_INTF_DEV_SUSPEND() volatile#

Get INTF’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline void set_INTF_DEV_SUSPEND() volatile#

Set INTF’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline void clear_INTF_DEV_SUSPEND() volatile#

Clear INTF’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline void toggle_INTF_DEV_SUSPEND() volatile#

Toggle INTF’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline bool get_INTF_DEV_RESUME_FROM_HOST() volatile#

Get INTF’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline void set_INTF_DEV_RESUME_FROM_HOST() volatile#

Set INTF’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline void clear_INTF_DEV_RESUME_FROM_HOST() volatile#

Clear INTF’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline void toggle_INTF_DEV_RESUME_FROM_HOST() volatile#

Toggle INTF’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTF_SETUP_REQ() volatile#

Get INTF’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline void set_INTF_SETUP_REQ() volatile#

Set INTF’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline void clear_INTF_SETUP_REQ() volatile#

Clear INTF’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline void toggle_INTF_SETUP_REQ() volatile#

Toggle INTF’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline bool get_INTF_DEV_SOF() volatile#

Get INTF’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline void set_INTF_DEV_SOF() volatile#

Set INTF’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline void clear_INTF_DEV_SOF() volatile#

Clear INTF’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline void toggle_INTF_DEV_SOF() volatile#

Toggle INTF’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline bool get_INTF_ABORT_DONE() volatile#

Get INTF’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline void set_INTF_ABORT_DONE() volatile#

Set INTF’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline void clear_INTF_ABORT_DONE() volatile#

Clear INTF’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline void toggle_INTF_ABORT_DONE() volatile#

Toggle INTF’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline bool get_INTF_EP_STALL_NAK() volatile#

Get INTF’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void set_INTF_EP_STALL_NAK() volatile#

Set INTF’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void clear_INTF_EP_STALL_NAK() volatile#

Clear INTF’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void toggle_INTF_EP_STALL_NAK() volatile#

Toggle INTF’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void get_INTF(bool &HOST_CONN_DIS, bool &HOST_RESUME, bool &HOST_SOF, bool &TRANS_COMPLETE, bool &BUFF_STATUS, bool &ERROR_DATA_SEQ, bool &ERROR_RX_TIMEOUT, bool &ERROR_RX_OVERFLOW, bool &ERROR_BIT_STUFF, bool &ERROR_CRC, bool &STALL, bool &VBUS_DETECT, bool &BUS_RESET, bool &DEV_CONN_DIS, bool &DEV_SUSPEND, bool &DEV_RESUME_FROM_HOST, bool &SETUP_REQ, bool &DEV_SOF, bool &ABORT_DONE, bool &EP_STALL_NAK) volatile#

Get all of INTF’s bit fields.

(read-write) Interrupt Force

inline void set_INTF(bool HOST_CONN_DIS, bool HOST_RESUME, bool HOST_SOF, bool TRANS_COMPLETE, bool BUFF_STATUS, bool ERROR_DATA_SEQ, bool ERROR_RX_TIMEOUT, bool ERROR_RX_OVERFLOW, bool ERROR_BIT_STUFF, bool ERROR_CRC, bool STALL, bool VBUS_DETECT, bool BUS_RESET, bool DEV_CONN_DIS, bool DEV_SUSPEND, bool DEV_RESUME_FROM_HOST, bool SETUP_REQ, bool DEV_SOF, bool ABORT_DONE, bool EP_STALL_NAK) volatile#

Set all of INTF’s bit fields.

(read-write) Interrupt Force

inline bool get_INTS_HOST_CONN_DIS() volatile#

Get INTS’s HOST_CONN_DIS bit.

Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED

inline bool get_INTS_HOST_RESUME() volatile#

Get INTS’s HOST_RESUME bit.

Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTS_HOST_SOF() volatile#

Get INTS’s HOST_SOF bit.

Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD

inline bool get_INTS_TRANS_COMPLETE() volatile#

Get INTS’s TRANS_COMPLETE bit.

Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit.

inline bool get_INTS_BUFF_STATUS() volatile#

Get INTS’s BUFF_STATUS bit.

Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS.

inline bool get_INTS_ERROR_DATA_SEQ() volatile#

Get INTS’s ERROR_DATA_SEQ bit.

Source: SIE_STATUS.DATA_SEQ_ERROR

inline bool get_INTS_ERROR_RX_TIMEOUT() volatile#

Get INTS’s ERROR_RX_TIMEOUT bit.

Source: SIE_STATUS.RX_TIMEOUT

inline bool get_INTS_ERROR_RX_OVERFLOW() volatile#

Get INTS’s ERROR_RX_OVERFLOW bit.

Source: SIE_STATUS.RX_OVERFLOW

inline bool get_INTS_ERROR_BIT_STUFF() volatile#

Get INTS’s ERROR_BIT_STUFF bit.

Source: SIE_STATUS.BIT_STUFF_ERROR

inline bool get_INTS_ERROR_CRC() volatile#

Get INTS’s ERROR_CRC bit.

Source: SIE_STATUS.CRC_ERROR

inline bool get_INTS_STALL() volatile#

Get INTS’s STALL bit.

Source: SIE_STATUS.STALL_REC

inline bool get_INTS_VBUS_DETECT() volatile#

Get INTS’s VBUS_DETECT bit.

Source: SIE_STATUS.VBUS_DETECTED

inline bool get_INTS_BUS_RESET() volatile#

Get INTS’s BUS_RESET bit.

Source: SIE_STATUS.BUS_RESET

inline bool get_INTS_DEV_CONN_DIS() volatile#

Get INTS’s DEV_CONN_DIS bit.

Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED

inline bool get_INTS_DEV_SUSPEND() volatile#

Get INTS’s DEV_SUSPEND bit.

Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED

inline bool get_INTS_DEV_RESUME_FROM_HOST() volatile#

Get INTS’s DEV_RESUME_FROM_HOST bit.

Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME

inline bool get_INTS_SETUP_REQ() volatile#

Get INTS’s SETUP_REQ bit.

Device. Source: SIE_STATUS.SETUP_REC

inline bool get_INTS_DEV_SOF() volatile#

Get INTS’s DEV_SOF bit.

Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD

inline bool get_INTS_ABORT_DONE() volatile#

Get INTS’s ABORT_DONE bit.

Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE.

inline bool get_INTS_EP_STALL_NAK() volatile#

Get INTS’s EP_STALL_NAK bit.

Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK.

inline void get_INTS(bool &HOST_CONN_DIS, bool &HOST_RESUME, bool &HOST_SOF, bool &TRANS_COMPLETE, bool &BUFF_STATUS, bool &ERROR_DATA_SEQ, bool &ERROR_RX_TIMEOUT, bool &ERROR_RX_OVERFLOW, bool &ERROR_BIT_STUFF, bool &ERROR_CRC, bool &STALL, bool &VBUS_DETECT, bool &BUS_RESET, bool &DEV_CONN_DIS, bool &DEV_SUSPEND, bool &DEV_RESUME_FROM_HOST, bool &SETUP_REQ, bool &DEV_SOF, bool &ABORT_DONE, bool &EP_STALL_NAK) volatile#

Get all of INTS’s bit fields.

(read-only) Interrupt status after masking & forcing

Public Members

uint32_t ADDR_ENDP#

(read-write) Device address and endpoint control

uint32_t ADDR_ENDP1#

(read-write) Interrupt endpoint 1. Only valid for HOST mode.

uint32_t ADDR_ENDP2#

(read-write) Interrupt endpoint 2. Only valid for HOST mode.

uint32_t ADDR_ENDP3#

(read-write) Interrupt endpoint 3. Only valid for HOST mode.

uint32_t ADDR_ENDP4#

(read-write) Interrupt endpoint 4. Only valid for HOST mode.

uint32_t ADDR_ENDP5#

(read-write) Interrupt endpoint 5. Only valid for HOST mode.

uint32_t ADDR_ENDP6#

(read-write) Interrupt endpoint 6. Only valid for HOST mode.

uint32_t ADDR_ENDP7#

(read-write) Interrupt endpoint 7. Only valid for HOST mode.

uint32_t ADDR_ENDP8#

(read-write) Interrupt endpoint 8. Only valid for HOST mode.

uint32_t ADDR_ENDP9#

(read-write) Interrupt endpoint 9. Only valid for HOST mode.

uint32_t ADDR_ENDP10#

(read-write) Interrupt endpoint 10. Only valid for HOST mode.

uint32_t ADDR_ENDP11#

(read-write) Interrupt endpoint 11. Only valid for HOST mode.

uint32_t ADDR_ENDP12#

(read-write) Interrupt endpoint 12. Only valid for HOST mode.

uint32_t ADDR_ENDP13#

(read-write) Interrupt endpoint 13. Only valid for HOST mode.

uint32_t ADDR_ENDP14#

(read-write) Interrupt endpoint 14. Only valid for HOST mode.

uint32_t ADDR_ENDP15#

(read-write) Interrupt endpoint 15. Only valid for HOST mode.

uint32_t MAIN_CTRL#

(read-write) Main control register

uint32_t SOF_WR#

(write-only) Set the SOF (Start of Frame) frame number in the host controller. The SOF packet is sent every 1ms and the host will increment the frame number by 1 each time.

const uint32_t SOF_RD = {}#

(read-only) Read the last SOF (Start of Frame) frame number seen. In device mode the last SOF received from the host. In host mode the last SOF sent by the host.

uint32_t SIE_CTRL#

(read-write) SIE control register

uint32_t SIE_STATUS#

(read-write) SIE status register

uint32_t INT_EP_CTRL#

(read-write) interrupt endpoint control register

uint32_t BUFF_STATUS#

(read-write) Buffer status register. A bit set here indicates that a buffer has completed on the endpoint (if the buffer interrupt is enabled). It is possible for 2 buffers to be completed, so clearing the buffer status bit may instantly re set it on the next clock cycle.

const uint32_t BUFF_CPU_SHOULD_HANDLE = {}#

(read-only) Which of the double buffers should be handled. Only valid if using an interrupt per buffer (i.e. not per 2 buffers). Not valid for host interrupt endpoint polling because they are only single buffered.

uint32_t EP_ABORT#

(read-write) Device only: Can be set to ignore the buffer control register for this endpoint in case you would like to revoke a buffer. A NAK will be sent for every access to the endpoint until this bit is cleared. A corresponding bit in EP_ABORT_DONE is set when it is safe to modify the buffer control register.

uint32_t EP_ABORT_DONE#

(read-write) Device only: Used in conjunction with EP_ABORT. Set once an endpoint is idle so the programmer knows it is safe to modify the buffer control register.

uint32_t EP_STALL_ARM#

(read-write) Device: this bit must be set in conjunction with the STALL bit in the buffer control register to send a STALL on EP0. The device controller clears these bits when a SETUP packet is received because the USB spec requires that a STALL condition is cleared when a SETUP packet is received.

uint32_t NAK_POLL#

(read-write) Used by the host controller. Sets the wait time in microseconds before trying again if the device replies with a NAK.

uint32_t EP_STATUS_STALL_NAK#

(read-write) Device: bits are set when the IRQ_ON_NAK or IRQ_ON_STALL bits are set. For EP0 this comes from SIE_CTRL. For all other endpoints it comes from the endpoint control register.

uint32_t USB_MUXING#

(read-write) Where to connect the USB controller. Should be to_phy by default.

uint32_t USB_PWR#

(read-write) Overrides for the power signals in the event that the VBUS signals are not hooked up to GPIO. Set the value of the override and then the override enable to switch over to the override value.

uint32_t USBPHY_DIRECT#

(read-write) This register allows for direct control of the USB phy. Use in conjunction with usbphy_direct_override register to enable each override bit.

uint32_t USBPHY_DIRECT_OVERRIDE#

(read-write) Override enable for each control in usbphy_direct

uint32_t USBPHY_TRIM#

(read-write) Used to adjust trim values of USB phy pull down resistors.

const uint32_t reserved_padding0 = {}#
const uint32_t INTR = {}#

(read-only) Raw Interrupts

uint32_t INTE#

(read-write) Interrupt Enable

uint32_t INTF#

(read-write) Interrupt Force

const uint32_t INTS = {}#

(read-only) Interrupt status after masking & forcing

Public Static Attributes

static constexpr std::size_t size = 156#

usbctrl_regs’s size in bytes.