![]()  | 
  
    MCUXpresso SDK API Reference Manual
    Rev 2.16.000
    
   NXP Semiconductors 
   | 
 
Data Structures | |
| struct | _ltc_edma_handle | 
| LTC eDMA handle.  More... | |
Typedefs | |
| typedef void(* | ltc_edma_callback_t )(LTC_Type *base, ltc_edma_handle_t *handle, status_t status, void *userData) | 
| LTC eDMA callback function.  More... | |
| typedef status_t(* | ltc_edma_state_machine_t )(LTC_Type *base, ltc_edma_handle_t *handle) | 
| LTC eDMA state machine function.  More... | |
Functions | |
| void | LTC_CreateHandleEDMA (LTC_Type *base, ltc_edma_handle_t *handle, ltc_edma_callback_t callback, void *userData, edma_handle_t *inputFifoEdmaHandle, edma_handle_t *outputFifoEdmaHandle) | 
| Init the LTC eDMA handle which is used in transactional functions.  More... | |
Driver version | |
| #define | FSL_LTC_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 0, 15)) | 
| LTC EDMA driver version.  More... | |
| struct _ltc_edma_handle | 
It is defined only for private usage inside LTC eDMA driver.
Data Fields | |
| ltc_edma_callback_t | callback | 
| Callback function.  More... | |
| void * | userData | 
| LTC callback function parameter.  More... | |
| edma_handle_t * | inputFifoEdmaHandle | 
| The eDMA TX channel used.  More... | |
| edma_handle_t * | outputFifoEdmaHandle | 
| The eDMA RX channel used.  More... | |
| ltc_edma_state_machine_t | state_machine | 
| State machine.  More... | |
| uint32_t | state | 
| Internal state.  More... | |
| const uint8_t * | inData | 
| Input data.  More... | |
| uint8_t * | outData | 
| Output data.  More... | |
| uint32_t | size | 
| Size of input and output data in bytes.  More... | |
| uint32_t | modeReg | 
| LTC mode register.  More... | |
| uint8_t * | counter | 
| Input counter (updates on return)  | |
| const uint8_t * | key | 
| Input key to use for forward AES cipher.  | |
| uint32_t | keySize | 
| Size of the input key, in bytes.  More... | |
| uint8_t * | counterlast | 
| Output cipher of last counter, for chained CTR calls.  More... | |
| uint32_t * | szLeft | 
| Output number of bytes in left unused in counterlast block.  More... | |
| uint32_t | lastSize | 
| Last size.  More... | |
| ltc_edma_callback_t _ltc_edma_handle::callback | 
| void* _ltc_edma_handle::userData | 
| edma_handle_t* _ltc_edma_handle::inputFifoEdmaHandle | 
| edma_handle_t* _ltc_edma_handle::outputFifoEdmaHandle | 
| ltc_edma_state_machine_t _ltc_edma_handle::state_machine | 
| uint32_t _ltc_edma_handle::state | 
| const uint8_t* _ltc_edma_handle::inData | 
| uint8_t* _ltc_edma_handle::outData | 
| uint32_t _ltc_edma_handle::size | 
| uint32_t _ltc_edma_handle::modeReg | 
| uint32_t _ltc_edma_handle::keySize | 
Must be 16, 24, or 32.
| uint8_t* _ltc_edma_handle::counterlast | 
NULL can be passed if chained calls are not used.
| uint32_t* _ltc_edma_handle::szLeft | 
NULL can be passed if chained calls are not used.
| uint32_t _ltc_edma_handle::lastSize | 
| #define FSL_LTC_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 0, 15)) | 
Version 2.0.15.
| typedef void(* ltc_edma_callback_t)(LTC_Type *base, ltc_edma_handle_t *handle, status_t status, void *userData) | 
| typedef status_t(* ltc_edma_state_machine_t)(LTC_Type *base, ltc_edma_handle_t *handle) | 
It is defined only for private usage inside LTC eDMA driver.
| void LTC_CreateHandleEDMA | ( | LTC_Type * | base, | 
| ltc_edma_handle_t * | handle, | ||
| ltc_edma_callback_t | callback, | ||
| void * | userData, | ||
| edma_handle_t * | inputFifoEdmaHandle, | ||
| edma_handle_t * | outputFifoEdmaHandle | ||
| ) | 
| base | LTC module base address | 
| handle | Pointer to ltc_edma_handle_t structure | 
| callback | Callback function, NULL means no callback. | 
| userData | Callback function parameter. | 
| inputFifoEdmaHandle | User requested eDMA handle for Input FIFO eDMA. | 
| outputFifoEdmaHandle | User requested eDMA handle for Output FIFO eDMA. |