Driverlib TINIELITE API

Module: Driverlib (AM13E230X) APIs

Functions

Name

__STATIC_INLINE void

DL_TINIELITE_enablePower(void )
Enables power to the TINIELITE module.

__STATIC_INLINE void

DL_TINIELITE_disablePower(void )
Disables power to the TINIELITE module.

__STATIC_INLINE bool

DL_TINIELITE_isPowerEnabled(void )
Checks if power is enabled for the TINIELITE module.

__STATIC_INLINE void

DL_TINIELITE_reset(void )
Resets the TINIELITE peripheral.

__STATIC_INLINE void

DL_TINIELITE_enableInterrupt(TINIELITE_Regs * tinie, uint32_t interruptMask)
Enables TINIELITE IP-level interrupts.

__STATIC_INLINE void

DL_TINIELITE_disableInterrupt(TINIELITE_Regs * tinie, uint32_t interruptMask)
Disables TINIELITE IP-level interrupts.

__STATIC_INLINE void

DL_TINIELITE_clearInterruptStatus(TINIELITE_Regs * tinie, uint32_t interruptMask)
Clears specified TINIELITE interrupt status flags.

__STATIC_INLINE uint32_t

DL_TINIELITE_getAccRegAddress(const TINIELITE_Regs * tinie)
Gets the address of the TINIELITE accumulator registers.

__STATIC_INLINE uint32_t

DL_TINIELITE_getCtlRegAddress(const TINIELITE_Regs * tinie)
Gets the address of the first TINIELITE control register.

void

DL_TINIELITE_setInstrMem(const TINIELITE_Regs * tinie, uint32_t byteOffset, uint32_t num_words, const uint32_t * src)
Sets the instruction memory of the TINIELITE module.

void

DL_TINIELITE_setParamMem(const TINIELITE_Regs * tinie, uint32_t byteOffset, uint32_t num_words, const uint32_t * src)
Sets the parameter memory of the TINIELITE module.

void

DL_TINIELITE_init(TINIELITE_Regs * tinie)
Initializes the TINIELITE module.

void

DL_TINIELITE_deinit(TINIELITE_Regs * tinie)
De-Initializes the TINIELITE module.

Functions Documentation

function DL_TINIELITE_enablePower

__STATIC_INLINE void DL_TINIELITE_enablePower(
    void 
)

Enables power to the TINIELITE module.

This function enables power to the TINIELITE IP by setting the appropriate power enable bit in the system control register.

function DL_TINIELITE_disablePower

__STATIC_INLINE void DL_TINIELITE_disablePower(
    void 
)

Disables power to the TINIELITE module.

This function disables power to the TINIELITE IP by clearing the appropriate power enable bit in the system control register.

function DL_TINIELITE_isPowerEnabled

__STATIC_INLINE bool DL_TINIELITE_isPowerEnabled(
    void 
)

Checks if power is enabled for the TINIELITE module.

Return: bool Returns true if power is enabled for the TINIELITE module, false otherwise

function DL_TINIELITE_reset

__STATIC_INLINE void DL_TINIELITE_reset(
    void 
)

Resets the TINIELITE peripheral.

This function triggers a reset of the TINIELITE peripheral through the system control module.

function DL_TINIELITE_enableInterrupt

__STATIC_INLINE void DL_TINIELITE_enableInterrupt(
    TINIELITE_Regs * tinie,
    uint32_t interruptMask
)

Enables TINIELITE IP-level interrupts.

Parameters:

  • tinie Pointer to the TINIELITE register structure

  • interruptMask Bit mask of interrupts to enable

function DL_TINIELITE_disableInterrupt

__STATIC_INLINE void DL_TINIELITE_disableInterrupt(
    TINIELITE_Regs * tinie,
    uint32_t interruptMask
)

Disables TINIELITE IP-level interrupts.

Parameters:

  • tinie Pointer to the TINIELITE register structure

  • interruptMask Bit mask of interrupts to disable

function DL_TINIELITE_clearInterruptStatus

__STATIC_INLINE void DL_TINIELITE_clearInterruptStatus(
    TINIELITE_Regs * tinie,
    uint32_t interruptMask
)

Clears specified TINIELITE interrupt status flags.

Parameters:

  • tinie Pointer to the TINIELITE register structure

  • interruptMask Bit mask of interrupt status flags to clear

function DL_TINIELITE_getAccRegAddress

__STATIC_INLINE uint32_t DL_TINIELITE_getAccRegAddress(
    const TINIELITE_Regs * tinie
)

Gets the address of the TINIELITE accumulator registers.

Parameters:

  • tinie Pointer to the TINIELITE register structure

Return: uint32_t Address of the accumulator registers in the IPSPECIFIC block

function DL_TINIELITE_getCtlRegAddress

__STATIC_INLINE uint32_t DL_TINIELITE_getCtlRegAddress(
    const TINIELITE_Regs * tinie
)

Gets the address of the first TINIELITE control register.

Parameters:

  • tinie Pointer to the TINIELITE register structure

Return: uint32_t Address of the first control register in the IPSPECIFIC block

function DL_TINIELITE_setInstrMem

void DL_TINIELITE_setInstrMem(
    const TINIELITE_Regs * tinie,
    uint32_t byteOffset,
    uint32_t num_words,
    const uint32_t * src
)

Sets the instruction memory of the TINIELITE module.

Parameters:

  • tinie Pointer to the TINIELITE register structure

  • byteOffset Byte offset into the instruction memory

  • num_words Number of 32-bit words to write

  • src Pointer to the source data to write to instruction memory

function DL_TINIELITE_setParamMem

void DL_TINIELITE_setParamMem(
    const TINIELITE_Regs * tinie,
    uint32_t byteOffset,
    uint32_t num_words,
    const uint32_t * src
)

Sets the parameter memory of the TINIELITE module.

Parameters:

  • tinie Pointer to the TINIELITE register structure

  • byteOffset Byte offset into the parameter memory

  • num_words Number of 32-bit words to write

  • src Pointer to the source data to write to parameter memory

function DL_TINIELITE_init

void DL_TINIELITE_init(
    TINIELITE_Regs * tinie
)

Initializes the TINIELITE module.

Parameters:

  • tinie Pointer to the TINIELITE register structure

This function performs the initialization sequence for the TINIELITE module, including reset, power enable, and interrupt configuration.

function DL_TINIELITE_deinit

void DL_TINIELITE_deinit(
    TINIELITE_Regs * tinie
)

De-Initializes the TINIELITE module.

Parameters:

  • tinie Pointer to the TINIELITE register structure