Microchip® Advanced Software Framework

ast_config Struct Reference

AST configuration.

#include <ast.h>

Data Fields

struct ast_calendar calendar
 Initial calendar Value. More...
 
uint32_t counter
 Initial counter Value. More...
 
ast_mode_t mode
 Mode: Calendar Mode: AST_CALENDAR_MODE or Counter Mode: AST_COUNTER_MODE. More...
 
ast_oscillator_type_t osc_type
 Oscillator type. More...
 
uint8_t psel
 Prescaler Value. More...
 

struct ast_calendar ast_config::calendar

Initial calendar Value.

Referenced by ast_set_config().

uint32_t ast_config::counter

Initial counter Value.

Referenced by ast_set_config(), and main().

ast_mode_t ast_config::mode

Mode: Calendar Mode: AST_CALENDAR_MODE or Counter Mode: AST_COUNTER_MODE.

Referenced by ast_set_config(), and main().

ast_oscillator_type_t ast_config::osc_type

Oscillator type.

Referenced by ast_set_config(), and main().

uint8_t ast_config::psel

Prescaler Value.

Referenced by ast_set_config(), and main().