S32K144_Uart

  • B4_427823
    了解作者
  • 6.2MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-05-30 01:07
    上传日期
S32K144 自身NorFlash读写,在NXP官方编译器S32 Design Studio for ARM Version 2018.R1(需要打补丁跟新到 RTM2.0版SDK)直接编译。该串口代码与官方库不冲突,可继续使用官方提供的便利工具,IO和Uart模块的可视化配置,并且实现Uart方便的中断接受,不丢失。从FIFO中直接提取数据,改善官方SDK库效读取率低,操作不方便等问题。
内容介绍
============================================================================= List of generated methods in project: HTKJ_App This text description is generated by Processor Expert. Do not modify it. ============================================================================= Module "pin_mux" (component PinSettings) - pin_mux_PINS_DRV_Init -This function configures the pins with the options provided in the provided structure - pin_mux_PINS_DRV_SetPullSel -This function configures the internal resistor - pin_mux_PINS_DRV_SetMuxModeSel -This function configures the pin muxing - pin_mux_PINS_DRV_SetPinIntSel -This function configures the port pin interrupt/DMA request - pin_mux_PINS_DRV_GetPinIntSel -This function gets the current port pin interrupt/DMA request configuration - pin_mux_PINS_DRV_ClearPinIntFlagCmd -This function clears the individual pin-interrupt status flag - pin_mux_PINS_DRV_EnableDigitalFilter -This function enables digital filter feature for digital pin muxing - pin_mux_PINS_DRV_DisableDigitalFilter -This function disables digital filter feature for digital pin muxing - pin_mux_PINS_DRV_ConfigDigitalFilter -This function configures digital filter for port with given configuration - pin_mux_PINS_DRV_GetPortIntFlag -This function reads the entire port interrupt status flag - pin_mux_PINS_DRV_ClearPortIntFlagCmd -This function clears the entire port interrupt status flag - pin_mux_PINS_DRV_SetGlobalPinControl -This function quickly configures multiple pins within the one port for the same peripheral function with the same pin configuration - pin_mux_PINS_DRV_SetGlobalIntControl -This function quickly configures multiple pins within the one port for the same peripheral function with the same interrupt configuration - pin_mux_PINS_DRV_GetPinsDirection -This function returns the current pins directions for a port. Pins corresponding to bits with value of '1' are configured as output and pins corresponding to bits with value of '0' are configured as input. - pin_mux_PINS_DRV_SetPinDirection -This function configures the direction for the given pin, with the given value('1' for pin to be configured as output and '0' for pin to be configured as input) - pin_mux_PINS_DRV_SetPinsDirection -This function sets the direction configuration for all pins in a port. Pins corresponding to bits with value of '1' will be configured as output and pins corresponding to bits with value of '0' will be configured as input. - pin_mux_PINS_DRV_SetPortInputDisable -This function sets the pins input state for a port. Pins corresponding to bits with value of '1' will not be configured as input and pins corresponding to bits with value of '0' will be configured as input - pin_mux_PINS_DRV_GetPortInputDisable -This function returns the current pins input state for a port. Pins corresponding to bits with value of '1' are not configured as input and pins corresponding to bits with value of '0' are configured as input - pin_mux_PINS_DRV_WritePin -This function writes the given pin from a port, with the given value ('0' represents LOW, '1' represents HIGH) - pin_mux_PINS_DRV_WritePins -This function writes all pins configured as output with the values given in the parameter pins. '0' represents LOW, '1' represents HIGH - pin_mux_PINS_DRV_GetPinsOutput -This function returns the current output that is written to a port. Only pins that are configured as output will have meaningful values - pin_mux_PINS_DRV_SetPins -This function configures output pins listed in parameter pins (bits that are '1') to have a value of 'set' (HIGH). Pins corresponding to '0' will be unaffected - pin_mux_PINS_DRV_ClearPins -This function configures output pins listed in parameter pins (bits that are '1') to have a 'cleared' value (LOW). Pins corresponding to '0' will be unaffected - pin_mux_PINS_DRV_TogglePins -This function toggles output pins listed in parameter pins (bits that are '1'). Pins corresponding to '0' will be unaffected - pin_mux_PINS_DRV_ReadPins -This function returns the current input values from a port. Only pins configured as input will have meaningful values Module "clockMan1" (component clock_manager) - clockMan1_CLOCK_SYS_Init -Install pre-defined clock configurations. - clockMan1_CLOCK_SYS_UpdateConfiguration -Set system clock configuration according to pre-defined structure. - clockMan1_CLOCK_SYS_SetConfiguration -Set system clock configuration. - clockMan1_CLOCK_SYS_GetCurrentConfiguration -Get current system clock configuration. - clockMan1_CLOCK_SYS_GetErrorCallback -Get the callback which returns error in last clock switch. - clockMan1_CLOCK_SYS_GetFreq -Gets the clock frequency for a specific clock name. - clockMan1_CLOCK_DRV_Init -Initialize clocking modules - clockMan1_CLOCK_DRV_GetFreq -Return frequency. - clockMan1_CLOCK_DRV_SetModuleClock -Configures the system clocks. - clockMan1_CLOCK_DRV_SetSystemClock -Configures the system clocks. - clockMan1_CLOCK_DRV_GetSystemClockSource -Gets the system clock source. - clockMan1_CLOCK_DRV_SetClockSource -This function configures a clock source. Module "intMan1" (component interrupt_manager) - intMan1_INT_SYS_InstallHandler -Installs an interrupt handler routine for a given IRQ number. - intMan1_INT_SYS_EnableIRQ -Enables an interrupt for a given IRQ number. - intMan1_INT_SYS_DisableIRQ -Disables an interrupt for a given IRQ number. - intMan1_INT_SYS_EnableIRQGlobal -Enables system interrupt. - intMan1_INT_SYS_DisableIRQGlobal -Disable system interrupt. - intMan1_INT_SYS_SetPriority -Set Interrupt Priority. - intMan1_INT_SYS_GetPriority -Get Interrupt Priority. - intMan1_INT_SYS_ClearPending -Clear Pending Interrupt. - intMan1_INT_SYS_SetPending -Set Pending Interrupt. - intMan1_INT_SYS_GetPending -Get Pending Interrupt. - intMan1_INT_SYS_GetActive -Get Active Interrupt. Module "dmaController1" (component edma) - dmaController1_EDMA_DRV_Init -Initializes the eDMA module. - dmaController1_EDMA_DRV_Deinit -Shuts down the eDMA module. - dmaController1_EDMA_DRV_ChannelInit -Initializes a eDMA channel. - dmaController1_EDMA_DRV_ReleaseChannel -Releases an eDMA channel. - dmaController1_EDMA_DRV_StartChannel -Starts an eDMA channel. - dmaController1_EDMA_DRV_StopChannel -Stops the eDMA channel. - dmaController1_EDMA_DRV_InstallCallback -Registers the callback function and the parameter for eDMA channel. - dmaController1_EDMA_DRV_GetChannelStatus -Gets the eDMA channel status. - dmaController1_EDMA_DRV_PushConfigToReg -Copies the channel configuration to the TCD registers. - dmaController1_EDMA_DRV_PushConfigToSTCD -Copies the channel configuration to the software TCD structure. - dmaController1_EDMA_DRV_ConfigSingleBlockTransfer -Configures a simple single block data transfer with DMA. This function configures the descriptor for a single block transfer. - dmaController1_EDMA_DRV_ConfigLoopTransfer -Configures the DMA transfer in loop mode. - dmaController1_EDMA_DRV_ConfigScatterGatherTransfer -Configures the DMA transfer in a scatter-gather mode. - dmaController1_EDMA_DRV_ConfigMultiBlockTransfer -Configures a multiple block data transfer with DMA. This function configures the descriptor for a multi block transfer. - dmaController1_EDMA_DRV_CancelTransfer -Cancels the remaining data transfer. - dmaController1_EDMA_DRV_SetChannelRequest -Configures the DMA request for the eDMA channel. - dmaControll
评论
    相关推荐