Class pypisoundmicro::setup::Setup
Detailed Description
Public Functions
Type |
Name |
None |
__init__ (self self)
|
ElementType |
element_type (self self)
|
None |
element_type (self self, ElementType value)
|
Pin |
pin (self self)
|
None |
pin (self self, Pin value)
|
PinDirection |
gpio_direction (self self)
|
None |
gpio_direction (self self, PinDirection value)
|
PinPull |
gpio_pull (self self)
|
None |
gpio_pull (self self, PinPull value)
|
int |
gpio_output (self self)
|
None |
gpio_output (self self, int value)
|
Pin |
encoder_pin_b (self self)
|
None |
encoder_pin_b (self self, Pin value)
|
PinPull |
encoder_pin_b_pull (self self)
|
None |
encoder_pin_b_pull (self self, PinPull value)
|
ActivityType |
activity_type (self self)
|
None |
activity_type (self self, ActivityType value)
|
int |
to_int (self self)
|
Self |
from_int (cls cls, int setup_int)
|
None |
__init__ (self self)
|
ElementType |
element_type (self self)
|
None |
element_type (self self, ElementType value)
|
Pin |
pin (self self)
|
None |
pin (self self, Pin value)
|
PinDirection |
gpio_direction (self self)
|
None |
gpio_direction (self self, PinDirection value)
|
PinPull |
gpio_pull (self self)
|
None |
gpio_pull (self self, PinPull value)
|
int |
gpio_output (self self)
|
None |
gpio_output (self self, int value)
|
Pin |
encoder_pin_b (self self)
|
None |
encoder_pin_b (self self, Pin value)
|
PinPull |
encoder_pin_b_pull (self self)
|
None |
encoder_pin_b_pull (self self, PinPull value)
|
ActivityType |
activity_type (self self)
|
None |
activity_type (self self, ActivityType value)
|
int |
to_int (self self)
|
Self |
from_int (cls cls, int setup_int)
|
Public Static Functions
Type |
Name |
'Setup' |
for_encoder (Pin pin_a, PinPull pull_a, Pin pin_b, PinPull pull_b)
|
'Setup' |
for_analog_input (Pin pin)
|
'Setup' |
for_gpio_input (Pin pin, PinPull pull)
|
'Setup' |
for_gpio_output (Pin pin, int high)
|
'Setup' |
for_activity (Pin pin, ActivityType activity)
|
'Setup' |
for_encoder (Pin pin_a, PinPull pull_a, Pin pin_b, PinPull pull_b)
|
'Setup' |
for_analog_input (Pin pin)
|
'Setup' |
for_gpio_input (Pin pin, PinPull pull)
|
'Setup' |
for_gpio_output (Pin pin, int high)
|
'Setup' |
for_activity (Pin pin, ActivityType activity)
|
__init__ [1/2]
None pypisoundmicro::setup::Setup::__init__ (
self self
)
element_type [1/4]
ElementType pypisoundmicro::setup::Setup::element_type (
self self
)
element_type [2/4]
None pypisoundmicro::setup::Setup::element_type (
self self,
ElementType value
)
pin [1/4]
Pin pypisoundmicro::setup::Setup::pin (
self self
)
pin [2/4]
None pypisoundmicro::setup::Setup::pin (
self self,
Pin value
)
gpio_direction [1/4]
PinDirection pypisoundmicro::setup::Setup::gpio_direction (
self self
)
gpio_direction [2/4]
None pypisoundmicro::setup::Setup::gpio_direction (
self self,
PinDirection value
)
gpio_pull [1/4]
PinPull pypisoundmicro::setup::Setup::gpio_pull (
self self
)
gpio_pull [2/4]
None pypisoundmicro::setup::Setup::gpio_pull (
self self,
PinPull value
)
gpio_output [1/4]
int pypisoundmicro::setup::Setup::gpio_output (
self self
)
gpio_output [2/4]
None pypisoundmicro::setup::Setup::gpio_output (
self self,
int value
)
encoder_pin_b [1/4]
Pin pypisoundmicro::setup::Setup::encoder_pin_b (
self self
)
encoder_pin_b [2/4]
None pypisoundmicro::setup::Setup::encoder_pin_b (
self self,
Pin value
)
encoder_pin_b_pull [1/4]
PinPull pypisoundmicro::setup::Setup::encoder_pin_b_pull (
self self
)
encoder_pin_b_pull [2/4]
None pypisoundmicro::setup::Setup::encoder_pin_b_pull (
self self,
PinPull value
)
activity_type [1/4]
ActivityType pypisoundmicro::setup::Setup::activity_type (
self self
)
activity_type [2/4]
None pypisoundmicro::setup::Setup::activity_type (
self self,
ActivityType value
)
to_int [1/2]
int pypisoundmicro::setup::Setup::to_int (
self self
)
from_int [1/2]
Self pypisoundmicro::setup::Setup::from_int (
cls cls,
int setup_int
)
__init__ [1/2]
None pypisoundmicro::setup::Setup::__init__ (
self self
)
element_type [1/4]
ElementType pypisoundmicro::setup::Setup::element_type (
self self
)
element_type [2/4]
None pypisoundmicro::setup::Setup::element_type (
self self,
ElementType value
)
pin [1/4]
Pin pypisoundmicro::setup::Setup::pin (
self self
)
pin [2/4]
None pypisoundmicro::setup::Setup::pin (
self self,
Pin value
)
gpio_direction [1/4]
PinDirection pypisoundmicro::setup::Setup::gpio_direction (
self self
)
gpio_direction [2/4]
None pypisoundmicro::setup::Setup::gpio_direction (
self self,
PinDirection value
)
gpio_pull [1/4]
PinPull pypisoundmicro::setup::Setup::gpio_pull (
self self
)
gpio_pull [2/4]
None pypisoundmicro::setup::Setup::gpio_pull (
self self,
PinPull value
)
gpio_output [1/4]
int pypisoundmicro::setup::Setup::gpio_output (
self self
)
gpio_output [2/4]
None pypisoundmicro::setup::Setup::gpio_output (
self self,
int value
)
encoder_pin_b [1/4]
Pin pypisoundmicro::setup::Setup::encoder_pin_b (
self self
)
encoder_pin_b [2/4]
None pypisoundmicro::setup::Setup::encoder_pin_b (
self self,
Pin value
)
encoder_pin_b_pull [1/4]
PinPull pypisoundmicro::setup::Setup::encoder_pin_b_pull (
self self
)
encoder_pin_b_pull [2/4]
None pypisoundmicro::setup::Setup::encoder_pin_b_pull (
self self,
PinPull value
)
activity_type [1/4]
ActivityType pypisoundmicro::setup::Setup::activity_type (
self self
)
activity_type [2/4]
None pypisoundmicro::setup::Setup::activity_type (
self self,
ActivityType value
)
to_int [1/2]
int pypisoundmicro::setup::Setup::to_int (
self self
)
from_int [1/2]
Self pypisoundmicro::setup::Setup::from_int (
cls cls,
int setup_int
)
for_encoder [1/2]
static ' Setup ' pypisoundmicro::setup::Setup::for_encoder (
Pin pin_a,
PinPull pull_a,
Pin pin_b,
PinPull pull_b
)
static ' Setup ' pypisoundmicro::setup::Setup::for_analog_input (
Pin pin
)
static ' Setup ' pypisoundmicro::setup::Setup::for_gpio_input (
Pin pin,
PinPull pull
)
for_gpio_output [1/2]
static ' Setup ' pypisoundmicro::setup::Setup::for_gpio_output (
Pin pin,
int high
)
for_activity [1/2]
static ' Setup ' pypisoundmicro::setup::Setup::for_activity (
Pin pin,
ActivityType activity
)
for_encoder [1/2]
static ' Setup ' pypisoundmicro::setup::Setup::for_encoder (
Pin pin_a,
PinPull pull_a,
Pin pin_b,
PinPull pull_b
)
static ' Setup ' pypisoundmicro::setup::Setup::for_analog_input (
Pin pin
)
static ' Setup ' pypisoundmicro::setup::Setup::for_gpio_input (
Pin pin,
PinPull pull
)
for_gpio_output [1/2]
static ' Setup ' pypisoundmicro::setup::Setup::for_gpio_output (
Pin pin,
int high
)
for_activity [1/2]
static ' Setup ' pypisoundmicro::setup::Setup::for_activity (
Pin pin,
ActivityType activity
)