no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "maxim_pwm.h"
37#include "maxim_gpio.h"
38#include "maxim_uart.h"
39#include "maxim_uart_stdio.h"
40
41
42#if (TARGET_NUM == 32690)
43#define UART_IRQ_ID UART0_IRQn
44#define UART_DEVICE_ID 0
45#define UART_BAUDRATE 57600
46#endif
47
48#define UART_EXTRA &max25603_uart_extra
49#define UART_OPS &max_uart_ops
50
51#if (TARGET_NUM == 32690)
52#define PWM_EN1_ID 3
53#define PWM_EN1_PERIOD_NS 200000000
54#define PWM_EN1_DUTY_NS 100000000
55
56#define PWM_EN2_ID 2
57#define PWM_EN2_PERIOD_NS 200000000
58#define PWM_EN2_DUTY_NS 100000000
59
60#define PWM_LB_ID 1
61#define PWM_LB_PERIOD_NS 200000000
62#define PWM_LB_DUTY_NS 100000000
63
64#define PWM_HB_ID 0
65#define PWM_HB_PERIOD_NS 200000000
66#define PWM_HB_DUTY_NS 100000000
67#endif
68
69#define PWM_EXTRA &max25603_pwm_extra
70#define PWM_OPS &max_pwm_ops
71
72#if (TARGET_NUM == 32690)
73#define GPIO_SHUNT_PORT_NUM 1
74#define GPIO_SHUNT_PIN_NUM 6
75
76#define GPIO_FLT_PORT_NUM 2
77#define GPIO_FLT_PIN_NUM 21
78#endif
79
80#define GPIO_OPS &max_gpio_ops
81#define GPIO_EXTRA &max25603_gpio_extra
82
86
87#endif /* __PARAMETERS_H__ */
struct max_uart_init_param max25603_uart_extra
Definition parameters.c:35
struct max_gpio_init_param max25603_gpio_extra
Definition parameters.c:39
struct max_pwm_init_param max25603_pwm_extra
Definition parameters.c:43
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Definition maxim_pwm.h:45
Aditional UART config parameters.
Definition maxim_uart.h:55