MACSC Driver configuration.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "ioport.h"
Macros | |
#define | ACTIVE_PERIOD 3840 |
#define | BEACON_INTERVAL 62500 |
#define | COMPARE_MODE MACSC_RELATIVE_CMP |
#define | ENABLE_AUTO_TIMESTAMP 0 |
#define | ENABLE_SLEEP 1 |
#define | RTC_CLK_SRC MACSC_32KHz |
#define | SLEEP_PERIOD |
#define | SYS_CLK_SRC MACSC_16MHz |
#define | USART_SERIAL_BAUDRATE 9600 |
#define | USART_SERIAL_CHAR_LENGTH USART_CHSIZE_8BIT_gc |
#define | USART_SERIAL_PARITY USART_PMODE_DISABLED_gc |
#define | USART_SERIAL_PORT &USARTA1 |
#define | USART_SERIAL_STOP_BIT false |
Enumerations | |
enum | macsc_cb_pins { CMP2_INT_CHK_PIN = IOPORT_CREATE_PIN(PORTB,4), CMP3_INT_CHK_PIN = IOPORT_CREATE_PIN(PORTB,3) } |
#define ACTIVE_PERIOD 3840 |
Referenced by example_cmp3_int_cb().
#define BEACON_INTERVAL 62500 |
Referenced by main().
#define COMPARE_MODE MACSC_RELATIVE_CMP |
Referenced by example_cmp1_int_cb(), example_cmp3_int_cb(), and main().
#define ENABLE_AUTO_TIMESTAMP 0 |
#define ENABLE_SLEEP 1 |
#define RTC_CLK_SRC MACSC_32KHz |
#define SLEEP_PERIOD |
Referenced by example_cmp1_int_cb().
#define SYS_CLK_SRC MACSC_16MHz |
Referenced by main().
#define USART_SERIAL_BAUDRATE 9600 |
Referenced by main().
#define USART_SERIAL_CHAR_LENGTH USART_CHSIZE_8BIT_gc |
Referenced by main().
#define USART_SERIAL_PARITY USART_PMODE_DISABLED_gc |
Referenced by main().
#define USART_SERIAL_PORT &USARTA1 |
Referenced by example_cmp1_int_cb(), example_cmp2_int_cb(), example_cmp3_int_cb(), and main().
#define USART_SERIAL_STOP_BIT false |
Referenced by main().
enum macsc_cb_pins |