maix::ext_dev::fp5510

maix.ext_dev.fp5510 module

This is maix::ext_dev::fp5510 module of MaixCDK.
All of these elements are in namespace maix::ext_dev::fp5510.

For MaixCDK developer: DO NOT edit this doc file manually, this doc is auto generated!

Module

No module

Enum

Variable

Function

Class

FP5510

FP5510 class

C++ defination code:

class FP5510

__init__

Construct a new FP5510 object

item description
type func
param id: iic number, default is 4
slave_addr: slave address of fp5510, default is 0x0c.
freq: iic frequency, default is 400k
static False

C++ defination code:

FP5510(int id = 4, int slave_addr = 0x0c, int freq = 400000)

set_pos

Set fp5510 position

item description
type func
param pos: the position of fp5510, range is [0, 1023]
static False

C++ defination code:

void set_pos(uint32_t pos)

get_pos

Get fp5510 position

item description
type func
return returns the position of fp5510, range is [0, 1023]
static False

C++ defination code:

uint32_t get_pos()