1 Star 0 Fork 12

Legend/墨水屏时钟

forked from suntengwu/墨水屏时钟 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ra_cfg.txt 25.01 KB
一键复制 编辑 原始数据 按行查看 历史
suntengwu 提交于 2022-04-26 07:34 . 蜂鸣器驱动
FSP Configuration
Board "Custom User Board (Any Device)"
R7FA2E1A72DFL
part_number: R7FA2E1A72DFL
rom_size_bytes: 65536
ram_size_bytes: 16384
data_flash_size_bytes: 4096
package_style: LQFP
package_pins: 48
RA2E1
series: 2
RA2E1 Family
OFS0 register settings: Independent WDT: Start Mode: IWDT is Disabled
OFS0 register settings: Independent WDT: Timeout Period: 2048 cycles
OFS0 register settings: Independent WDT: Dedicated Clock Frequency Divisor: 128
OFS0 register settings: Independent WDT: Window End Position: 0% (no window end position)
OFS0 register settings: Independent WDT: Window Start Position: 100% (no window start position)
OFS0 register settings: Independent WDT: Reset Interrupt Request Select: Reset is enabled
OFS0 register settings: Independent WDT: Stop Control: Stop counting when in Sleep, Snooze mode, or Software Standby
OFS0 register settings: WDT: Start Mode Select: Stop WDT after a reset (register-start mode)
OFS0 register settings: WDT: Timeout Period: 16384 cycles
OFS0 register settings: WDT: Clock Frequency Division Ratio: 128
OFS0 register settings: WDT: Window End Position: 0% (no window end position)
OFS0 register settings: WDT: Window Start Position: 100% (no window start position)
OFS0 register settings: WDT: Reset Interrupt Request: Reset
OFS0 register settings: WDT: Stop Control: Stop counting when entering Sleep mode
OFS1 register settings: Internal Clock Supply Architecture Type: Type A
OFS1 register settings: Voltage Detection 0 Circuit Start: Voltage monitor 0 reset is disabled after reset
OFS1 register settings: Voltage Detection 0 Level: 1.90 V
OFS1 register settings: HOCO Oscillation Enable: HOCO oscillation is enabled after reset
Use Low Voltage Mode: Not Supported
MPU: Enable or disable PC Region 0: Disabled
MPU: PC0 Start: 0x000FFFFC
MPU: PC0 End: 0x000FFFFF
MPU: Enable or disable PC Region 1: Disabled
MPU: PC1 Start: 0x000FFFFC
MPU: PC1 End: 0x000FFFFF
MPU: Enable or disable Memory Region 0: Disabled
MPU: Memory Region 0 Start: 0x000FFFFC
MPU: Memory Region 0 End: 0x000FFFFF
MPU: Enable or disable Memory Region 1: Disabled
MPU: Memory Region 1 Start: 0x200FFFFC
MPU: Memory Region 1 End: 0x200FFFFF
MPU: Enable or disable Memory Region 2: Disabled
MPU: Memory Region 2 Start: 0x407FFFFC
MPU: Memory Region 2 End: 0x407FFFFF
MPU: Enable or disable Memory Region 3: Disabled
MPU: Memory Region 3 Start: 0x400DFFFC
MPU: Memory Region 3 End: 0x400DFFFF
Main Oscillator Wait Time: 262144 cycles
ID Code Mode: Unlocked (Ignore ID)
ID Code (32 Hex Characters): FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
RA Common
Main stack size (bytes): 0x400
Heap size (bytes): 0x400
MCU Vcc (mV): 3300
Parameter checking: Disabled
Assert Failures: Return FSP_ERR_ASSERTION
Error Log: No Error Log
Clock Registers not Reset Values during Startup: Disabled
Main Oscillator Populated: Populated
PFS Protect: Enabled
C Runtime Initialization : Enabled
Early BSP Initialization : Disabled
Main Oscillator Clock Source: Crystal or Resonator
Subclock Populated: Populated
Subclock Drive (Drive capacitance availability varies by MCU): Standard/Normal mode
Subclock Stabilization Time (ms): 1000
Clocks
XTAL 16000000Hz
HOCO 48MHz
Clock Src: HOCO
ICLK Div /2
PCLKB Div /4
PCLKD Div /2
CLKOUT Disabled
CLKOUT Div /1
Pin Configurations
R7FA2E1A72DFL.pincfg -> g_bsp_pin_cfg
AVCC0 42 ANALOG0_AVCC0 - - - - - - - - IO "Read only" -
AVSS0 43 ANALOG0_AVSS0 - - - - - - - - IO "Read only" -
P000 48 ADC0_AN000 - - - "Analog mode" - None "ADC0: AN000; CTSU0: TS21; ICU0: IRQ06" - IO - -
P001 47 GPIO - - None "Output mode (Initial High)" - - "ADC0: AN001; CTSU0: TS22; ICU0: IRQ07" - IO - -
P002 46 ADC0_AN002 - - - "Analog mode" - None "ADC0: AN002; CTSU0: TS23; ICU0: IRQ02" - IO - -
P010 45 GPIO - - - "Output mode (Initial Low)" - - "ADC0: AN005; ANALOG0: VREFH0; CTSU0: TS30-CFC" - IO - -
P011 44 CTSU0_TS31-CFC - - - "Peripheral mode" - None "ADC0: AN006; ANALOG0: VREFL0; CTSU0: TS31-CFC" - IO - -
P012 41 - - - - Disabled - - "ADC0: AN007; CTSU0: TS32-CFC" - None - -
P013 40 GPIO - - - "Output mode (Initial High)" - - "ADC0: AN008; CTSU0: TS33-CFC" - IO - -
P014 39 GPIO - - - "Input mode" - None "ADC0: AN009" - IO - -
P015 38 GPIO - - None "Output mode (Initial Low)" - - "ADC0: AN010; CTSU0: TS28-CFC; ICU0: IRQ07" - IO - -
P100 36 GPIO - - None "Output mode (Initial Low)" CMOS - "ACMPLP0: CMPIN0; ADC0: AN022; AGT0: AGTIO0; CTSU0: TS26-CFC; GPT_POEG0: GTETRGA; GPT8: GTIOC8B; ICU0: IRQ02; IIC0: SCL0; KINT0: KRM00; SCI0: RXD0; SCI0: SCL0; SCI1: SCK1; SPI0: MISOA" - IO - -
P101 35 SPI0_MOSIA - - None "Peripheral mode" CMOS None "ACMPLP0: CMPREF0; ADC0: AN021; AGT0: AGTEE0; CTSU0: TS16-CFC; GPT_POEG1: GTETRGB; GPT8: GTIOC8A; ICU0: IRQ01; IIC0: SDA0; KINT0: KRM01; SCI0: SDA0; SCI0: TXD0; SCI1: CTS1; SPI0: MOSIA" - IO - -
P102 34 SPI0_RSPCKA - - - "Peripheral mode" CMOS None "ACMPLP1: CMPIN1; ADC0: ADTRG0; ADC0: AN020; AGT0: AGTO0; CTSU0: TS15-CFC; GPT_OPS0: GTOWLO; GPT5: GTIOC5B; KINT0: KRM02; SCI0: SCK0; SCI2: SDA2; SCI2: TXD2; SPI0: RSPCKA" - IO - -
P103 33 - - - - Disabled - - "ACMPLP1: CMPREF1; ADC0: AN019; CTSU0: TS14-CFC; GPT_OPS0: GTOWUP; GPT5: GTIOC5A; KINT0: KRM03; SCI0: CTS0; SPI0: SSLA0" - None - -
P104 32 - - - - Disabled - - "CTSU0: TS13-CFC; GPT_POEG1: GTETRGB; GPT4: GTIOC4B; ICU0: IRQ01; KINT0: KRM04; SCI0: RXD0; SCI0: SCL0; SPI0: SSLA1" - None - -
P108 25 DEBUG0_SWDIO - - - "Peripheral mode" - None "DEBUG0: SWDIO; GPT_OPS0: GTOULO; GPT0: GTIOC0B; SCI9: CTS9" - IO - -
P109 26 SCI9_TXD9 - - - "Peripheral mode" CMOS None "CGC0: CLKOUT; CTSU0: TS10-CFC; GPT_OPS0: GTOVUP; GPT4: GTIOC4A; SCI1: SCK1; SCI9: SDA9; SCI9: TXD9" - IO - -
P110 27 SCI9_RXD9 - - None "Peripheral mode" CMOS None "ACMP(0-1): VCOUT; CTSU0: TS11-CFC; GPT_OPS0: GTOVLO; GPT4: GTIOC4B; ICU0: IRQ03; SCI2: CTS2; SCI9: RXD9; SCI9: SCL9" - IO - -
P111 28 - - - - Disabled - - "AGT0: AGTOA0; CTSU0: TS12-CFC; GPT6: GTIOC6A; ICU0: IRQ04; SCI2: SCK2; SCI9: SCK9" - None - -
P112 29 CTSU0_TSCAP - - - "Peripheral mode" CMOS None "AGT0: AGTOB0; CTSU0: TSCAP; GPT6: GTIOC6B; SCI1: SCK1; SCI2: SDA2; SCI2: TXD2" - IO - -
P200 21 - - - - Disabled - - "ICU0: NMI" - None - -
P201 20 SYSTEM0_MD - - - "Peripheral mode" - - "SYSTEM0: MD" - IO - -
P206 18 - - - - Disabled - - "GPT_OPS0: GTIU; ICU0: IRQ00; SCI0: RXD0; SCI0: SCL0" - None - -
P207 17 - - - - Disabled - - - - None - -
P208 16 - - - - Disabled - - "AGT0: AGTOB0" - None - -
P212 8 ICU0_IRQ03 - - IRQ03 "IRQ mode" - None "AGT1: AGTEE1; CGC0: EXTAL; GPT_POEG1: GTETRGB; GPT0: GTIOC0B; ICU0: IRQ03; SCI1: RXD1; SCI1: SCL1" - IO - -
P213 7 ICU0_IRQ02 - - IRQ02 "IRQ mode" - "input pull-up" "CGC0: XTAL; GPT_POEG0: GTETRGA; GPT0: GTIOC0A; ICU0: IRQ02; SCI1: SDA1; SCI1: TXD1" - IO - -
P214 5 - - - - Disabled - - "CGC0: XCOUT" - None - -
P215 4 - - - - Disabled - - "CGC0: XCIN" - None - -
P300 24 DEBUG0_SWCLK - - - "Peripheral mode" - None "DEBUG0: SWCLK; GPT_OPS0: GTOUUP; GPT0: GTIOC0A" - IO - -
P301 23 - - - - Disabled - - "AGT0: AGTIO0; CTSU0: TS09-CFC; GPT_OPS0: GTOULO; GPT7: GTIOC7B; ICU0: IRQ06; SCI2: RXD2; SCI2: SCL2; SCI9: CTS9" - None - -
P302 22 GPT7_GTIOC7A - - None "Peripheral mode" CMOS None "CTSU0: TS08-CFC; GPT_OPS0: GTOUUP; GPT7: GTIOC7A; ICU0: IRQ05; SCI2: SDA2; SCI2: TXD2" - IO - -
P400 1 ICU0_IRQ00 - - IRQ00 "IRQ mode" - "input pull-up" "AGT1: AGTIO1; CAC0: CACREF; GPT9: GTIOC9A; ICU0: IRQ00; IIC0: SCL0; SCI0: SCK0; SCI1: SCK1" - IO - -
P401 2 GPIO - - None "Input mode" - "input pull-up" "GPT_POEG0: GTETRGA; GPT9: GTIOC9B; ICU0: IRQ05; IIC0: SDA0; SCI0: CTS0; SCI1: SDA1; SCI1: TXD1" - IO - -
P407 12 IIC0_SDA0 - - - "Peripheral mode" CMOS None "ADC0: ADTRG0; AGT0: AGTIO0; IIC0: SDA0; RTC0: RTCOUT; SCI0: CTS0" - IO - -
P408 11 IIC0_SCL0 - - None "Peripheral mode" CMOS None "CTSU0: TS04; GPT_OPS0: GTOWLO; ICU0: IRQ07; IIC0: SCL0; SCI1: CTS1" - IO - -
P409 10 GPIO - - None "Output mode (Initial Low)" CMOS - "CTSU0: TS05; GPT_OPS0: GTOWUP; ICU0: IRQ06" - IO - -
P500 37 GPIO - - - "Output mode (Initial Low)" CMOS - "GPT_OPS0: GTIU; GPT5: GTIOC5A" - IO - -
P913 15 - - - - Disabled - - "AGT1: AGTIO1; GPT_POEG0: GTETRGA" - None - -
P914 14 - - - - Disabled - - "AGT1: AGTOA1; GPT_POEG1: GTETRGB" - None - -
P915 13 - - - - Disabled - - - - None - -
RES# 19 SYSTEM0_RES - - - - - - - - IO "Read only" -
VCC 9 SYSTEM0_VCC - - - - - - - - IO "Read only" -
VCC 30 SYSTEM0_VCC - - - - - - - - IO "Read only" -
VCL 3 SYSTEM0_VCL - - - - - - - - IO "Read only" -
VSS 6 SYSTEM0_VSS - - - - - - - - IO "Read only" -
VSS 31 SYSTEM0_VSS - - - - - - - - IO "Read only" -
User Events
User Event Links
Module "I/O Port (r_ioport)"
Parameter Checking: Default (BSP)
Module "External IRQ (r_icu)"
Parameter Checking: Default (BSP)
Module "UART (r_sci_uart)"
Parameter Checking: Default (BSP)
FIFO Support: Disable
DTC Support: Disable
Flow Control Support: Disable
RS-485 Support: Disable
Module "I2C Master (r_iic_master)"
Parameter Checking: Default (BSP)
DTC on Transmission and Reception: Disabled
10-bit slave addressing: Disabled
Module "SPI (r_spi)"
Parameter Checking: Default (BSP)
Enable Support for using DTC: Enabled
Enable Transmitting from RXI Interrupt: Disabled
Module "Transfer (r_dtc)"
Parameter Checking: Default (BSP)
Linker section to keep DTC vector table: .fsp_dtc_vector_table
Module "Timer, Low-Power (r_agt)"
Parameter Checking: Default (BSP)
Pin Output Support: Enabled
Pin Input Support: Disabled
Module "Flash (r_flash_lp)"
Parameter Checking: Default (BSP)
Code Flash Programming: Disabled
Data Flash Programming: Enabled
Module "Low Power Modes (r_lpm)"
Parameter Checking: Default (BSP)
Standby Limit: Disabled
Module "ADC (r_adc)"
Parameter Checking: Default (BSP)
Module "Timer, General PWM (r_gpt)"
Parameter Checking: Default (BSP)
Pin Output Support: Enabled
Write Protect Enable: Disabled
Clock Source: PCLKD
HAL
Instance "g_ioport I/O Port (r_ioport)"
Name: g_ioport
Port 1 ELC Trigger Source: Disabled
Port 2 ELC Trigger Source: Disabled
Port 3 ELC Trigger Source: Disabled
Port 4 ELC Trigger Source: Disabled
Port B ELC Trigger Source: Disabled
Port C ELC Trigger Source: Disabled
Port D ELC Trigger Source: Disabled
Port E ELC Trigger Source: Disabled
Pin Configuration Name: g_bsp_pin_cfg
Instance "g_external_irq0 External IRQ (r_icu)"
Name: g_external_irq0
Channel: 0
Trigger: Falling
Digital Filtering: Enabled
Digital Filtering Sample Clock (Only valid when Digital Filtering is Enabled): PCLK / 64
Callback: irq0_callback
Pin Interrupt Priority: Priority 2
Instance "g_external_irq2 External IRQ (r_icu)"
Name: g_external_irq2
Channel: 2
Trigger: Falling
Digital Filtering: Disabled
Digital Filtering Sample Clock (Only valid when Digital Filtering is Enabled): PCLK / 64
Callback: irq2_callback
Pin Interrupt Priority: Priority 2
Instance "g_external_irq3 External IRQ (r_icu)"
Name: g_external_irq3
Channel: 3
Trigger: Rising
Digital Filtering: Disabled
Digital Filtering Sample Clock (Only valid when Digital Filtering is Enabled): PCLK / 64
Callback: irq3_callback
Pin Interrupt Priority: Priority 2
Instance "g_uart UART (r_sci_uart)"
General: Name: g_uart
General: Channel: 9
General: Data Bits: 8bits
General: Parity: None
General: Stop Bits: 1bit
Baud: Baud Rate: 115200
Baud: Baud Rate Modulation: Disabled
Baud: Max Error (%): 5
Flow Control: CTS/RTS Selection: Hardware RTS
Flow Control: Software RTS Port: Disabled
Flow Control: Software RTS Pin: Disabled
Extra: Clock Source: Internal Clock
Extra: Start bit detection: Falling Edge
Extra: Noise Filter: Disable
Extra: Receive FIFO Trigger Level: Max
Extra: RS-485: DE Pin: Disable
Extra: RS-485: DE Pin Polarity: Active High
Extra: RS-485: DE Port Number: Disabled
Extra: RS-485: DE Pin Number: Disabled
Interrupts: Callback: user_uart_callback
Interrupts: Receive Interrupt Priority: Priority 2
Interrupts: Transmit Data Empty Interrupt Priority: Priority 2
Interrupts: Transmit End Interrupt Priority: Priority 2
Interrupts: Error Interrupt Priority: Priority 2
Instance "g_i2c_master I2C Master (r_iic_master)"
Name: g_i2c_master
Channel: 0
Rate: Standard
Rise Time (ns): 120
Fall Time (ns): 120
Duty Cycle (%): 50
Slave Address: 0x38
Address Mode: 7-Bit
Timeout Mode: Short Mode
Timeout during SCL Low: Enabled
Callback: i2c_master_callback
Interrupt Priority Level: Priority 2
Instance "g_spi0 SPI (r_spi)"
Name: g_spi0
Channel: 0
Receive Interrupt Priority: Priority 2
Transmit Buffer Empty Interrupt Priority: Priority 2
Transfer Complete Interrupt Priority: Priority 2
Error Interrupt Priority: Priority 2
Operating Mode: Master
Clock Phase: Data sampling on odd edge, data variation on even edge
Clock Polarity: Low when idle
Mode Fault Error: Disable
Bit Order: MSB First
Callback: spi_callback
SPI Mode: SPI Operation
Full or Transmit Only Mode: Transmit Only
Slave Select Polarity: Active Low
Select SSL(Slave Select): SSL0
MOSI Idle State: MOSI Idle Value Fixing Disable
Parity Mode: Disabled
Byte Swapping: Disable
Bitrate: 10000000
Clock Delay: 1 Clock
SSL Negation Delay: 1 Clock
Next Access Delay: 1 Clock
Instance "g_transfer0 Transfer (r_dtc) SPI0 TXI (Transmit buffer empty)"
Name: g_transfer0
Mode: Normal
Transfer Size: 2 Bytes
Destination Address Mode: Fixed
Source Address Mode: Incremented
Repeat Area (Unused in Normal Mode): Source
Destination Pointer: NULL
Source Pointer: NULL
Interrupt Frequency: After all transfers have completed
Number of Transfers: 0
Number of Blocks (Valid only in Block Mode): 0
Activation Source: SPI0 TXI (Transmit buffer empty)
Instance "g_transfer1 Transfer (r_dtc) SPI0 RXI (Receive buffer full)"
Name: g_transfer1
Mode: Normal
Transfer Size: 2 Bytes
Destination Address Mode: Incremented
Source Address Mode: Fixed
Repeat Area (Unused in Normal Mode): Destination
Destination Pointer: NULL
Source Pointer: NULL
Interrupt Frequency: After all transfers have completed
Number of Transfers: 0
Number of Blocks (Valid only in Block Mode): 0
Activation Source: SPI0 RXI (Receive buffer full)
Instance "g_timer_100ms Timer, Low-Power (r_agt)"
General: Name: g_timer_100ms
General: Channel: 1
General: Mode: Periodic
General: Period: 1
General: Period Unit: Seconds
Output: Duty Cycle Percent (only applicable in PWM mode): 50
General: Count Source: LOCO
Output: AGTOA Output: Disabled
Output: AGTOB Output: Disabled
Output: AGTO Output: Start Level High
Input: Measurement Mode: Measure Disabled
Input: Input Filter: No Filter
Input: Enable Pin: Enable Pin Not Used
Input: Trigger Edge: Trigger Edge Rising
Interrupts: Callback: time_callback
Interrupts: Underflow Interrupt Priority: Priority 3
Instance "g_flash0 Flash (r_flash_lp)"
Name: g_flash0
Data Flash Background Operation: Enabled
Callback: flash_callback
Flash Ready Interrupt Priority: Priority 2
Instance "sleep Low Power Modes (r_lpm)"
General: Name: sleep
General: Low Power Mode: Sleep mode
General: Output port state in standby and deep standby: Not Available
Standby Options: Wake Sources:
Standby Options: Snooze Request Source: RXD0 falling edge
Standby Options: Snooze End Sources:
Standby Options: DTC state in Snooze Mode: Disabled
Standby Options: Snooze Cancel Source: None
Deep Standby Options: I/O Port Retention: Not Available
Deep Standby Options: Power-Supply Control: Not Available
Deep Standby Options: Cancel Sources:
Deep Standby Options: Cancel Edges:
Instance "standy Low Power Modes (r_lpm)"
General: Name: standy
General: Low Power Mode: Software Standby mode
General: Output port state in standby and deep standby: Not Available
Standby Options: Wake Sources: IRQ0, IRQ2, IRQ3, AGT1 Underflow
Standby Options: Snooze Request Source: RXD0 falling edge
Standby Options: Snooze End Sources:
Standby Options: DTC state in Snooze Mode: Disabled
Standby Options: Snooze Cancel Source: None
Deep Standby Options: I/O Port Retention: Not Available
Deep Standby Options: Power-Supply Control: Not Available
Deep Standby Options: Cancel Sources:
Deep Standby Options: Cancel Edges:
Instance "snooze Low Power Modes (r_lpm)"
General: Name: snooze
General: Low Power Mode: Snooze mode
General: Output port state in standby and deep standby: Not Available
Standby Options: Wake Sources:
Standby Options: Snooze Request Source: AGT1 Underflow
Standby Options: Snooze End Sources: AGT1 Underflow
Standby Options: DTC state in Snooze Mode: Disabled
Standby Options: Snooze Cancel Source: None
Deep Standby Options: I/O Port Retention: Not Available
Deep Standby Options: Power-Supply Control: Not Available
Deep Standby Options: Cancel Sources:
Deep Standby Options: Cancel Edges:
Instance "g_adc2 ADC (r_adc)"
General: Name: g_adc2
General: Unit: 0
General: Resolution: 12-Bit
General: Alignment: Right
General: Clear after read: On
General: Mode: Single Scan
General: Double-trigger: Disabled
Input: Channel Scan Mask (channel availability varies by MCU): Channel 2
Input: Group B Scan Mask (channel availability varies by MCU):
Interrupts: Normal/Group A Trigger: Software
Interrupts: Group B Trigger: Disabled
Interrupts: Group Priority (Valid only in Group Scan Mode): Group A cannot interrupt Group B
Input: Add/Average Count: Disabled
Input: Reference Voltage control: AVCC0/AVSS0
Input: Addition/Averaging Mask (channel availability varies by MCU and unit):
Input: Sample and Hold: Sample and Hold Channels (Available only on selected MCUs):
Input: Sample and Hold: Sample Hold States (Applies only to channels 0, 1, 2): 24
Input: Window Compare: Window Mode: Disabled
Input: Window Compare: Event Output: OR
Input: Window Compare: Window A: Enable: Disabled
Input: Window Compare: Window A: Channels to compare (channel availability varies by MCU and unit):
Input: Window Compare: Window A: Channel comparison mode (channel availability varies by MCU and unit):
Input: Window Compare: Window A: Lower Reference: 0
Input: Window Compare: Window A: Upper Reference: 0
Input: Window Compare: Window B: Enable: Disabled
Input: Window Compare: Window B: Channel to compare (channel availability varies by MCU and unit): Channel 0
Input: Window Compare: Window B: Comparison mode: Less Than or Outside Window
Input: Window Compare: Window B: Lower Reference: 0
Input: Window Compare: Window B: Upper Reference: 0
Interrupts: Callback: adc2_callback
Interrupts: Scan End Interrupt Priority: Priority 2
Interrupts: Scan End Group B Interrupt Priority: Disabled
Interrupts: Window Compare A Interrupt Priority: Disabled
Interrupts: Window Compare B Interrupt Priority: Disabled
Extra: ADC Ring Buffer: Not Supported
Instance "g_adc0 ADC (r_adc)"
General: Name: g_adc0
General: Unit: 0
General: Resolution: 12-Bit
General: Alignment: Right
General: Clear after read: On
General: Mode: Single Scan
General: Double-trigger: Disabled
Input: Channel Scan Mask (channel availability varies by MCU): Channel 0
Input: Group B Scan Mask (channel availability varies by MCU):
Interrupts: Normal/Group A Trigger: Software
Interrupts: Group B Trigger: Disabled
Interrupts: Group Priority (Valid only in Group Scan Mode): Group A cannot interrupt Group B
Input: Add/Average Count: Disabled
Input: Reference Voltage control: AVCC0/AVSS0
Input: Addition/Averaging Mask (channel availability varies by MCU and unit):
Input: Sample and Hold: Sample and Hold Channels (Available only on selected MCUs):
Input: Sample and Hold: Sample Hold States (Applies only to channels 0, 1, 2): 24
Input: Window Compare: Window Mode: Disabled
Input: Window Compare: Event Output: OR
Input: Window Compare: Window A: Enable: Disabled
Input: Window Compare: Window A: Channels to compare (channel availability varies by MCU and unit):
Input: Window Compare: Window A: Channel comparison mode (channel availability varies by MCU and unit):
Input: Window Compare: Window A: Lower Reference: 0
Input: Window Compare: Window A: Upper Reference: 0
Input: Window Compare: Window B: Enable: Disabled
Input: Window Compare: Window B: Channel to compare (channel availability varies by MCU and unit): Channel 0
Input: Window Compare: Window B: Comparison mode: Less Than or Outside Window
Input: Window Compare: Window B: Lower Reference: 0
Input: Window Compare: Window B: Upper Reference: 0
Interrupts: Callback: adc2_callback
Interrupts: Scan End Interrupt Priority: Priority 2
Interrupts: Scan End Group B Interrupt Priority: Disabled
Interrupts: Window Compare A Interrupt Priority: Disabled
Interrupts: Window Compare B Interrupt Priority: Disabled
Extra: ADC Ring Buffer: Not Supported
Instance "g_timer0 Timer, General PWM (r_gpt)"
General: Name: g_timer0
General: Channel: 7
General: Mode: PWM
General: Period: 1
General: Period Unit: Kilohertz
Output: Custom Waveform: GTIOA: Initial Output Level: Pin Level Low
Output: Custom Waveform: GTIOA: Cycle End Output Level: Pin Level Retain
Output: Custom Waveform: GTIOA: Compare Match Output Level: Pin Level Retain
Output: Custom Waveform: GTIOA: Retain Output Level at Count Stop: Disabled
Output: Custom Waveform: GTIOB: Initial Output Level: Pin Level Low
Output: Custom Waveform: GTIOB: Cycle End Output Level: Pin Level Retain
Output: Custom Waveform: GTIOB: Compare Match Output Level: Pin Level Retain
Output: Custom Waveform: GTIOB: Retain Output Level at Count Stop: Disabled
Output: Custom Waveform: Custom Waveform Enable: Disabled
Output: Duty Cycle Percent (only applicable in PWM mode): 50
Output: GTIOCA Output Enabled: True
Output: GTIOCA Stop Level: Pin Level High
Output: GTIOCB Output Enabled: False
Output: GTIOCB Stop Level: Pin Level Low
Input: Count Up Source:
Input: Count Down Source:
Input: Start Source:
Input: Stop Source:
Input: Clear Source:
Input: Capture A Source:
Input: Capture B Source:
Input: Noise Filter A Sampling Clock Select: No Filter
Input: Noise Filter B Sampling Clock Select: No Filter
Interrupts: Callback: NULL
Interrupts: Overflow/Crest Interrupt Priority: Disabled
Interrupts: Capture A Interrupt Priority: Disabled
Interrupts: Capture B Interrupt Priority: Disabled
Interrupts: Underflow/Trough Interrupt Priority: Disabled
Extra Features: Extra Features: Disabled
Extra Features: Output Disable: POEG Link: POEG Channel 0
Extra Features: Output Disable: Output Disable POEG Trigger:
Extra Features: ADC Trigger: Start Event Trigger (GPTE/GPTEH only):
Extra Features: Dead Time: Dead Time Count Up (Raw Counts): 0
Extra Features: Dead Time: Dead Time Count Down (Raw Counts) (GPTE/GPTEH only): 0
Extra Features: ADC Trigger (GPTE/GPTEH only): ADC A Compare Match (Raw Counts): 0
Extra Features: ADC Trigger (GPTE/GPTEH only): ADC B Compare Match (Raw Counts): 0
Extra Features: Interrupt Skipping (GPTE/GPTEH only): Interrupt to Count: None
Extra Features: Interrupt Skipping (GPTE/GPTEH only): Interrupt Skip Count: 0
Extra Features: Interrupt Skipping (GPTE/GPTEH only): Skip ADC Events: None
Extra Features: Output Disable: GTIOCA Disable Setting: Disable Prohibited
Extra Features: Output Disable: GTIOCB Disable Setting: Disable Prohibited
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/liux-pro/ink-screen-clock.git
git@gitee.com:liux-pro/ink-screen-clock.git
liux-pro
ink-screen-clock
墨水屏时钟
master

搜索帮助