Functions | |
void | LDOPWR_unLockConfiguration (uint16_t baseAddress) |
Unlocks the configuration registers and enables write access. More... | |
void | LDOPWR_lockConfiguration (uint16_t baseAddress) |
Locks the configuration registers and disables write access. More... | |
void | LDOPWR_enablePort_U_inputs (uint16_t baseAddress) |
Enables Port U inputs. More... | |
void | LDOPWR_disablePort_U_inputs (uint16_t baseAddress) |
Disables Port U inputs. More... | |
void | LDOPWR_enablePort_U_outputs (uint16_t baseAddress) |
Enables Port U outputs. More... | |
void | LDOPWR_disablePort_U_outputs (uint16_t baseAddress) |
Disables Port U inputs. More... | |
uint8_t | LDOPWR_getPort_U1_inputData (uint16_t baseAddress) |
Returns PU.1 input data. More... | |
uint8_t | LDOPWR_getPort_U0_inputData (uint16_t baseAddress) |
Returns PU.0 input data. More... | |
uint8_t | LDOPWR_getPort_U1_outputData (uint16_t baseAddress) |
Returns PU.1 output data. More... | |
uint8_t | LDOPWR_getPort_U0_outputData (uint16_t baseAddress) |
Returns PU.0 output data. More... | |
void | LDOPWR_setPort_U1_outputData (uint16_t baseAddress, uint8_t value) |
Sets PU.1 output data. More... | |
void | LDOPWR_setPort_U0_outputData (uint16_t baseAddress, uint8_t value) |
Sets PU.0 output data. More... | |
void | LDOPWR_togglePort_U1_outputData (uint16_t baseAddress) |
Toggles PU.1 output data. More... | |
void | LDOPWR_togglePort_U0_outputData (uint16_t baseAddress) |
Toggles PU.0 output data. More... | |
void | LDOPWR_enableInterrupt (uint16_t baseAddress, uint16_t mask) |
Enables LDO-PWR module interrupts. More... | |
void | LDOPWR_disableInterrupt (uint16_t baseAddress, uint16_t mask) |
Disables LDO-PWR module interrupts. More... | |
void | LDOPWR_enable (uint16_t baseAddress) |
Enables LDO-PWR module. More... | |
void | LDOPWR_disable (uint16_t baseAddress) |
Disables LDO-PWR module. More... | |
uint8_t | LDOPWR_getInterruptStatus (uint16_t baseAddress, uint16_t mask) |
Returns the interrupt status of LDO-PWR module interrupts. More... | |
void | LDOPWR_clearInterrupt (uint16_t baseAddress, uint16_t mask) |
Clears the interrupt status of LDO-PWR module interrupts. More... | |
uint8_t | LDOPWR_isLDOInputValid (uint16_t baseAddress) |
Returns if the the LDOI is valid and within bounds. More... | |
void | LDOPWR_enableOverloadAutoOff (uint16_t baseAddress) |
Enables the LDO overload auto-off. More... | |
void | LDOPWR_disableOverloadAutoOff (uint16_t baseAddress) |
Disables the LDO overload auto-off. More... | |
uint8_t | LDOPWR_getOverloadAutoOffStatus (uint16_t baseAddress) |
Returns if the LDOI overload auto-off is enabled or disabled. More... | |
void LDOPWR_clearInterrupt | ( | uint16_t | baseAddress, |
uint16_t | mask | ||
) |
Clears the interrupt status of LDO-PWR module interrupts.
baseAddress | is the base address of the LDOPWR module. |
mask | mask of interrupts to clear the status of Mask value is the logical OR of any of the following:
|
Modified bits of LDOPWRCTL register.
void LDOPWR_disable | ( | uint16_t | baseAddress | ) |
Disables LDO-PWR module.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of LDOPWRCTL register.
void LDOPWR_disableInterrupt | ( | uint16_t | baseAddress, |
uint16_t | mask | ||
) |
Disables LDO-PWR module interrupts.
baseAddress | is the base address of the LDOPWR module. |
mask | mask of interrupts to disable Mask value is the logical OR of any of the following:
|
Modified bits of LDOPWRCTL register.
void LDOPWR_disableOverloadAutoOff | ( | uint16_t | baseAddress | ) |
Disables the LDO overload auto-off.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of LDOPWRCTL register.
void LDOPWR_disablePort_U_inputs | ( | uint16_t | baseAddress | ) |
Disables Port U inputs.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of PUCTL register.
void LDOPWR_disablePort_U_outputs | ( | uint16_t | baseAddress | ) |
Disables Port U inputs.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of PUCTL register.
void LDOPWR_enable | ( | uint16_t | baseAddress | ) |
Enables LDO-PWR module.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of LDOPWRCTL register.
void LDOPWR_enableInterrupt | ( | uint16_t | baseAddress, |
uint16_t | mask | ||
) |
Enables LDO-PWR module interrupts.
Does not clear interrupt flags.
baseAddress | is the base address of the LDOPWR module. |
mask | mask of interrupts to enable Mask value is the logical OR of any of the following:
|
Modified bits of LDOPWRCTL register.
void LDOPWR_enableOverloadAutoOff | ( | uint16_t | baseAddress | ) |
Enables the LDO overload auto-off.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of LDOPWRCTL register.
void LDOPWR_enablePort_U_inputs | ( | uint16_t | baseAddress | ) |
Enables Port U inputs.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of PUCTL register.
void LDOPWR_enablePort_U_outputs | ( | uint16_t | baseAddress | ) |
Enables Port U outputs.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of PUCTL register.
uint8_t LDOPWR_getInterruptStatus | ( | uint16_t | baseAddress, |
uint16_t | mask | ||
) |
Returns the interrupt status of LDO-PWR module interrupts.
baseAddress | is the base address of the LDOPWR module. |
mask | mask of interrupts to get the status of Mask value is the logical OR of any of the following:
|
uint8_t LDOPWR_getOverloadAutoOffStatus | ( | uint16_t | baseAddress | ) |
Returns if the LDOI overload auto-off is enabled or disabled.
baseAddress | is the base address of the LDOPWR module. |
uint8_t LDOPWR_getPort_U0_inputData | ( | uint16_t | baseAddress | ) |
Returns PU.0 input data.
baseAddress | is the base address of the LDOPWR module. |
uint8_t LDOPWR_getPort_U0_outputData | ( | uint16_t | baseAddress | ) |
Returns PU.0 output data.
baseAddress | is the base address of the LDOPWR module. |
uint8_t LDOPWR_getPort_U1_inputData | ( | uint16_t | baseAddress | ) |
Returns PU.1 input data.
baseAddress | is the base address of the LDOPWR module. |
uint8_t LDOPWR_getPort_U1_outputData | ( | uint16_t | baseAddress | ) |
Returns PU.1 output data.
baseAddress | is the base address of the LDOPWR module. |
uint8_t LDOPWR_isLDOInputValid | ( | uint16_t | baseAddress | ) |
Returns if the the LDOI is valid and within bounds.
baseAddress | is the base address of the LDOPWR module. |
void LDOPWR_lockConfiguration | ( | uint16_t | baseAddress | ) |
Locks the configuration registers and disables write access.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of LDOKEYPID register.
void LDOPWR_setPort_U0_outputData | ( | uint16_t | baseAddress, |
uint8_t | value | ||
) |
Sets PU.0 output data.
baseAddress | is the base address of the LDOPWR module. |
value | Valid values are:
|
Modified bits of PUCTL register.
void LDOPWR_setPort_U1_outputData | ( | uint16_t | baseAddress, |
uint8_t | value | ||
) |
Sets PU.1 output data.
baseAddress | is the base address of the LDOPWR module. |
value | Valid values are:
|
Modified bits of PUCTL register.
void LDOPWR_togglePort_U0_outputData | ( | uint16_t | baseAddress | ) |
Toggles PU.0 output data.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of PUCTL register.
void LDOPWR_togglePort_U1_outputData | ( | uint16_t | baseAddress | ) |
Toggles PU.1 output data.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of PUCTL register.
void LDOPWR_unLockConfiguration | ( | uint16_t | baseAddress | ) |
Unlocks the configuration registers and enables write access.
baseAddress | is the base address of the LDOPWR module. |
Modified bits of LDOKEYPID register.