Open hardware Atmel AVR development board. More...
Functions | |
| void | board_lowlevel_init (void) |
| Initialise the board hardware. | |
Processor frequency in Hz | |
|
| |
| #define | F_CPU 7372800ul |
External crystal frequency definition for "rtc_tmr0_32khz.h" | |
See rtc_tmr0_32khz.h : Real Time Clock using 32.768 kHz crystal and Timer 0 | |
| #define | F_RTC 32768ul |
IO Pin Definition for "spi_master.h" | |
See spi_master.h : Simple polled SPI Master | |
| #define | PORT_SPI PORTB |
| #define | DDR_SPI DDRB |
| #define | BIT_SPI_SS 0 |
| #define | BIT_SPI_SCK 1 |
| #define | BIT_SPI_MOSI 2 |
| #define | BIT_SPI_MISO 3 |
IO Pin Definition for "sflash_AT45DB041B.h" | |
See sflash_AT45DB041B.h : Atmel AT45DB041B 4-megabit DataFlash Driver | |
| #define | PORT_SFLASH_CS_O PORTB |
| #define | DDR_SFLASH_CS_O DDRB |
| #define | BIT_SFLASH_CS_O 4 |
Active low switch pin definition | |
|
| |
| #define | PIN_SW_IP PINB |
| #define | BIT_SW_IP 5 |
| #define | SW_IS_PRESSED() BIT_IS_LO(PIN_SW_IP,BIT_SW_IP) |
| Macro to detect if the switch is being pressed. | |
User LED pin definition | |
|
| |
| #define | PORT_LED_O PORTB |
| #define | DDR_LED_O DDRB |
| #define | BIT_LED_O 6 |
| #define | LED_ON() BIT_SET_HI(PORT_LED_O,BIT_LED_O) |
| Macro to enable LED. | |
| #define | LED_OFF() BIT_SET_LO(PORT_LED_O,BIT_LED_O) |
| Macro to disable LED. | |
| #define | LED_TOGGLE() BIT_TOGGLE(PORT_LED_O,BIT_LED_O) |
| Macro to toggle LED. | |
Buzzer pin definition | |
|
| |
| #define | PORT_BUZZER_O PORTB |
| #define | BIT_BUZZER_O 7 |
| #define | BUZZER_ON() BIT_SET_LO(PORT_BUZZER_O,BIT_BUZZER_O) |
| Macro to enable buzzer. | |
| #define | BUZZER_OFF() BIT_SET_HI(PORT_BUZZER_O,BIT_BUZZER_O) |
| Macro to disable buzzer. | |
RS-485 direction control pin definitions | |
|
| |
| #define | PORT_RS485_TX_EN_O PORTD |
| #define | DDR_RS485_TX_EN_O DDRD |
| #define | BIT_RS485_TX_EN_O 4 |
| #define | PORT_RS485_RX_EN_O PORTD |
| #define | DDR_RS485_RX_EN_O DDRD |
| #define | BIT_RS485_RX_EN_O 5 |
RS-232 Hardware flow control pin definitions | |
|
| |
| #define | PIN_RTS_I PIND |
| #define | BIT_RTS_I 6 |
| #define | PORT_CTS_O PORTD |
| #define | BIT_CTS_O 7 |
You are free to manufacture this board for own use or to sell commercially, as long as copyright notice is retained (give credit where credit is due).
THIS HARDWARE DESIGN IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS HARDWARE DESIGN, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Design documents and files located in /arch/avr/boards/piconomic_ab111-4:
Note: these documents and files are included with the file releases of the library:
Features:
Reference documents:
Files:
1.6.3