📄 avr.nut
字号:
file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_4x16", brief = "LCD 4x16", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x40", brief = "LCD 2x40", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x20", brief = "LCD 2x20", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x16", brief = "LCD 2x16", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x8", brief = "LCD 2x8", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_1x20", brief = "LCD 1x20", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_1x16", brief = "LCD 1x16", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_1x8", brief = "LCD 1x8", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "KS0073_CONTROLLER", brief = "KS0073 Controller", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_SHORT_DELAY", brief = "Short delay", description = "Number of milliseconds", flavor = "booldata", type = "integer", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_LONG_DELAY", brief = "Long delay", description = "Number of milliseconds", flavor = "booldata", type = "integer", file = "include/cfg/arch/avrpio.h" } } }, { name = "nutarch_arv_hd44780_bus", brief = "HD44780 Bus Driver", description = "Alternate memory mapped LCD Driver.\n\n".. "This is a terminal device driver for a memory ".. "mapped HD44780 compatible LCD. It is connected ".. "to the databus / adressbus. A chip select is ".. "generated from /RD, /WR, and the address decoder. ".. "It is connected to the LCD's enable signal. ".. "A0 is connected to the register select pin and A1 ".. "to the read/write signal. Therefore you'll read from ".. "an address with an offset of two.\n\n".. "Only available for AVR-GCC.\n\n".. "Contributed by Ole Reinhardt from www.kernelconcepts.de", requires = { "HW_MCU_AVR", "TOOL_GCC" }, provides = { "DEV_FILE", "DEV_WRITE" }, sources = { "avr/dev/hd44780_bus.c" }, options = { { macro = "LCD_4x20", brief = "LCD 4x20", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_4x16", brief = "LCD 4x16", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x40", brief = "LCD 2x40", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x20", brief = "LCD 2x20", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x16", brief = "LCD 2x16", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_2x8", brief = "LCD 2x8", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_1x20", brief = "LCD 1x20", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_1x16", brief = "LCD 1x16", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "LCD_1x8", brief = "LCD 1x8", flavor = "boolean", file = "include/cfg/arch/avrpio.h" }, { macro = "KS0073_CONTROLLER", brief = "KS0073 Controller", flavor = "boolean", file = "include/cfg/arch/avrpio.h" } } }, { name = "nutarch_avr_sja1000", brief = "SJA1000 CAN Driver", description = "Driver for SJA1000 CAN-Bus controller.\n\n".. "The SJA1000 controller is connected to the memory ".. "bus. It's base address and interrupt is set by ".. "NutRegisterDevice().\n\n".. "Only available for AVR-GCC.\n\n".. "Contributed by Ole Reinhardt from www.kernelconcepts.de", provides = { "DEV_CAN_SPECIFIC"}, requires = { "HW_MCU_AVR", "TOOL_GCC" }, sources = { "avr/dev/sja1000.c" }, options = { { macro = "SJA_SIGNAL_BIT", brief = "Interrupt Number", description = "Default is 7. Must correspond ".. "to SJA_SIGNAL.", file = "include/cfg/arch/avrpio.h" }, { macro = "SJA_SIGNAL", brief = "Interrupt Signal", description = "Default is sig_INTERRUPT7. Must correspond ".. "to SJA_SIGNAL_BIT.", file = "include/cfg/arch/avrpio.h" }, { macro = "SJA_EICR", brief = "Interrupt Control", description = "Default is EICRB. Must correspond ".. "to SJA_SIGNAL_BIT.", file = "include/cfg/arch/avrpio.h" } } }, { name = "nutarch_avr_atcan", brief = "AT CAN Driver", description = "Driver for Atmel's internal Full CAN controller ".. "found in AT90 parts like the AT90CAN128 MCU.\n\n".. "Requires a fixed MCU clock setting of either 12 or 16 MHz. ".. "Check setting in System Timer category.\n".. "Currently only available for AVR-GCC.\n\n".. "Contributed by Henrik Maier from www.proconx.com", requires = { "HW_CAN_AVR", "TOOL_GCC"}, provides = { "DEV_CAN_SPECIFIC"}, sources = { "avr/dev/atcan.c" }, options = { } }, { name = "nutarch_avr_spidigio", brief = "Shift Register I/O", description = "Digital I/O using shift registers.\n".. "This driver supports upto 32 digital inputs or outputs ".. "and occupies 5 port bits only:\n".. "- Shift register data output\n".. "- Shift register data input\n".. "- Shift register clock output\n".. "- Shift register input latch\n".. "- Shift register output latch\n".. "The hardware is very simple, using standard TTL 74165 ".. "shift registers for inputs and Allegro's UCN5841A for ".. "outputs. All shift are connected in series, with the ".. "first output register connected to the MCU data output ".. "and the last input register connected to the data input.", sources = { "avr/dev/spidigio.c" }, requires = { "HW_MCU_AVR" }, options = { { macro = "SPIDIGIO_SOUT_BIT", brief = "Shift Output Bit", description = "Bit number of the serial data output.\n".. "Coconut uses bit 5 of PORTD.", type = "enumerated", choices = avr_bit_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_SOUT_AVRPORT", brief = "Shift Output Port", description = "Port register name of serial data output.", type = "enumerated", choices = avr_port_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_SIN_BIT", brief = "Shift Input Bit", description = "Bit number of the serial data input.\n".. "Coconut uses bit 6 of PIND.", type = "enumerated", choices = avr_bit_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_SIN_AVRPORT", brief = "Shift Input Port", description = "Port register name of serial data input.", type = "enumerated", choices = avr_port_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_SCLK_BIT", brief = "Clock Output Bit", description = "Bit number of the serial clock output.\n".. "Coconut uses bit 7 of PORTD.", type = "enumerated", choices = avr_bit_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_SCLK_AVRPORT", brief = "Clock Output Port", description = "Port register name of serial clock output.", type = "enumerated", choices = avr_port_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_LDI_BIT", brief = "Input Latch Bit", description = "Bit number of the input latch output.\n".. "Coconut uses bit 7 of PORTB.", type = "enumerated", choices = avr_bit_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_LDI_AVRPORT", brief = "Input Latch Port", description = "Port register name of the input latch output.", type = "enumerated", choices = avr_port_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_LDO_BIT", brief = "Output Latch Bit", description = "Bit number of the output latch signal, which is ".. "connected to the strobe input of the UCN5841A\n".. "Coconut uses bit 5 of PORTB.", type = "enumerated", choices = avr_bit_choice, file = "include/cfg/arch/avrpio.h" }, { macro = "SPIDIGIO_LDO_AVRPORT", brief = "Output Latch Port", description = "Port register name of the output latch output.", type = "enumerated", choices = avr_port_choice, file = "include/cfg/arch/avrpio.h" }, } }, { name = "nutarch_avr_twif", brief = "TWI Driver", requires = { "HW_MCU_AVR", "NUT_EVENT" }, provides = { "DEV_TWI" }, sources = { "avr/dev/twif.c" } }, { name = "nutarch_avr_vs1001k", brief = "VS1001 Driver", requires = { "NUT_SEGBUF", "HW_MCU_AVR" }, sources = { "avr/dev/vs1001k.c" } }, { name = "nutarch_avr_pcmcia", brief = "PCMCIA Driver", requires = { "HW_MCU_AVR" }, sources = { "avr/dev/pcmcia.c" }, },}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -