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.
pal.h
00001 /** 00002 ******************************************************************************** 00003 * 00004 * @file: pal.h 00005 * 00006 * @brief: This file contains the pal header files & functions. 00007 * 00008 * @details: 00009 * 00010 ******************************************************************************* 00011 Copyright(c) 2020 Analog Devices, Inc. All Rights Reserved. This software is 00012 proprietary & confidential to Analog Devices, Inc. and its licensors. By using 00013 this software you agree to the terms of the associated Analog Devices License 00014 Agreement. 00015 ******************************************************************************* 00016 */ 00017 00018 /*! \addtogroup Platform_Abstracion_Layer 00019 * @{ 00020 */ 00021 00022 #ifndef __PAL_H 00023 #define __PAL_H 00024 00025 /*============= I N C L U D E S =============*/ 00026 /*============== D E F I N E S ===============*/ 00027 /*============= E X T E R N A L S ============*/ 00028 /*============= E N U M E R A T O R S ============*/ 00029 00030 #include "common.h" 00031 #include "application.h" 00032 00033 void Delay_ms(uint32_t delay); 00034 void adBmsCsLow(void); 00035 void adBmsCsHigh(void); 00036 void spiWriteBytes(uint8_t *tx_data, uint16_t size); 00037 void spiWriteReadBytes(uint8_t *tx_data, uint8_t *rx_data, uint16_t size); 00038 void spiReadBytes(uint8_t *rx_data, uint16_t size); 00039 void startTimer(); 00040 void stopTimer(); 00041 uint32_t getTimCount(); 00042 void adBmsWakeupIc(uint8_t total_ic); 00043 00044 #endif /*__PAL_H */ 00045 00046 /** @}*/
Generated on Tue Jul 12 2022 17:54:36 by
