7 #ifndef __MSP430WARE_LDOPWR_H__ 8 #define __MSP430WARE_LDOPWR_H__ 10 #include "inc/hw_memmap.h" 12 #ifdef __MSP430_HAS_PU__ 35 #define LDOPWR_PORTU_PIN_HIGH PUOUT0 36 #define LDOPWR_PORTU_PIN_LOW 0x00 44 #define LDOPWR_LDO_INPUT_VALID LDOBGVBV 45 #define LDOPWR_LDO_INPUT_INVALID 0x00 53 #define LDOPWR_AUTOOFF_ENABLED OVLAOFF_H 54 #define LDOPWR_AUTOOFF_DISABLED 0x00 64 #define LDOPWR_LDOI_VOLTAGE_GOING_OFF_INTERRUPT LDOOFFIE_H 65 #define LDOPWR_LDOI_VOLTAGE_COMING_ON_INTERRUPT LDOONIE_H 66 #define LDOPWR_LDO_OVERLOAD_INDICATION_INTERRUPT LDOOVLIE_H 434 #endif // __MSP430WARE_LDOPWR_H__ void LDOPWR_disablePort_U_inputs(uint16_t baseAddress)
Disables Port U inputs.
Definition: ldopwr.c:36
void LDOPWR_setPort_U0_outputData(uint16_t baseAddress, uint8_t value)
Sets PU.0 output data.
Definition: ldopwr.c:82
void LDOPWR_enableOverloadAutoOff(uint16_t baseAddress)
Enables the LDO overload auto-off.
Definition: ldopwr.c:146
void LDOPWR_togglePort_U1_outputData(uint16_t baseAddress)
Toggles PU.1 output data.
Definition: ldopwr.c:93
void LDOPWR_lockConfiguration(uint16_t baseAddress)
Locks the configuration registers and disables write access.
Definition: ldopwr.c:26
uint8_t LDOPWR_getPort_U1_outputData(uint16_t baseAddress)
Returns PU.1 output data.
Definition: ldopwr.c:61
uint8_t LDOPWR_getInterruptStatus(uint16_t baseAddress, uint16_t mask)
Returns the interrupt status of LDO-PWR module interrupts.
Definition: ldopwr.c:127
void LDOPWR_disableOverloadAutoOff(uint16_t baseAddress)
Disables the LDO overload auto-off.
Definition: ldopwr.c:151
void LDOPWR_enablePort_U_inputs(uint16_t baseAddress)
Enables Port U inputs.
Definition: ldopwr.c:31
void LDOPWR_togglePort_U0_outputData(uint16_t baseAddress)
Toggles PU.0 output data.
Definition: ldopwr.c:98
uint8_t LDOPWR_getPort_U0_inputData(uint16_t baseAddress)
Returns PU.0 input data.
Definition: ldopwr.c:56
void LDOPWR_setPort_U1_outputData(uint16_t baseAddress, uint8_t value)
Sets PU.1 output data.
Definition: ldopwr.c:71
void LDOPWR_disable(uint16_t baseAddress)
Disables LDO-PWR module.
Definition: ldopwr.c:122
void LDOPWR_enableInterrupt(uint16_t baseAddress, uint16_t mask)
Enables LDO-PWR module interrupts.
Definition: ldopwr.c:103
uint8_t LDOPWR_getOverloadAutoOffStatus(uint16_t baseAddress)
Returns if the LDOI overload auto-off is enabled or disabled.
Definition: ldopwr.c:156
uint8_t LDOPWR_isLDOInputValid(uint16_t baseAddress)
Returns if the the LDOI is valid and within bounds.
Definition: ldopwr.c:141
void LDOPWR_enable(uint16_t baseAddress)
Enables LDO-PWR module.
Definition: ldopwr.c:117
uint8_t LDOPWR_getPort_U1_inputData(uint16_t baseAddress)
Returns PU.1 input data.
Definition: ldopwr.c:51
void LDOPWR_disableInterrupt(uint16_t baseAddress, uint16_t mask)
Disables LDO-PWR module interrupts.
Definition: ldopwr.c:110
void LDOPWR_unLockConfiguration(uint16_t baseAddress)
Unlocks the configuration registers and enables write access.
Definition: ldopwr.c:21
void LDOPWR_disablePort_U_outputs(uint16_t baseAddress)
Disables Port U inputs.
Definition: ldopwr.c:46
void LDOPWR_clearInterrupt(uint16_t baseAddress, uint16_t mask)
Clears the interrupt status of LDO-PWR module interrupts.
Definition: ldopwr.c:134
uint8_t LDOPWR_getPort_U0_outputData(uint16_t baseAddress)
Returns PU.0 output data.
Definition: ldopwr.c:66
void LDOPWR_enablePort_U_outputs(uint16_t baseAddress)
Enables Port U outputs.
Definition: ldopwr.c:41