Go to the documentation of this file.
39 #ifndef MAXIM_USB_UART_H_
40 #define MAXIM_USB_UART_H_
uint8_t serial_id_desc[]
Definition: maxim_usb_uart_descriptors.h:329
void * extra
Definition: no_os_uart.h:133
Structure describing a callback to be registered.
Definition: no_os_irq.h:148
Header file for maxim irq specifics.
uint8_t cdcacm_func_desc[]
Definition: maxim_usb_uart_descriptors.h:335
int usbShutdownCallback()
Definition: maxim_usb_uart.c:356
Header file of IRQ interface.
int32_t no_os_irq_register_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback_desc)
Register a callback to handle the irq events.
Definition: no_os_irq.c:98
void delay_us(unsigned int usec)
Definition: maxim_usb_uart.c:92
Header file of USB CDC ACM driver for maxim platform.
Header file of Delay functions.
uint8_t mfg_id_desc[]
Definition: maxim_usb_uart_descriptors.h:314
uint32_t irq_id
Definition: no_os_uart.h:120
@ NO_OS_EVT_USB
Definition: no_os_irq.h:79
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:60
uint8_t prod_id_desc[]
Definition: maxim_usb_uart_descriptors.h:321
#define EVENT_ENUM_COMP
Definition: maxim_usb_uart.c:58
Header file of USB CDC ACM driver for maxim platform.
Stucture holding the UART descriptor.
Definition: no_os_uart.h:140
bool asynchronous_rx
Definition: no_os_uart.h:122
Header file for maxim irq specifics.
void * extra
Definition: no_os_uart.h:153
USB CDC ACM initialization structures.
@ NO_OS_USB_IRQ
Definition: no_os_irq.h:99
MXC_USB_device_descriptor_t device_descriptor
Definition: maxim_usb_uart_descriptors.h:55
const struct no_os_irq_platform_ops max_irq_ops
maxim specific IRQ platform ops structure
Definition: maxim_irq.c:662
int usbStartupCallback()
Definition: maxim_usb_uart.c:340
const struct no_os_irq_platform_ops * platform_ops
Definition: no_os_irq.h:117
int32_t no_os_irq_ctrl_init(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Initialize the IRQ interrupts.
Definition: no_os_irq.c:51
struct @10 config_descriptor_hs
void(* callback)(void *context)
Definition: no_os_irq.h:150
struct no_os_irq_ctrl_desc * nvic
Definition: maxim_usb_uart.h:58
USB CDC ACM initialization structures.
SPSC lock-free fifo of fixed size (256), specialized for UART.
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:75
const struct no_os_uart_platform_ops max_usb_uart_ops
Maxim specific UART platform ops structure.
Definition: maxim_usb_uart.c:330
MXC_USB_device_qualifier_descriptor_t device_qualifier_descriptor
Definition: maxim_usb_uart_descriptors.h:74
#define NULL
Definition: wrapper.h:64
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:116
Header file for maxim irq specifics.
#define EVENT_ENUM_COMP
Definition: maxim_usb_uart.c:58
#define EVENT_ENUM_COMP
Definition: maxim_usb_uart.c:59
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:113
const struct no_os_uart_platform_ops max_usb_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_usb_uart.c:330
int32_t no_os_irq_ctrl_remove(struct no_os_irq_ctrl_desc *desc)
Free the resources allocated by no_os_irq_ctrl_init().
Definition: no_os_irq.c:77
Platform specific UART state.
Definition: maxim_usb_uart.h:56
uint8_t lang_id_desc[]
Definition: maxim_usb_uart_descriptors.h:308
int32_t no_os_irq_enable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Enable specific interrupt.
Definition: no_os_irq.c:187
Aditional UART config parameters.
Definition: maxim_usb_uart.h:48
uint16_t vid
Definition: maxim_usb_uart.h:49
Header file of UART interface.
MXC_USB_configuration_descriptor_t config_descriptor
Definition: maxim_usb_uart_descriptors.h:88
uint16_t pid
Definition: maxim_usb_uart.h:50
Header file of utility functions.
Definition: no_os_irq.h:129
USB CDC ACM initialization structures.
Error macro definition for ARM Compiler.
Header file of USB CDC ACM driver for maxim platform.