|
| int | gpio_config (xpin_t pin, uint8_t cfg) |
| | Configures the selected pin as a standard GPIO. More...
|
| |
| void | gpio_config_dir (xpin_t pin, uint8_t dir) |
| | Configures pin as input or output. More...
|
| |
| int | gpio_config_irq (xpin_t pin, bool_t type, bool_t edge) |
| | Configures the specified XBee pin as IRQ. More...
|
| |
| int | gpio_enable_xpin_irq (xpin_t pin, bool_t enable) |
| | Enables or disables a specific IRQ. More...
|
| |
| bool_t | gpio_get (xpin_t pin) |
| | Gets the value of the specified pin. More...
|
| |
| void | gpio_irq_enable (bool_t enable) |
| | Enables or disables all the IRQs. More...
|
| |
| void | gpio_isr (void) |
| |
| void | gpio_set (xpin_t pin, bool_t val) |
| | Sets the specified pin in high or low level. Notice the XBee pin must be configured as output to be able to set it. More...
|
| |
| void | gpio_toggle (xpin_t pin) |
| | Inverts the value of a pin. More...
|
| |
| int | port_bit_get (port_t port, uint8_t bit) |
| | Reads the value of the specified bit of the selected port. More...
|
| |
| int | port_bit_set (port_t port, uint8_t bit, bool_t val) |
| | Writes a value in the specified bit of the selected port. More...
|
| |
| int | port_config (port_t port, uint8_t cfg) |
| | Initializes and configures the specified port with the parameters selected in cfg param. More...
|
| |
| uint8_t | port_get (port_t port) |
| | Reads a byte of data from the specified port. More...
|
| |
| void | port_set (port_t port, uint8_t val) |
| | Writes a byte in the specified port. More...
|
| |