Vybhav Kadaba
/
EV-PRO-MW1001_Development_code_cleaup
Removed unwanted enums and unused functions
Revision 64:d89d9728ba95, committed 2020-04-09
- Comitter:
- Vkadaba
- Date:
- Thu Apr 09 12:39:43 2020 +0000
- Parent:
- 63:6d048b2f3f32
- Commit message:
- code clean up part-2
Changed in this revision
inc/admw1001/admw1001_api.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6d048b2f3f32 -r d89d9728ba95 inc/admw1001/admw1001_api.h --- a/inc/admw1001/admw1001_api.h Thu Apr 09 12:01:25 2020 +0000 +++ b/inc/admw1001/admw1001_api.h Thu Apr 09 12:39:43 2020 +0000 @@ -78,28 +78,7 @@ * @note Reads from special "keyhole" or "FIFO" registers will be handled * according to documentation for those registers. */ -ADMW_RESULT admw1001_ReadRegister( - ADMW_DEVICE_HANDLE const hDevice, - uint16_t const nAddress, - void *const pData, - unsigned const nLength); -/*! - * @brief Read one or more device registers at the specified debug register address. - * - * @param[in] hDevice ADMW1001 device context handle - * @param[in] nAddress Register map address to read from - * @param[out] pData Pointer to return the register map data - * @param[in] nLength Number of bytes of data to read from the register map - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @details Provides direct byte-level read access to the device register map. - * The size and format of the register(s) must be known. - * - * @note Reads from special "keyhole" or "FIFO" registers will be handled - * according to documentation for those registers. - */ + ADMW_RESULT admw1001_Read_Debug_Register( ADMW_DEVICE_HANDLE const hDevice, uint16_t const nAddress, @@ -130,26 +109,6 @@ void *const pData, unsigned const nLength); -/*! - * @brief Write one or more device registers at the specified debug register address. - * - * @param[in] hDevice ADMW1001 device context handle - * @param[in] nAddress Register map address to read from - * @param[out] pData Pointer to return the register map data - * @param[in] nLength Number of bytes of data to read from the register map - * - * @return Status - * - #ADMW_SUCCESS Call completed successfully. - * - * @details Provides direct byte-level write access to the device register map. - * The size and format of the register(s) must be known. - * - */ -ADMW_RESULT admw1001_Write_Debug_Register( - ADMW_DEVICE_HANDLE const hDevice, - uint16_t const nAddress, - void *const pData, - unsigned const nLength); /* * @brief Update power configuration settings on the device. *