This module provides basic read/write/toggle access to port pins and read/write access to port.
◆ bsp_io_level_t
Levels that can be set and read for individual pins
Enumerator |
---|
BSP_IO_LEVEL_LOW | Low.
|
BSP_IO_LEVEL_HIGH | High.
|
◆ bsp_io_direction_t
Direction of individual pins
Enumerator |
---|
BSP_IO_DIRECTION_INPUT | Input.
|
BSP_IO_DIRECTION_OUTPUT | Output.
|
◆ bsp_io_port_t
Superset list of all possible IO ports.
Enumerator |
---|
BSP_IO_PORT_00 | IO port 0.
|
BSP_IO_PORT_01 | IO port 1.
|
BSP_IO_PORT_02 | IO port 2.
|
BSP_IO_PORT_03 | IO port 3.
|
BSP_IO_PORT_04 | IO port 4.
|
BSP_IO_PORT_05 | IO port 5.
|
BSP_IO_PORT_06 | IO port 6.
|
BSP_IO_PORT_07 | IO port 7.
|
BSP_IO_PORT_08 | IO port 8.
|
BSP_IO_PORT_09 | IO port 9.
|
BSP_IO_PORT_10 | IO port 10.
|
BSP_IO_PORT_11 | IO port 11.
|
BSP_IO_PORT_12 | IO port 12.
|
BSP_IO_PORT_13 | IO port 13.
|
BSP_IO_PORT_14 | IO port 14.
|
BSP_IO_PORT_15 | IO port 15.
|
BSP_IO_PORT_16 | IO port 16.
|
BSP_IO_PORT_17 | IO port 17.
|
BSP_IO_PORT_18 | IO port 18.
|
BSP_IO_PORT_19 | IO port 19.
|
BSP_IO_PORT_20 | IO port 20.
|
BSP_IO_PORT_21 | IO port 21.
|
BSP_IO_PORT_22 | IO port 22.
|
BSP_IO_PORT_23 | IO port 23.
|
BSP_IO_PORT_24 | IO port 24.
|
BSP_IO_PORT_25 | IO port 25.
|
BSP_IO_PORT_26 | IO port 26.
|
BSP_IO_PORT_27 | IO port 27.
|
BSP_IO_PORT_28 | IO port 28.
|
BSP_IO_PORT_29 | IO port 29.
|
BSP_IO_PORT_30 | IO port 30.
|
BSP_IO_PORT_31 | IO port 31.
|
BSP_IO_PORT_32 | IO port 32.
|
BSP_IO_PORT_33 | IO port 33.
|
BSP_IO_PORT_34 | IO port 34.
|
BSP_IO_PORT_35 | IO port 35.
|
◆ bsp_io_port_pin_t
Superset list of all possible IO port pins.
Enumerator |
---|
BSP_IO_PORT_00_PIN_0 | IO port 0 pin 0.
|
BSP_IO_PORT_00_PIN_1 | IO port 0 pin 1.
|
BSP_IO_PORT_00_PIN_2 | IO port 0 pin 2.
|
BSP_IO_PORT_00_PIN_3 | IO port 0 pin 3.
|
BSP_IO_PORT_00_PIN_4 | IO port 0 pin 4.
|
BSP_IO_PORT_00_PIN_5 | IO port 0 pin 5.
|
BSP_IO_PORT_00_PIN_6 | IO port 0 pin 6.
|
BSP_IO_PORT_00_PIN_7 | IO port 0 pin 7.
|
BSP_IO_PORT_01_PIN_0 | IO port 1 pin 0.
|
BSP_IO_PORT_01_PIN_1 | IO port 1 pin 1.
|
BSP_IO_PORT_01_PIN_2 | IO port 1 pin 2.
|
BSP_IO_PORT_01_PIN_3 | IO port 1 pin 3.
|
BSP_IO_PORT_01_PIN_4 | IO port 1 pin 4.
|
BSP_IO_PORT_01_PIN_5 | IO port 1 pin 5.
|
BSP_IO_PORT_01_PIN_6 | IO port 1 pin 6.
|
BSP_IO_PORT_01_PIN_7 | IO port 1 pin 7.
|
BSP_IO_PORT_02_PIN_0 | IO port 2 pin 0.
|
BSP_IO_PORT_02_PIN_1 | IO port 2 pin 1.
|
BSP_IO_PORT_02_PIN_2 | IO port 2 pin 2.
|
BSP_IO_PORT_02_PIN_3 | IO port 2 pin 3.
|
BSP_IO_PORT_02_PIN_4 | IO port 2 pin 4.
|
BSP_IO_PORT_02_PIN_5 | IO port 2 pin 5.
|
BSP_IO_PORT_02_PIN_6 | IO port 2 pin 6.
|
BSP_IO_PORT_02_PIN_7 | IO port 2 pin 7.
|
BSP_IO_PORT_03_PIN_0 | IO port 3 pin 0.
|
BSP_IO_PORT_03_PIN_1 | IO port 3 pin 1.
|
BSP_IO_PORT_03_PIN_2 | IO port 3 pin 2.
|
BSP_IO_PORT_03_PIN_3 | IO port 3 pin 3.
|
BSP_IO_PORT_03_PIN_4 | IO port 3 pin 4.
|
BSP_IO_PORT_03_PIN_5 | IO port 3 pin 5.
|
BSP_IO_PORT_03_PIN_6 | IO port 3 pin 6.
|
BSP_IO_PORT_03_PIN_7 | IO port 3 pin 7.
|
BSP_IO_PORT_04_PIN_0 | IO port 4 pin 0.
|
BSP_IO_PORT_04_PIN_1 | IO port 4 pin 1.
|
BSP_IO_PORT_04_PIN_2 | IO port 4 pin 2.
|
BSP_IO_PORT_04_PIN_3 | IO port 4 pin 3.
|
BSP_IO_PORT_04_PIN_4 | IO port 4 pin 4.
|
BSP_IO_PORT_04_PIN_5 | IO port 4 pin 5.
|
BSP_IO_PORT_04_PIN_6 | IO port 4 pin 6.
|
BSP_IO_PORT_04_PIN_7 | IO port 4 pin 7.
|
BSP_IO_PORT_05_PIN_0 | IO port 5 pin 0.
|
BSP_IO_PORT_05_PIN_1 | IO port 5 pin 1.
|
BSP_IO_PORT_05_PIN_2 | IO port 5 pin 2.
|
BSP_IO_PORT_05_PIN_3 | IO port 5 pin 3.
|
BSP_IO_PORT_05_PIN_4 | IO port 5 pin 4.
|
BSP_IO_PORT_05_PIN_5 | IO port 5 pin 5.
|
BSP_IO_PORT_05_PIN_6 | IO port 5 pin 6.
|
BSP_IO_PORT_05_PIN_7 | IO port 5 pin 7.
|
BSP_IO_PORT_06_PIN_0 | IO port 6 pin 0.
|
BSP_IO_PORT_06_PIN_1 | IO port 6 pin 1.
|
BSP_IO_PORT_06_PIN_2 | IO port 6 pin 2.
|
BSP_IO_PORT_06_PIN_3 | IO port 6 pin 3.
|
BSP_IO_PORT_06_PIN_4 | IO port 6 pin 4.
|
BSP_IO_PORT_06_PIN_5 | IO port 6 pin 5.
|
BSP_IO_PORT_06_PIN_6 | IO port 6 pin 6.
|
BSP_IO_PORT_06_PIN_7 | IO port 6 pin 7.
|
BSP_IO_PORT_07_PIN_0 | IO port 7 pin 0.
|
BSP_IO_PORT_07_PIN_1 | IO port 7 pin 1.
|
BSP_IO_PORT_07_PIN_2 | IO port 7 pin 2.
|
BSP_IO_PORT_07_PIN_3 | IO port 7 pin 3.
|
BSP_IO_PORT_07_PIN_4 | IO port 7 pin 4.
|
BSP_IO_PORT_07_PIN_5 | IO port 7 pin 5.
|
BSP_IO_PORT_07_PIN_6 | IO port 7 pin 6.
|
BSP_IO_PORT_07_PIN_7 | IO port 7 pin 7.
|
BSP_IO_PORT_08_PIN_0 | IO port 8 pin 0.
|
BSP_IO_PORT_08_PIN_1 | IO port 8 pin 1.
|
BSP_IO_PORT_08_PIN_2 | IO port 8 pin 2.
|
BSP_IO_PORT_08_PIN_3 | IO port 8 pin 3.
|
BSP_IO_PORT_08_PIN_4 | IO port 8 pin 4.
|
BSP_IO_PORT_08_PIN_5 | IO port 8 pin 5.
|
BSP_IO_PORT_08_PIN_6 | IO port 8 pin 6.
|
BSP_IO_PORT_08_PIN_7 | IO port 8 pin 7.
|
BSP_IO_PORT_09_PIN_0 | IO port 9 pin 0.
|
BSP_IO_PORT_09_PIN_1 | IO port 9 pin 1.
|
BSP_IO_PORT_09_PIN_2 | IO port 9 pin 2.
|
BSP_IO_PORT_09_PIN_3 | IO port 9 pin 3.
|
BSP_IO_PORT_09_PIN_4 | IO port 9 pin 4.
|
BSP_IO_PORT_09_PIN_5 | IO port 9 pin 5.
|
BSP_IO_PORT_09_PIN_6 | IO port 9 pin 6.
|
BSP_IO_PORT_09_PIN_7 | IO port 9 pin 7.
|
BSP_IO_PORT_10_PIN_0 | IO port 10 pin 0.
|
BSP_IO_PORT_10_PIN_1 | IO port 10 pin 1.
|
BSP_IO_PORT_10_PIN_2 | IO port 10 pin 2.
|
BSP_IO_PORT_10_PIN_3 | IO port 10 pin 3.
|
BSP_IO_PORT_10_PIN_4 | IO port 10 pin 4.
|
BSP_IO_PORT_10_PIN_5 | IO port 10 pin 5.
|
BSP_IO_PORT_10_PIN_6 | IO port 10 pin 6.
|
BSP_IO_PORT_10_PIN_7 | IO port 10 pin 7.
|
BSP_IO_PORT_11_PIN_0 | IO port 11 pin 0.
|
BSP_IO_PORT_11_PIN_1 | IO port 11 pin 1.
|
BSP_IO_PORT_11_PIN_2 | IO port 11 pin 2.
|
BSP_IO_PORT_11_PIN_3 | IO port 11 pin 3.
|
BSP_IO_PORT_11_PIN_4 | IO port 11 pin 4.
|
BSP_IO_PORT_11_PIN_5 | IO port 11 pin 5.
|
BSP_IO_PORT_11_PIN_6 | IO port 11 pin 6.
|
BSP_IO_PORT_11_PIN_7 | IO port 11 pin 7.
|
BSP_IO_PORT_12_PIN_0 | IO port 12 pin 0.
|
BSP_IO_PORT_12_PIN_1 | IO port 12 pin 1.
|
BSP_IO_PORT_12_PIN_2 | IO port 12 pin 2.
|
BSP_IO_PORT_12_PIN_3 | IO port 12 pin 3.
|
BSP_IO_PORT_12_PIN_4 | IO port 12 pin 4.
|
BSP_IO_PORT_12_PIN_5 | IO port 12 pin 5.
|
BSP_IO_PORT_12_PIN_6 | IO port 12 pin 6.
|
BSP_IO_PORT_12_PIN_7 | IO port 12 pin 7.
|
BSP_IO_PORT_13_PIN_0 | IO port 13 pin 0.
|
BSP_IO_PORT_13_PIN_1 | IO port 13 pin 1.
|
BSP_IO_PORT_13_PIN_2 | IO port 13 pin 2.
|
BSP_IO_PORT_13_PIN_3 | IO port 13 pin 3.
|
BSP_IO_PORT_13_PIN_4 | IO port 13 pin 4.
|
BSP_IO_PORT_13_PIN_5 | IO port 13 pin 5.
|
BSP_IO_PORT_13_PIN_6 | IO port 13 pin 6.
|
BSP_IO_PORT_13_PIN_7 | IO port 13 pin 7.
|
BSP_IO_PORT_14_PIN_0 | IO port 14 pin 0.
|
BSP_IO_PORT_14_PIN_1 | IO port 14 pin 1.
|
BSP_IO_PORT_14_PIN_2 | IO port 14 pin 2.
|
BSP_IO_PORT_14_PIN_3 | IO port 14 pin 3.
|
BSP_IO_PORT_14_PIN_4 | IO port 14 pin 4.
|
BSP_IO_PORT_14_PIN_5 | IO port 14 pin 5.
|
BSP_IO_PORT_14_PIN_6 | IO port 14 pin 6.
|
BSP_IO_PORT_14_PIN_7 | IO port 14 pin 7.
|
BSP_IO_PORT_15_PIN_0 | IO port 15 pin 0.
|
BSP_IO_PORT_15_PIN_1 | IO port 15 pin 1.
|
BSP_IO_PORT_15_PIN_2 | IO port 15 pin 2.
|
BSP_IO_PORT_15_PIN_3 | IO port 15 pin 3.
|
BSP_IO_PORT_15_PIN_4 | IO port 15 pin 4.
|
BSP_IO_PORT_15_PIN_5 | IO port 15 pin 5.
|
BSP_IO_PORT_15_PIN_6 | IO port 15 pin 6.
|
BSP_IO_PORT_15_PIN_7 | IO port 15 pin 7.
|
BSP_IO_PORT_16_PIN_0 | IO port 16 pin 0.
|
BSP_IO_PORT_16_PIN_1 | IO port 16 pin 1.
|
BSP_IO_PORT_16_PIN_2 | IO port 16 pin 2.
|
BSP_IO_PORT_16_PIN_3 | IO port 16 pin 3.
|
BSP_IO_PORT_16_PIN_4 | IO port 16 pin 4.
|
BSP_IO_PORT_16_PIN_5 | IO port 16 pin 5.
|
BSP_IO_PORT_16_PIN_6 | IO port 16 pin 6.
|
BSP_IO_PORT_16_PIN_7 | IO port 16 pin 7.
|
BSP_IO_PORT_17_PIN_0 | IO port 17 pin 0.
|
BSP_IO_PORT_17_PIN_1 | IO port 17 pin 1.
|
BSP_IO_PORT_17_PIN_2 | IO port 17 pin 2.
|
BSP_IO_PORT_17_PIN_3 | IO port 17 pin 3.
|
BSP_IO_PORT_17_PIN_4 | IO port 17 pin 4.
|
BSP_IO_PORT_17_PIN_5 | IO port 17 pin 5.
|
BSP_IO_PORT_17_PIN_6 | IO port 17 pin 6.
|
BSP_IO_PORT_17_PIN_7 | IO port 17 pin 7.
|
BSP_IO_PORT_18_PIN_0 | IO port 18 pin 0.
|
BSP_IO_PORT_18_PIN_1 | IO port 18 pin 1.
|
BSP_IO_PORT_18_PIN_2 | IO port 18 pin 2.
|
BSP_IO_PORT_18_PIN_3 | IO port 18 pin 3.
|
BSP_IO_PORT_18_PIN_4 | IO port 18 pin 4.
|
BSP_IO_PORT_18_PIN_5 | IO port 18 pin 5.
|
BSP_IO_PORT_18_PIN_6 | IO port 18 pin 6.
|
BSP_IO_PORT_18_PIN_7 | IO port 18 pin 7.
|
BSP_IO_PORT_19_PIN_0 | IO port 19 pin 0.
|
BSP_IO_PORT_19_PIN_1 | IO port 19 pin 1.
|
BSP_IO_PORT_19_PIN_2 | IO port 19 pin 2.
|
BSP_IO_PORT_19_PIN_3 | IO port 19 pin 3.
|
BSP_IO_PORT_19_PIN_4 | IO port 19 pin 4.
|
BSP_IO_PORT_19_PIN_5 | IO port 19 pin 5.
|
BSP_IO_PORT_19_PIN_6 | IO port 19 pin 6.
|
BSP_IO_PORT_19_PIN_7 | IO port 19 pin 7.
|
BSP_IO_PORT_20_PIN_0 | IO port 20 pin 0.
|
BSP_IO_PORT_20_PIN_1 | IO port 20 pin 1.
|
BSP_IO_PORT_20_PIN_2 | IO port 20 pin 2.
|
BSP_IO_PORT_20_PIN_3 | IO port 20 pin 3.
|
BSP_IO_PORT_20_PIN_4 | IO port 20 pin 4.
|
BSP_IO_PORT_20_PIN_5 | IO port 20 pin 5.
|
BSP_IO_PORT_20_PIN_6 | IO port 20 pin 6.
|
BSP_IO_PORT_20_PIN_7 | IO port 20 pin 7.
|
BSP_IO_PORT_21_PIN_0 | IO port 21 pin 0.
|
BSP_IO_PORT_21_PIN_1 | IO port 21 pin 1.
|
BSP_IO_PORT_21_PIN_2 | IO port 21 pin 2.
|
BSP_IO_PORT_21_PIN_3 | IO port 21 pin 3.
|
BSP_IO_PORT_21_PIN_4 | IO port 21 pin 4.
|
BSP_IO_PORT_21_PIN_5 | IO port 21 pin 5.
|
BSP_IO_PORT_21_PIN_6 | IO port 21 pin 6.
|
BSP_IO_PORT_21_PIN_7 | IO port 21 pin 7.
|
BSP_IO_PORT_22_PIN_0 | IO port 22 pin 0.
|
BSP_IO_PORT_22_PIN_1 | IO port 22 pin 1.
|
BSP_IO_PORT_22_PIN_2 | IO port 22 pin 2.
|
BSP_IO_PORT_22_PIN_3 | IO port 22 pin 3.
|
BSP_IO_PORT_22_PIN_4 | IO port 22 pin 4.
|
BSP_IO_PORT_22_PIN_5 | IO port 22 pin 5.
|
BSP_IO_PORT_22_PIN_6 | IO port 22 pin 6.
|
BSP_IO_PORT_22_PIN_7 | IO port 22 pin 7.
|
BSP_IO_PORT_23_PIN_0 | IO port 23 pin 0.
|
BSP_IO_PORT_23_PIN_1 | IO port 23 pin 1.
|
BSP_IO_PORT_23_PIN_2 | IO port 23 pin 2.
|
BSP_IO_PORT_23_PIN_3 | IO port 23 pin 3.
|
BSP_IO_PORT_23_PIN_4 | IO port 23 pin 4.
|
BSP_IO_PORT_23_PIN_5 | IO port 23 pin 5.
|
BSP_IO_PORT_23_PIN_6 | IO port 23 pin 6.
|
BSP_IO_PORT_23_PIN_7 | IO port 23 pin 7.
|
BSP_IO_PORT_24_PIN_0 | IO port 24 pin 0.
|
BSP_IO_PORT_24_PIN_1 | IO port 24 pin 1.
|
BSP_IO_PORT_24_PIN_2 | IO port 24 pin 2.
|
BSP_IO_PORT_24_PIN_3 | IO port 24 pin 3.
|
BSP_IO_PORT_24_PIN_4 | IO port 24 pin 4.
|
BSP_IO_PORT_24_PIN_5 | IO port 24 pin 5.
|
BSP_IO_PORT_24_PIN_6 | IO port 24 pin 6.
|
BSP_IO_PORT_24_PIN_7 | IO port 24 pin 7.
|
BSP_IO_PORT_25_PIN_0 | IO port 25 pin 0.
|
BSP_IO_PORT_25_PIN_1 | IO port 25 pin 1.
|
BSP_IO_PORT_25_PIN_2 | IO port 25 pin 2.
|
BSP_IO_PORT_25_PIN_3 | IO port 25 pin 3.
|
BSP_IO_PORT_25_PIN_4 | IO port 25 pin 4.
|
BSP_IO_PORT_25_PIN_5 | IO port 25 pin 5.
|
BSP_IO_PORT_25_PIN_6 | IO port 25 pin 6.
|
BSP_IO_PORT_25_PIN_7 | IO port 25 pin 7.
|
BSP_IO_PORT_26_PIN_0 | IO port 26 pin 0.
|
BSP_IO_PORT_26_PIN_1 | IO port 26 pin 1.
|
BSP_IO_PORT_26_PIN_2 | IO port 26 pin 2.
|
BSP_IO_PORT_26_PIN_3 | IO port 26 pin 3.
|
BSP_IO_PORT_26_PIN_4 | IO port 26 pin 4.
|
BSP_IO_PORT_26_PIN_5 | IO port 26 pin 5.
|
BSP_IO_PORT_26_PIN_6 | IO port 26 pin 6.
|
BSP_IO_PORT_26_PIN_7 | IO port 26 pin 7.
|
BSP_IO_PORT_27_PIN_0 | IO port 27 pin 0.
|
BSP_IO_PORT_27_PIN_1 | IO port 27 pin 1.
|
BSP_IO_PORT_27_PIN_2 | IO port 27 pin 2.
|
BSP_IO_PORT_27_PIN_3 | IO port 27 pin 3.
|
BSP_IO_PORT_27_PIN_4 | IO port 27 pin 4.
|
BSP_IO_PORT_27_PIN_5 | IO port 27 pin 5.
|
BSP_IO_PORT_27_PIN_6 | IO port 27 pin 6.
|
BSP_IO_PORT_27_PIN_7 | IO port 27 pin 7.
|
BSP_IO_PORT_28_PIN_0 | IO port 28 pin 0.
|
BSP_IO_PORT_28_PIN_1 | IO port 28 pin 1.
|
BSP_IO_PORT_28_PIN_2 | IO port 28 pin 2.
|
BSP_IO_PORT_28_PIN_3 | IO port 28 pin 3.
|
BSP_IO_PORT_28_PIN_4 | IO port 28 pin 4.
|
BSP_IO_PORT_28_PIN_5 | IO port 28 pin 5.
|
BSP_IO_PORT_28_PIN_6 | IO port 28 pin 6.
|
BSP_IO_PORT_28_PIN_7 | IO port 28 pin 7.
|
BSP_IO_PORT_29_PIN_0 | IO port 29 pin 0.
|
BSP_IO_PORT_29_PIN_1 | IO port 29 pin 1.
|
BSP_IO_PORT_29_PIN_2 | IO port 29 pin 2.
|
BSP_IO_PORT_29_PIN_3 | IO port 29 pin 3.
|
BSP_IO_PORT_29_PIN_4 | IO port 29 pin 4.
|
BSP_IO_PORT_29_PIN_5 | IO port 29 pin 5.
|
BSP_IO_PORT_29_PIN_6 | IO port 29 pin 6.
|
BSP_IO_PORT_29_PIN_7 | IO port 29 pin 7.
|
BSP_IO_PORT_30_PIN_0 | IO port 30 pin 0.
|
BSP_IO_PORT_30_PIN_1 | IO port 30 pin 1.
|
BSP_IO_PORT_30_PIN_2 | IO port 30 pin 2.
|
BSP_IO_PORT_30_PIN_3 | IO port 30 pin 3.
|
BSP_IO_PORT_30_PIN_4 | IO port 30 pin 4.
|
BSP_IO_PORT_30_PIN_5 | IO port 30 pin 5.
|
BSP_IO_PORT_30_PIN_6 | IO port 30 pin 6.
|
BSP_IO_PORT_30_PIN_7 | IO port 30 pin 7.
|
BSP_IO_PORT_31_PIN_0 | IO port 31 pin 0.
|
BSP_IO_PORT_31_PIN_1 | IO port 31 pin 1.
|
BSP_IO_PORT_31_PIN_2 | IO port 31 pin 2.
|
BSP_IO_PORT_31_PIN_3 | IO port 31 pin 3.
|
BSP_IO_PORT_31_PIN_4 | IO port 31 pin 4.
|
BSP_IO_PORT_31_PIN_5 | IO port 31 pin 5.
|
BSP_IO_PORT_31_PIN_6 | IO port 31 pin 6.
|
BSP_IO_PORT_31_PIN_7 | IO port 31 pin 7.
|
BSP_IO_PORT_32_PIN_0 | IO port 32 pin 0.
|
BSP_IO_PORT_32_PIN_1 | IO port 32 pin 1.
|
BSP_IO_PORT_32_PIN_2 | IO port 32 pin 2.
|
BSP_IO_PORT_32_PIN_3 | IO port 32 pin 3.
|
BSP_IO_PORT_32_PIN_4 | IO port 32 pin 4.
|
BSP_IO_PORT_32_PIN_5 | IO port 32 pin 5.
|
BSP_IO_PORT_32_PIN_6 | IO port 32 pin 6.
|
BSP_IO_PORT_32_PIN_7 | IO port 32 pin 7.
|
BSP_IO_PORT_33_PIN_0 | IO port 33 pin 0.
|
BSP_IO_PORT_33_PIN_1 | IO port 33 pin 1.
|
BSP_IO_PORT_33_PIN_2 | IO port 33 pin 2.
|
BSP_IO_PORT_33_PIN_3 | IO port 33 pin 3.
|
BSP_IO_PORT_33_PIN_4 | IO port 33 pin 4.
|
BSP_IO_PORT_33_PIN_5 | IO port 33 pin 5.
|
BSP_IO_PORT_33_PIN_6 | IO port 33 pin 6.
|
BSP_IO_PORT_33_PIN_7 | IO port 33 pin 7.
|
BSP_IO_PORT_34_PIN_0 | IO port 34 pin 0.
|
BSP_IO_PORT_34_PIN_1 | IO port 34 pin 1.
|
BSP_IO_PORT_34_PIN_2 | IO port 34 pin 2.
|
BSP_IO_PORT_34_PIN_3 | IO port 34 pin 3.
|
BSP_IO_PORT_34_PIN_4 | IO port 34 pin 4.
|
BSP_IO_PORT_34_PIN_5 | IO port 34 pin 5.
|
BSP_IO_PORT_34_PIN_6 | IO port 34 pin 6.
|
BSP_IO_PORT_34_PIN_7 | IO port 34 pin 7.
|
BSP_IO_PORT_35_PIN_0 | IO port 35 pin 0.
|
BSP_IO_PORT_35_PIN_1 | IO port 35 pin 1.
|
BSP_IO_PORT_35_PIN_2 | IO port 35 pin 2.
|
BSP_IO_PORT_35_PIN_3 | IO port 35 pin 3.
|
BSP_IO_PORT_35_PIN_4 | IO port 35 pin 4.
|
BSP_IO_PORT_35_PIN_5 | IO port 35 pin 5.
|
BSP_IO_PORT_35_PIN_6 | IO port 35 pin 6.
|
◆ bsp_io_region_t
Offset for pin safety region access
Enumerator |
---|
BSP_IO_REGION_NOT_SAFE | Non safety region.
|
BSP_IO_REGION_SAFE | Safety region.
|
BSP_IO_REGION_NOT_SAFE_DEDICATED | Non safety dedicated region.
|
◆ R_BSP_PinSet()
Set the output level of the pin in the specified region.
- Parameters
-
[in] | region | The target IO region |
[in] | pin | The pin |
◆ R_BSP_PinClear()
Clear the output level of the pin in the specified region.
- Parameters
-
[in] | region | The target IO region |
[in] | pin | The pin |
◆ R_BSP_PinToggle()
Toggle the output level of the pin in the specified region.
- Parameters
-
[in] | region | The target IO region |
[in] | pin | The pin |
◆ R_BSP_FastPinRead()
Read the input level of the pin in the specified region.
- Parameters
-
[in] | region | The target IO region |
[in] | pin | The pin |
- Return values
-
◆ R_BSP_PortWrite()
Set the output value of the port in the specified region. All pins in the port must be set to the same IO region to use this function.
- Parameters
-
[in] | region | The target IO region |
[in] | port | The port |
[in] | set_value | The setting value |
◆ R_BSP_PortRead()
Read the input value of the port in the specified region. All pins in the port must be set to the same IO region to use this function.
- Parameters
-
[in] | region | The target IO region |
[in] | port | The port |
- Return values
-
◆ R_BSP_PinAccessEnable()
__STATIC_INLINE void R_BSP_PinAccessEnable |
( |
void |
| ) |
|
Enable access to the PFS registers. Uses a reference counter to protect against interrupts that could occur via multiple threads or an ISR re-entering this code.
◆ R_BSP_PinAccessDisable()
__STATIC_INLINE void R_BSP_PinAccessDisable |
( |
void |
| ) |
|
Disable access to the PFS registers. Uses a reference counter to protect against interrupts that could occur via multiple threads or an ISR re-entering this code.
◆ R_BSP_IoRegionGet()
Read IO region of the pin.
- Parameters
-
- Return values
-
BSP_IO_REGION_SAFE | IO region of the pin is safety |
BSP_IO_REGION_NOT_SAFE | IO region of the pin is non-safety |
BSP_IO_REGION_NOT_SAFE_DEDICATED | IO region of the pin is non-safety (dedicated) |
This function can be given as an argument to pin/port access functions described below. When used in a function starting with R_BSP_Port, any one pin in the port should be given as an argument to this function. R_BSP_PinSet(), R_BSP_PinClear(), R_BSP_PinToggle(), R_BSP_FastPinRead(), R_BSP_PortWrite(), R_BSP_PortRead()
- Note
- This function can be used to get the region of a specified pin, but the overhead should be considered if this function is executed each time the pin is accessed. When accessing the same pin repeatedly, it is recommended that the value obtained by this function be held in a variable beforehand, and the value of the variable be used as the region argument of the pin access function.