![]() |
![]() |
|
MSPM33C321A Driver Library
1.02.00.00
|
Enumerations | |
| enum | DL_UNICOMM_IP_MODE_SEL { DL_UNICOMM_UART = UNICOMM_IPMODE_SELECT_UART, DL_UNICOMM_SPI = UNICOMM_IPMODE_SELECT_SPI, DL_UNICOMM_I2C_CONTROLLER = UNICOMM_IPMODE_SELECT_I2C_CONTROLLER, DL_UNICOMM_I2C_TARGET = UNICOMM_IPMODE_SELECT_I2C_PERIPHERAL } |
Functions | |
| __STATIC_INLINE void | DL_UNICOMM_enablePower (UNICOMM_Inst_Regs *unicomm) |
| Enables power on unicomm module. More... | |
| __STATIC_INLINE void | DL_UNICOMM_disablePower (UNICOMM_Inst_Regs *unicomm) |
| Disables power on unicomm module. More... | |
| __STATIC_INLINE bool | DL_UNICOMM_isPowerEnabled (UNICOMM_Inst_Regs *unicomm) |
| Returns if power on unicomm module. More... | |
| __STATIC_INLINE void | DL_UNICOMM_reset (UNICOMM_Inst_Regs *unicomm) |
| Resets unicomm peripheral. More... | |
| __STATIC_INLINE bool | DL_UNICOMM_isReset (UNICOMM_Inst_Regs *unicomm) |
| Returns if unicomm peripheral was reset. More... | |
| __STATIC_INLINE void | DL_UNICOMM_setIPMode (UNICOMM_Inst_Regs *unicomm, DL_UNICOMM_IP_MODE_SEL ipMode) |
| Configure the unicomm peripheral for specified ip mode. More... | |
| __STATIC_INLINE DL_UNICOMM_IP_MODE_SEL | DL_UNICOMM_getIPMode (UNICOMM_Inst_Regs *unicomm) |
| Returns ip mode the unicomm peripheral is configured to. More... | |
The Unified Communication Module (UNICOMM) Driver Library allows full configuration of the UNICOMM module. UNICOMM is a highly flexible peripheral which can be configured as a UART, SPI, I2C Controller, or I2C Target function.
| __STATIC_INLINE void DL_UNICOMM_enablePower | ( | UNICOMM_Inst_Regs * | unicomm | ) |
Enables power on unicomm module.
| unicomm | Pointer to the register overlay for the peripheral |
Referenced by DL_I2CC_enablePower(), DL_I2CT_enablePower(), DL_SPI_enablePower(), and DL_UART_enablePower().
| __STATIC_INLINE void DL_UNICOMM_disablePower | ( | UNICOMM_Inst_Regs * | unicomm | ) |
Disables power on unicomm module.
| unicomm | Pointer to the register overlay for the peripheral |
Referenced by DL_I2CC_disablePower(), DL_I2CT_disablePower(), DL_SPI_disablePower(), and DL_UART_disablePower().
| __STATIC_INLINE bool DL_UNICOMM_isPowerEnabled | ( | UNICOMM_Inst_Regs * | unicomm | ) |
Returns if power on unicomm module.
| unicomm | Pointer to the register overlay for the peripheral |
Referenced by DL_I2CC_enablePower(), DL_I2CC_isPowerEnabled(), DL_I2CT_enablePower(), DL_I2CT_isPowerEnabled(), DL_SPI_enablePower(), DL_SPI_isPowerEnabled(), DL_UART_enablePower(), and DL_UART_isPowerEnabled().
| __STATIC_INLINE void DL_UNICOMM_reset | ( | UNICOMM_Inst_Regs * | unicomm | ) |
Resets unicomm peripheral.
| unicomm | Pointer to the register overlay for the UNICOMM peripheral |
Referenced by DL_I2CC_reset(), DL_I2CT_reset(), DL_SPI_reset(), and DL_UART_reset().
| __STATIC_INLINE bool DL_UNICOMM_isReset | ( | UNICOMM_Inst_Regs * | unicomm | ) |
Returns if unicomm peripheral was reset.
| unicomm | Pointer to the register overlay for the UNICOMM peripheral |
Referenced by DL_I2CC_isReset(), DL_I2CT_isReset(), DL_SPI_isReset(), and DL_UART_isReset().
| __STATIC_INLINE void DL_UNICOMM_setIPMode | ( | UNICOMM_Inst_Regs * | unicomm, |
| DL_UNICOMM_IP_MODE_SEL | ipMode | ||
| ) |
Configure the unicomm peripheral for specified ip mode.
| unicomm | Pointer to the register overlay for the UNICOMM peripheral |
| ipMode | Specifies IP mode functionality. One of DL_UNICOMM_IP_MODE_SEL |
Referenced by DL_I2CC_enablePower(), DL_I2CT_enablePower(), DL_SPI_enablePower(), and DL_UART_enablePower().
| __STATIC_INLINE DL_UNICOMM_IP_MODE_SEL DL_UNICOMM_getIPMode | ( | UNICOMM_Inst_Regs * | unicomm | ) |
Returns ip mode the unicomm peripheral is configured to.
| unicomm | Pointer to the register overlay for the UNICOMM peripheral |
| One | of DL_UNICOMM_IP_MODE_SEL |