MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
simo.h
1 
6 /* ****************************************************************************
7  * Copyright (C) 2017 Maxim Integrated Products, Inc., All Rights Reserved.
8  *
9  * Permission is hereby granted, free of charge, to any person obtaining a
10  * copy of this software and associated documentation files (the "Software"),
11  * to deal in the Software without restriction, including without limitation
12  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13  * and/or sell copies of the Software, and to permit persons to whom the
14  * Software is furnished to do so, subject to the following conditions:
15  *
16  * The above copyright notice and this permission notice shall be included
17  * in all copies or substantial portions of the Software.
18  *
19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22  * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
23  * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25  * OTHER DEALINGS IN THE SOFTWARE.
26  *
27  * Except as contained in this notice, the name of Maxim Integrated
28  * Products, Inc. shall not be used except as stated in the Maxim Integrated
29  * Products, Inc. Branding Policy.
30  *
31  * The mere transfer of this software does not imply any licenses
32  * of trade secrets, proprietary technology, copyrights, patents,
33  * trademarks, maskwork rights, or any other form of intellectual
34  * property whatsoever. Maxim Integrated Products, Inc. retains all
35  * ownership rights.
36  *
37  * $Date: 2018-08-28 17:03:02 -0500 (Tue, 28 Aug 2018) $
38  * $Revision: 37424 $
39  *
40  *************************************************************************** */
41 
42 /* Define to prevent redundant inclusion */
43 #ifndef _SIMO_H_
44 #define _SIMO_H_
45 
46 /* **** Includes **** */
47 #include "mxc_device.h"
48 #include "simo_regs.h"
49 
50 #ifdef __cplusplus
51 extern "C" {
52 #endif
53 
54 /* **** Definitions **** */
55 #define VREGO_LOW_RANGE_BASE 500
56 #define VREGO_HIGH_RANGE_BASE 600
57 
58 /* **** Function Prototypes **** */
59 void MXC_SIMO_SetVregO_A(uint32_t voltage);
60 void MXC_SIMO_SetVregO_B(uint32_t voltage);
61 void MXC_SIMO_SetVregO_C(uint32_t voltage);
62 void MXC_SIMO_SetVregO_D(uint32_t voltage);
63 
64 uint32_t MXC_SIMO_GetOutReadyA(void);
65 uint32_t MXC_SIMO_GetOutReadyB(void);
66 uint32_t MXC_SIMO_GetOutReadyC(void);
67 uint32_t MXC_SIMO_GetOutReadyD(void);
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif /* _SIMO_H_ */