Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pah_comm.h
00001 #pragma once 00002 00003 00004 #include "pah_platform_types.h" 00005 #include "pah_drv_comm.h" 00006 00007 00008 typedef enum { 00009 00010 pah_comm_bus_i2c, 00011 pah_comm_bus_spi, 00012 00013 } pah_comm_bus_e; 00014 00015 00016 void pah_comm_set_drv_comm(const pah_drv_comm_s *drv_comm); 00017 00018 bool pah_comm_write(uint8_t addr, uint8_t data); 00019 bool pah_comm_read(uint8_t addr, uint8_t *data); 00020 bool pah_comm_burst_read(uint8_t addr, uint8_t *data, uint16_t num); 00021 00022 pah_comm_bus_e pah_comm_get_bus_type(void); 00023
Generated on Mon Jul 18 2022 04:14:28 by
1.7.2