Starts an asynchronous register read operation.
i2c_state mcp23018_begin_read( i2c_slave_addr addr, mcp23018_reg r )
Starts an asynchronous register write operation.
i2c_state mcp23018_begin_write( i2c_slave_addr addr, mcp23018_reg r, uint8_t v )
Register address validator.
uint8_t mcp23018_is_valid_reg( mcp23018_reg r )
Tests whether there is an ongoing I2C operation.
i2c_state mcp23018_poll_read( uint8_t * v )
Performs a synchronous register read operation.
i2c_state mcp23018_read( i2c_slave_addr addr, mcp23018_reg r, uint8_t * v )
The type of MCP23018 register addresses.
typedef uint8_t mcp23018_reg
Performs a synchronous register write operation.
i2c_state mcp23018_write( i2c_slave_addr addr, mcp23018_reg r, uint8_t v )
Updates potentiometer wiper settings in the selected MCP4x device.
uint8_t mcp4x_set_wiper( uint8_t pot_bits, uint8_t pos )
Disables potentiometers in the selected MCP4x device.
uint8_t mcp4x_shutdown( uint8_t pot_bits )
Registers a memory monitor.
uint8_t memmon_add( const memmon_spec * mon )
The type of pointers to constant memory locations in the memory monitor API.
typedef const uint8_t *memmon_cptr
Number of failed notification attempts made by the memory monitor task.
extern uint16_t memmon_drop_count
Available unused RAM in bytes.
extern ptrdiff_t memmon_free_ram
Obtains the amount of available unused RAM.
ptrdiff_t memmon_get_free_ram( void )
Specifies the byte format of a memory monitor notification header.
typedef struct __attribute__ ( (__packed__) ) memmon_header
Initializes the memory monitor module.
void memmon_init( uint8_t task_num_cat, uint8_t max_mon, memmon_spec * mon_array, sched_time delay, uint8_t tlv_typ, uint8_t inm_dstadr )
The maximum number of simultaneously registered memory monitors.
extern uint8_t memmon_max_monitors
Number of notification attempts made by the memory monitor task.
extern uint16_t memmon_msg_count
The number of registered memory monitors.
extern uint8_t memmon_n_monitors
The type of pointers to memory locations in the memory monitor API.
typedef uint8_t *memmon_ptr
Unregisters a memory monitor with a specified index number.
uint8_t memmon_remove( uint8_t mon_i )
Unregisters a memory monitor monitoring a specified location.
uint8_t memmon_remove_ptr( memmon_cptr mon_ptr )
Shuts down the memory monitor module.
void memmon_shutdown( void )
Specifies a memory monitor.
typedef struct memmon_spec
Index number of the memory monitor.
uint8_t mon_i
Identification number of the INM message.
uint16_t msg_id