- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# USB Pads Regulator drivers
[USB low level drivers module]

Collaboration diagram for USB Pads Regulator drivers:

Turns ON/OFF USB pads regulator. More...

## Defines
#define | Usb_enable_regulator() (REGCR &= ~(1<<REGDIS))
| Enable internal USB pads regulator.
#define | Usb_disable_regulator() (REGCR |= (1<<REGDIS))
| Disable internal USB pads regulator.
#define | Is_usb_regulator_enabled() ((REGCR & (1<<REGDIS)) ? FALSE : TRUE)
| Check regulator enable bit.

## Detailed Description

Turns ON/OFF USB pads regulator.

## Define Documentation

#define Usb_enable_regulator | ( |  | ) | (REGCR &= ~(1<<REGDIS))

Enable internal USB pads regulator.

Definition at line 151 of file usb_drv.h.

Referenced by main(), and usb_task_init().

#define Usb_disable_regulator | ( |  | ) | (REGCR |= (1<<REGDIS))

Disable internal USB pads regulator.

Definition at line 153 of file usb_drv.h.

#define Is_usb_regulator_enabled | ( |  | ) | ((REGCR & (1<<REGDIS)) ? FALSE : TRUE)

Check regulator enable bit.

Definition at line 155 of file usb_drv.h.