diff options
| author | hathach <[email protected]> | 2018-03-02 22:50:59 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-02 22:50:59 +0700 |
| commit | 9208570d3a40131713995856743aa233f01ebda1 (patch) | |
| tree | 9d4802878f628f48748076a2f067f882220edf23 /hw | |
| parent | 33d348c288514bb2c949944e06cf45fc6751929f (diff) | |
rename dcd_controller_* to hal_dcd_*
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c index 93ec04d91..6a5117c30 100644 --- a/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c +++ b/hw/mcu/nxp/lpc43xx/tusb_port/dcd_lpc43xx.c @@ -184,17 +184,17 @@ static dcd_data_t* const dcd_data_ptr[2] = { &dcd_data0, &dcd_data1 }; //--------------------------------------------------------------------+
// CONTROLLER API
//--------------------------------------------------------------------+
-void dcd_controller_connect(uint8_t coreid)
+void hal_dcd_connect(uint8_t coreid)
{
LPC_USB[coreid]->USBCMD_D |= BIT_(0);
}
-void dcd_controller_set_address(uint8_t coreid, uint8_t dev_addr)
+void hal_dcd_set_address(uint8_t coreid, uint8_t dev_addr)
{
LPC_USB[coreid]->DEVICEADDR = (dev_addr << 25) | BIT_(24);
}
-void dcd_controller_set_configuration(uint8_t coreid)
+void hal_dcd_set_config(uint8_t coreid)
{
}
|
