pca9641 v0.2.1 PCA9641.Registers

This module provides a wrapper around the PCA9641 registers described in NXP's datasheet.

Don't access these directly unless you know what you're doing. It's better to use the Commands module instead.

Link to this section Summary

Functions

Register 1: Control. 1 byte. RW.

Register 0: ID Register. 1 byte. RO.

Register 5: Interrupt Mask Register. 1 byte. RW.

Register 4: Interrupt Status Register. 1 byte. RW.

Register 6 (and 7): Mailbox. 2 bytes. RW.

Register 3: Reserve Time. 1 byte. RW.

Register 2: Status. 1 byte. RO.

Link to this section Functions

Register 1: Control. 1 byte. RW.

Link to this function

control(pid, byte)

Register 0: ID Register. 1 byte. RO.

Link to this function

interrupt_mask(pid)

Register 5: Interrupt Mask Register. 1 byte. RW.

Link to this function

interrupt_mask(pid, byte)

Link to this function

interrupt_status(pid)

Register 4: Interrupt Status Register. 1 byte. RW.

Link to this function

interrupt_status(pid, byte)

Register 6 (and 7): Mailbox. 2 bytes. RW.

Link to this function

mailbox(pid, message)

Link to this function

reserve_time(pid)

Register 3: Reserve Time. 1 byte. RW.

Link to this function

reserve_time(pid, byte)

Register 2: Status. 1 byte. RO.