Go to the documentation of this file.
33 #ifndef MAXIM_USB_UART_H_
34 #define MAXIM_USB_UART_H_
uint8_t serial_id_desc[]
Definition: maxim_usb_uart_descriptors.h:323
void * extra
Definition: no_os_uart.h:127
Structure describing a callback to be registered.
Definition: no_os_irq.h:142
Header file for maxim irq specifics.
uint8_t cdcacm_func_desc[]
Definition: maxim_usb_uart_descriptors.h:329
int usbShutdownCallback()
Definition: maxim_usb_uart.c:350
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:92
void delay_us(unsigned int usec)
Definition: maxim_usb_uart.c:86
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:308
uint32_t irq_id
Definition: no_os_uart.h:114
@ NO_OS_EVT_USB
Definition: no_os_irq.h:73
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:54
uint8_t prod_id_desc[]
Definition: maxim_usb_uart_descriptors.h:315
#define EVENT_ENUM_COMP
Definition: maxim_usb_uart.c:52
Header file of USB CDC ACM driver for maxim platform.
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
bool asynchronous_rx
Definition: no_os_uart.h:116
Header file for maxim irq specifics.
void * extra
Definition: no_os_uart.h:147
USB CDC ACM initialization structures.
@ NO_OS_USB_IRQ
Definition: no_os_irq.h:93
MXC_USB_device_descriptor_t device_descriptor
Definition: maxim_usb_uart_descriptors.h:49
const struct no_os_irq_platform_ops max_irq_ops
maxim specific IRQ platform ops structure
Definition: maxim_irq.c:657
int usbStartupCallback()
Definition: maxim_usb_uart.c:334
MXC_USB_configuration_descriptor_t config_descriptor
Definition: maxim_usb_uart_descriptors.h:82
const struct no_os_irq_platform_ops * platform_ops
Definition: no_os_irq.h:111
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:45
void(* callback)(void *context)
Definition: no_os_irq.h:144
struct @13 config_descriptor_hs
struct no_os_irq_ctrl_desc * nvic
Definition: maxim_usb_uart.h:52
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:69
const struct no_os_uart_platform_ops max_usb_uart_ops
Maxim specific UART platform ops structure.
Definition: maxim_usb_uart.c:324
MXC_USB_device_qualifier_descriptor_t device_qualifier_descriptor
Definition: maxim_usb_uart_descriptors.h:68
#define NULL
Definition: wrapper.h:64
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
Header file for maxim irq specifics.
#define EVENT_ENUM_COMP
Definition: maxim_usb_uart.c:52
#define EVENT_ENUM_COMP
Definition: maxim_usb_uart.c:53
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
const struct no_os_uart_platform_ops max_usb_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_usb_uart.c:324
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:71
Platform specific UART state.
Definition: maxim_usb_uart.h:50
uint8_t lang_id_desc[]
Definition: maxim_usb_uart_descriptors.h:302
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:181
Aditional UART config parameters.
Definition: maxim_usb_uart.h:42
uint16_t vid
Definition: maxim_usb_uart.h:43
Header file of UART interface.
uint16_t pid
Definition: maxim_usb_uart.h:44
Header file of utility functions.
Definition: no_os_irq.h:123
USB CDC ACM initialization structures.
Error macro definition for ARM Compiler.
Header file of USB CDC ACM driver for maxim platform.