| /external/platform/pico/rp2_common/hardware_i2c/ |
| A D | i2c.c | 37 i2c->hw->enable = 0; in i2c_init() 40 i2c->hw->con = in i2c_init() 48 i2c->hw->tx_tl = 0; in i2c_init() 49 i2c->hw->rx_tl = 0; in i2c_init() 95 i2c->hw->enable = 0; in i2c_set_baudrate() 108 i2c->hw->enable = 1; in i2c_set_baudrate() 115 i2c->hw->enable = 0; in i2c_set_slave_mode() 130 i2c->hw->enable = 1; in i2c_set_slave_mode() 142 i2c->hw->enable = 0; in i2c_write_blocking_internal() 143 i2c->hw->tar = addr; in i2c_write_blocking_internal() [all …]
|
| /external/platform/pico/rp2_common/pico_i2c_slave/ |
| A D | i2c_slave.c | 22 i2c_hw_t *hw = i2c_get_hw(i2c); in __not_in_flash_func() local 24 uint32_t intr_stat = hw->intr_stat; in __not_in_flash_func() 30 hw->clr_tx_abrt; in __not_in_flash_func() 34 hw->clr_start_det; in __not_in_flash_func() 38 hw->clr_stop_det; in __not_in_flash_func() 50 hw->clr_rd_req; in __not_in_flash_func() 69 i2c_hw_t *hw = i2c_get_hw(i2c); in i2c_slave_init() local 71 hw->intr_mask = in i2c_slave_init() 95 i2c_hw_t *hw = i2c_get_hw(i2c); in i2c_slave_deinit() local 96 hw->intr_mask = I2C_IC_INTR_MASK_RESET; in i2c_slave_deinit()
|
| /external/platform/pico/rp2_common/hardware_i2c/include/hardware/ |
| A D | i2c.h | 136 i2c_hw_t *hw; member 153 return i2c->hw; in i2c_get_hw() 331 i2c_hw_t *hw = i2c_get_hw(i2c); in i2c_read_byte_raw() local 332 assert(hw->status & I2C_IC_STATUS_RFNE_BITS); // Rx FIFO must not be empty in i2c_read_byte_raw() 333 return (uint8_t)hw->data_cmd; in i2c_read_byte_raw() 346 i2c_hw_t *hw = i2c_get_hw(i2c); in i2c_write_byte_raw() local 347 assert(hw->status & I2C_IC_STATUS_TFNF_BITS); // Tx FIFO must not be full in i2c_write_byte_raw() 348 hw->data_cmd = value; in i2c_write_byte_raw()
|
| /external/platform/lpc15xx/lpcopen/usbd_rom_cdc_uart/example/src/ |
| A D | cdc_main.c | 63 USBD_API->hw->ISR(g_hUsb); in USB_IRQHandler() 140 ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); in main() 151 USBD_API->hw->Connect(g_hUsb, 1); in main()
|
| A D | cdc_uart.c | 168 …count = USBD_API->hw->WriteEP(pUcom->hUsb, USB_CDC_IN_EP, &pUcom->rxBuf[g_uCOM.rxBuf_usbIndex], co… in UCOM_bulk_hdlr() 179 pUcom->txBuf_count = USBD_API->hw->ReadEP(hUsb, USB_CDC_OUT_EP, pUcom->txBuf); in UCOM_bulk_hdlr() 277 g_uCOM.txBuf_count = USBD_API->hw->ReadEP(g_uCOM.hUsb, USB_CDC_OUT_EP, g_uCOM.txBuf); in LPC_UARTHNDLR() 297 …count = USBD_API->hw->WriteEP(g_uCOM.hUsb, USB_CDC_IN_EP, &g_uCOM.rxBuf[g_uCOM.rxBuf_usbIndex], co… in LPC_UARTHNDLR()
|
| /external/platform/lpc15xx/lpcopen/usbd_rom_hid_keyboard/example/src/ |
| A D | hid_main.c | 64 USBD_API->hw->ISR(g_hUsb); in USB_IRQHandler() 145 ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); in main() 155 USBD_API->hw->Connect(g_hUsb, 1); in main()
|
| A D | hid_keyboard.c | 221 USBD_API->hw->WriteEP(g_keyBoard.hUsb, HID_EP_IN, &g_keyBoard.report[0], KEYBOARD_REPORT_SIZE); in Keyboard_Tasks()
|
| /external/platform/lpc15xx/lpcopen/usbd_rom_hid_mouse/example/src/ |
| A D | hid_main.c | 64 USBD_API->hw->ISR(g_hUsb); in USB_IRQHandler() 142 ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); in main() 152 USBD_API->hw->Connect(g_hUsb, 1); in main()
|
| A D | hid_mouse.c | 218 USBD_API->hw->WriteEP(g_mouse.hUsb, HID_EP_IN, &g_mouse.report[0], MOUSE_REPORT_SIZE); in Mouse_Tasks()
|
| /external/platform/lpc15xx/lpcopen/usbd_rom_hid_generic/example/src/ |
| A D | hid_main.c | 63 USBD_API->hw->ISR(g_hUsb); in USB_IRQHandler() 141 ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); in main() 152 USBD_API->hw->Connect(g_hUsb, 1); in main()
|
| A D | hid_generic.c | 108 USBD_API->hw->ReadEP(hUsb, pHidCtrl->epout_adr, loopback_report); in HID_Ep_Hdlr() 110 USBD_API->hw->WriteEP(hUsb, pHidCtrl->epin_adr, loopback_report, 1); in HID_Ep_Hdlr()
|
| /external/platform/lpc15xx/lpcopen/usbd_rom_cdc/example/src/ |
| A D | cdc_main.c | 64 USBD_API->hw->ISR(g_hUsb); in USB_IRQHandler() 142 ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); in main() 151 USBD_API->hw->Connect(g_hUsb, 1); in main()
|
| A D | cdc_vcom.c | 71 pVcom->rx_count = USBD_API->hw->ReadEP(hUsb, USB_CDC_OUT_EP, pVcom->rx_buff); in VCOM_bulk_out_hdlr() 88 USBD_API->hw->ReadReqEP(hUsb, USB_CDC_OUT_EP, pVcom->rx_buff, VCOM_RX_BUF_SZ); in VCOM_bulk_out_hdlr() 191 USBD_API->hw->ReadReqEP(pVcom->hUsb, USB_CDC_OUT_EP, pBuf, len); in vcom_read_req() 224 ret = USBD_API->hw->WriteEP(pVcom->hUsb, USB_CDC_IN_EP, pBuf, len); in vcom_write()
|
| /external/platform/lpc15xx/lpcopen/usbd_rom_composite/example/src/ |
| A D | composite_main.c | 65 USBD_API->hw->ISR(g_hUsb); in USB_IRQHandler() 144 ret = USBD_API->hw->Init(&g_hUsb, &desc, &usb_param); in main() 158 USBD_API->hw->Connect(g_hUsb, 1); in main()
|
| A D | cdc_vcom.c | 71 pVcom->rx_count = USBD_API->hw->ReadEP(hUsb, USB_CDC_OUT_EP, pVcom->rx_buff); in VCOM_bulk_out_hdlr() 88 USBD_API->hw->ReadReqEP(hUsb, USB_CDC_OUT_EP, pVcom->rx_buff, VCOM_RX_BUF_SZ); in VCOM_bulk_out_hdlr() 191 USBD_API->hw->ReadReqEP(pVcom->hUsb, USB_CDC_OUT_EP, pBuf, len); in vcom_read_req() 224 ret = USBD_API->hw->WriteEP(pVcom->hUsb, USB_CDC_IN_EP, pBuf, len); in vcom_write()
|
| A D | hid_mouse.c | 219 USBD_API->hw->WriteEP(g_mouse.hUsb, HID_EP_IN, &g_mouse.report[0], MOUSE_REPORT_SIZE); in Mouse_Tasks()
|
| /external/platform/pico/rp2_common/hardware_dma/include/hardware/ |
| A D | dma.h | 457 dma_channel_hw_t *hw = dma_channel_hw_addr(channel); in dma_channel_transfer_from_buffer_now() local 458 hw->read_addr = (uintptr_t) read_addr; in dma_channel_transfer_from_buffer_now() 459 hw->al1_transfer_count_trig = transfer_count; in dma_channel_transfer_from_buffer_now() 470 dma_channel_hw_t *hw = dma_channel_hw_addr(channel); in dma_channel_transfer_to_buffer_now() local 471 hw->write_addr = (uintptr_t) write_addr; in dma_channel_transfer_to_buffer_now() 472 hw->al1_transfer_count_trig = transfer_count; in dma_channel_transfer_to_buffer_now()
|
| /external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/usbd/ |
| A D | usbd_rom_api.h | 53 const USBD_HW_API_T* hw; /**< Pointer to function table which exposes functions member
|