Home
last modified time | relevance | path

Searched refs:serialHandle (Results 1 – 25 of 269) sorted by relevance

1234567891011

/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_internal.h25 serial_manager_status_t Serial_UartInit(serial_handle_t serialHandle, void *serialConfig);
26 serial_manager_status_t Serial_UartDeinit(serial_handle_t serialHandle);
27 serial_manager_status_t Serial_UartWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t le…
28 serial_manager_status_t Serial_UartRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t len…
30 serial_manager_status_t Serial_UartCancelWrite(serial_handle_t serialHandle);
31 serial_manager_status_t Serial_UartInstallTxCallback(serial_handle_t serialHandle,
34 serial_manager_status_t Serial_UartInstallRxCallback(serial_handle_t serialHandle,
37 void Serial_UartIsrFunction(serial_handle_t serialHandle);
39 serial_manager_status_t Serial_UartEnterLowpower(serial_handle_t serialHandle);
40 serial_manager_status_t Serial_UartExitLowpower(serial_handle_t serialHandle);
[all …]
Dfsl_component_serial_port_spi.c172 serial_manager_status_t Serial_SpiMasterInit(serial_handle_t serialHandle, void *serialConfig) in Serial_SpiMasterInit() argument
180 assert(serialHandle); in Serial_SpiMasterInit()
187 serialSpiMasterHandle = (serial_spi_master_state_t *)serialHandle; in Serial_SpiMasterInit()
215 serial_manager_status_t Serial_SpiMasterDeinit(serial_handle_t serialHandle) in Serial_SpiMasterDeinit() argument
219 assert(serialHandle); in Serial_SpiMasterDeinit()
221 serialSpiMasterHandle = (serial_spi_master_state_t *)serialHandle; in Serial_SpiMasterDeinit()
228 serial_manager_status_t Serial_SpiSlaveInit(serial_handle_t serialHandle, void *serialConfig) in Serial_SpiSlaveInit() argument
236 assert(serialHandle); in Serial_SpiSlaveInit()
245 serialSpiSlaveHandle = (serial_spi_slave_state_t *)serialHandle; in Serial_SpiSlaveInit()
272 serial_manager_status_t Serial_SpiSlaveDeinit(serial_handle_t serialHandle) in Serial_SpiSlaveDeinit() argument
[all …]
Dfsl_component_serial_port_rpmsg.c114 serial_manager_status_t Serial_RpmsgInit(serial_handle_t serialHandle, void *serialConfig) in Serial_RpmsgInit() argument
120 assert(serialHandle); in Serial_RpmsgInit()
122 serialRpmsgHandle = (serial_rpmsg_state_t *)serialHandle; in Serial_RpmsgInit()
132 … Serial_RpmsgRxCallback, serialHandle)) in Serial_RpmsgInit()
143 serial_manager_status_t Serial_RpmsgDeinit(serial_handle_t serialHandle) in Serial_RpmsgDeinit() argument
147 assert(serialHandle); in Serial_RpmsgDeinit()
149 serialRpmsgHandle = (serial_rpmsg_state_t *)serialHandle; in Serial_RpmsgDeinit()
158 serial_manager_status_t Serial_RpmsgWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t l… in Serial_RpmsgWrite() argument
163 assert(serialHandle); in Serial_RpmsgWrite()
167 serialRpmsgHandle = (serial_rpmsg_state_t *)serialHandle; in Serial_RpmsgWrite()
[all …]
Dfsl_component_serial_port_uart.c171 serial_manager_status_t Serial_UartInit(serial_handle_t serialHandle, void *serialConfig) in Serial_UartInit() argument
187 assert(serialHandle); in Serial_UartInit()
190 serialUartHandle = (serial_uart_state_t *)serialHandle; in Serial_UartInit()
211 serial_manager_status_t Serial_UartDeinit(serial_handle_t serialHandle) in Serial_UartDeinit() argument
215 assert(serialHandle); in Serial_UartDeinit()
217 serialUartHandle = (serial_uart_state_t *)serialHandle; in Serial_UartDeinit()
238 serial_manager_status_t Serial_UartWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t le… in Serial_UartWrite() argument
246 assert(serialHandle); in Serial_UartWrite()
250 serialUartHandle = (serial_uart_state_t *)serialHandle; in Serial_UartWrite()
275 serial_manager_status_t Serial_UartRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t len… in Serial_UartRead() argument
[all …]
Dfsl_component_serial_port_virtual.c262 serial_manager_status_t Serial_PortVirtualInit(serial_handle_t serialHandle, void *config) in Serial_PortVirtualInit() argument
269 assert(NULL != serialHandle); in Serial_PortVirtualInit()
272 serialPortVirtual = (serial_port_virtual_state_t *)serialHandle; in Serial_PortVirtualInit()
292 serial_manager_status_t Serial_PortVirtualDeinit(serial_handle_t serialHandle) in Serial_PortVirtualDeinit() argument
296 assert(serialHandle); in Serial_PortVirtualDeinit()
298 serialPortVirtual = (serial_port_virtual_state_t *)serialHandle; in Serial_PortVirtualDeinit()
307 serial_manager_status_t Serial_PortVirtualWrite(serial_handle_t serialHandle, uint8_t *buffer, uint… in Serial_PortVirtualWrite() argument
311 assert(serialHandle); in Serial_PortVirtualWrite()
313 serialPortVirtual = (serial_port_virtual_state_t *)serialHandle; in Serial_PortVirtualWrite()
323 serial_manager_status_t Serial_PortVirtualRead(serial_handle_t serialHandle, uint8_t *buffer, uint3… in Serial_PortVirtualRead() argument
[all …]
Dfsl_component_serial_port_swo.c51 serial_manager_status_t Serial_SwoInit(serial_handle_t serialHandle, void *config) in Serial_SwoInit() argument
58 assert(serialHandle); in Serial_SwoInit()
68 serialSwoHandle = (serial_swo_state_t *)serialHandle; in Serial_SwoInit()
108 serial_manager_status_t Serial_SwoDeinit(serial_handle_t serialHandle) in Serial_SwoDeinit() argument
112 assert(serialHandle); in Serial_SwoDeinit()
114 serialSwoHandle = (serial_swo_state_t *)serialHandle; in Serial_SwoDeinit()
121 serial_manager_status_t Serial_SwoWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t len… in Serial_SwoWrite() argument
129 assert(serialHandle); in Serial_SwoWrite()
133 serialSwoHandle = (serial_swo_state_t *)serialHandle; in Serial_SwoWrite()
166 serial_manager_status_t Serial_SwoRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t leng… in Serial_SwoRead() argument
[all …]
Dfsl_component_serial_port_usb.c797 serial_manager_status_t Serial_UsbCdcInit(serial_handle_t serialHandle, void *config) in Serial_UsbCdcInit() argument
804 assert(serialHandle); in Serial_UsbCdcInit()
812 serialUsbCdc = (serial_usb_cdc_state_t *)serialHandle; in Serial_UsbCdcInit()
838 serial_manager_status_t Serial_UsbCdcDeinit(serial_handle_t serialHandle) in Serial_UsbCdcDeinit() argument
843 assert(serialHandle); in Serial_UsbCdcDeinit()
845 serialUsbCdc = (serial_usb_cdc_state_t *)serialHandle; in Serial_UsbCdcDeinit()
860 serial_manager_status_t Serial_UsbCdcWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t … in Serial_UsbCdcWrite() argument
865 assert(serialHandle); in Serial_UsbCdcWrite()
867 serialUsbCdc = (serial_usb_cdc_state_t *)serialHandle; in Serial_UsbCdcWrite()
916 serial_manager_status_t Serial_UsbCdcRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t l… in Serial_UsbCdcRead() argument
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/debug_console/
Dfsl_debug_console.c235 serial_handle_t serialHandle; /*!< serial manager handle */ member
884 … s_debugConsoleState.serialHandle = (serial_handle_t)&s_debugConsoleState.serialHandleBuffer[0]; in DbgConsole_Init()
885 …status = SerialManager_Init(s_debugConsoleState.serialHandle, &serialCon… in DbgConsole_Init()
906 SerialManager_OpenWriteHandle(s_debugConsoleState.serialHandle, in DbgConsole_Init()
914 s_debugConsoleState.serialHandle, in DbgConsole_Init()
926 SerialManager_OpenReadHandle(s_debugConsoleState.serialHandle, in DbgConsole_Init()
937 g_serialHandle = s_debugConsoleState.serialHandle; in DbgConsole_Init()
946 if (s_debugConsoleState.serialHandle != NULL) in DbgConsole_EnterLowpower()
948 status = SerialManager_EnterLowpower(s_debugConsoleState.serialHandle); in DbgConsole_EnterLowpower()
958 if (s_debugConsoleState.serialHandle != NULL) in DbgConsole_ExitLowpower()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/debug_console/debug_console/
Dfsl_debug_console.c235 serial_handle_t serialHandle; /*!< serial manager handle */ member
876 … s_debugConsoleState.serialHandle = (serial_handle_t)&s_debugConsoleState.serialHandleBuffer[0]; in DbgConsole_Init()
877 …status = SerialManager_Init(s_debugConsoleState.serialHandle, &serialCon… in DbgConsole_Init()
898 SerialManager_OpenWriteHandle(s_debugConsoleState.serialHandle, in DbgConsole_Init()
906 s_debugConsoleState.serialHandle, in DbgConsole_Init()
918 SerialManager_OpenReadHandle(s_debugConsoleState.serialHandle, in DbgConsole_Init()
929 g_serialHandle = s_debugConsoleState.serialHandle; in DbgConsole_Init()
938 if (s_debugConsoleState.serialHandle != NULL) in DbgConsole_EnterLowpower()
940 status = SerialManager_EnterLowpower(s_debugConsoleState.serialHandle); in DbgConsole_EnterLowpower()
950 if (s_debugConsoleState.serialHandle != NULL) in DbgConsole_ExitLowpower()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE16F16/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV56F24/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5534/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV58F24/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC5536/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE14F16/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE18F16/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC55S36/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK22F12/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
232 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
811 if (NULL == shellContextHandle->serialHandle)
849 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
857 assert(serialHandle);
868 if (NULL == serialHandle)
899 shellContextHandle->serialHandle = serialHandle;
902 if (NULL == serialHandle)
909 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
913 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX3/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
234 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
813 if (NULL == shellContextHandle->serialHandle)
851 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
859 assert(serialHandle);
870 if (NULL == serialHandle)
901 shellContextHandle->serialHandle = serialHandle;
904 if (NULL == serialHandle)
911 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
915 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE06Z4/utilities/
Dfsl_shell.c129 serial_handle_t serialHandle; /*!< Serial manager handle */ member
266 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
859 if (NULL == shellContextHandle->serialHandle) in SHELL_GetChar()
897 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt) in SHELL_Init() argument
905 assert(serialHandle); in SHELL_Init()
916 if (NULL == serialHandle) in SHELL_Init()
947 shellContextHandle->serialHandle = serialHandle; in SHELL_Init()
950 if (NULL == serialHandle) in SHELL_Init()
957 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria… in SHELL_Init()
961 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial… in SHELL_Init()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX5/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
234 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
813 if (NULL == shellContextHandle->serialHandle)
851 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
859 assert(serialHandle);
870 if (NULL == serialHandle)
901 shellContextHandle->serialHandle = serialHandle;
904 if (NULL == serialHandle)
911 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
915 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8QX4/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
234 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
813 if (NULL == shellContextHandle->serialHandle)
851 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
859 assert(serialHandle);
870 if (NULL == serialHandle)
901 shellContextHandle->serialHandle = serialHandle;
904 if (NULL == serialHandle)
911 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
915 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MIMX8UX5/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
234 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
813 if (NULL == shellContextHandle->serialHandle)
851 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
859 assert(serialHandle);
870 if (NULL == serialHandle)
901 shellContextHandle->serialHandle = serialHandle;
904 if (NULL == serialHandle)
911 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
915 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKL27Z644/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
234 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
813 if (NULL == shellContextHandle->serialHandle)
851 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
859 assert(serialHandle);
870 if (NULL == serialHandle)
901 shellContextHandle->serialHandle = serialHandle;
904 if (NULL == serialHandle)
911 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
915 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54113/utilities/
Dfsl_shell.c96 serial_handle_t serialHandle; /*!< Serial manager handle */ member
234 if (NULL == shellContextHandle->serialHandle) in SHELL_WriteBuffer()
813 if (NULL == shellContextHandle->serialHandle)
851 shell_status_t SHELL_Init(shell_handle_t shellHandle, serial_handle_t serialHandle, char *prompt)
859 assert(serialHandle);
870 if (NULL == serialHandle)
901 shellContextHandle->serialHandle = serialHandle;
904 if (NULL == serialHandle)
911 …status = SerialManager_OpenWriteHandle(shellContextHandle->serialHandle, shellContextHandle->seria…
915 …status = SerialManager_OpenReadHandle(shellContextHandle->serialHandle, shellContextHandle->serial…
[all …]

1234567891011