Further clean up bus_pal_hardware.h

This commit is contained in:
László Monda
2017-04-12 23:25:49 +02:00
parent 3b1053f6eb
commit cdde508bb0
2 changed files with 2 additions and 9 deletions

View File

@@ -53,7 +53,6 @@ usb_status_t usb_device_callback(usb_device_handle handle, uint32_t event, void
extern usb_status_t usb_device_msc_callback(class_handle_t handle, uint32_t event, void *param);
//! @brief Variable for i2c host configuration information
static i2c_user_config_t s_i2cUserConfig = {.slaveAddress = 0x10, //!< The slave's 7-bit address
.baudRate_kbps = 100 };

View File

@@ -21,13 +21,7 @@ status_t send_i2c_data(uint8_t *src, uint32_t writeLength);
status_t receive_i2c_data(uint8_t *dest, uint32_t readLength);
bool usb_hid_poll_for_activity(const peripheral_descriptor_t *self);
status_t usb_hid_packet_init(const peripheral_descriptor_t *self);
status_t usb_hid_packet_read(const peripheral_descriptor_t *self,
uint8_t **packet,
uint32_t *packetLength,
packet_type_t packetType);
status_t usb_hid_packet_write(const peripheral_descriptor_t *self,
const uint8_t *packet,
uint32_t byteCount,
packet_type_t packetType);
status_t usb_hid_packet_read(const peripheral_descriptor_t *self, uint8_t **packet, uint32_t *packetLength, packet_type_t packetType);
status_t usb_hid_packet_write(const peripheral_descriptor_t *self, const uint8_t *packet, uint32_t byteCount,packet_type_t packetType);
#endif