gnsszoe  2.0.0.0
Functions
Public function

Functions

void gnsszoe_cfg_setup (gnsszoe_cfg_t *cfg)
 Config Object Initialization function. More...
 
GNSSZOE_RETVAL gnsszoe_init (gnsszoe_t *ctx, gnsszoe_cfg_t *cfg)
 Initialization function. More...
 
void gnsszoe_generic_transfer (gnsszoe_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len)
 Generic transfer function. More...
 
gnsszoe_error_t gnsszoe_generic_parser (char *rsp, uint8_t command, uint8_t element, char *parser_buf)
 Generic parser function. More...
 
void gnsszoe_generic_read (gnsszoe_t *ctx, uint8_t *rd_buf, uint16_t rd_len)
 Generic read function. More...
 
void gnsszoe_module_reset (gnsszoe_t *ctx)
 Reset module. More...
 

Detailed Description

Function Documentation

◆ gnsszoe_cfg_setup()

void gnsszoe_cfg_setup ( gnsszoe_cfg_t cfg)

Config Object Initialization function.

Parameters
cfgClick configuration structure.

@description This function initializes click configuration structure to init state.

Note
All used pins will be set to unconnected state.

◆ gnsszoe_generic_parser()

gnsszoe_error_t gnsszoe_generic_parser ( char *  rsp,
uint8_t  command,
uint8_t  element,
char *  parser_buf 
)

Generic parser function.

Parameters
gnsszoeClick object.
commandNEMA ( GPS/GNSS ) command.
elementElement position in command.
parser_bufParser buffer for data storage.
Returns
error data

◆ gnsszoe_generic_read()

void gnsszoe_generic_read ( gnsszoe_t ctx,
uint8_t *  rd_buf,
uint16_t  rd_len 
)

Generic read function.

Parameters
ctxClick object.
rspRead buffer.

@description Generic SPI read function, for sending and receiving packages

◆ gnsszoe_generic_transfer()

void gnsszoe_generic_transfer ( gnsszoe_t ctx,
uint8_t *  wr_buf,
uint16_t  wr_len,
uint8_t *  rd_buf,
uint16_t  rd_len 
)

Generic transfer function.

Parameters
ctxClick object.
blockTransfer block structure.

@description Generic SPI transfer, for sending and receiving packages

◆ gnsszoe_init()

GNSSZOE_RETVAL gnsszoe_init ( gnsszoe_t ctx,
gnsszoe_cfg_t cfg 
)

Initialization function.

Parameters
gnsszoeClick object.
cfgClick configuration structure.

@description This function initializes all necessary pins and peripherals used for this click.

◆ gnsszoe_module_reset()

void gnsszoe_module_reset ( gnsszoe_t ctx)

Reset module.

Parameters
gnsszoeClick object.